web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)
New Discussion

add image to EP user Control

(1) ShareShare
ReportReport
Posted on by

Hi,

i added an image to my EP user control .but it doesn't appear  .

    public string Bind_Image(object Status)
{
    string status = Status.ToString();

    if (status == "0")
    {
        return "~/_layouts/ep/images/accept.png";
    }
    else
    {
        if (status == "1")
            return "~/_layouts/ep/images/increase.png";
        else return "~/_layouts/ep/images/minus.png";
    }
  
}

when i modify the path to native image like info.png .It appears without pb .should i publish it (so how) or what should i do exactly.thanks for your reply

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: add image to EP user Control

    melinser,

    What Microsoft Dynamics product are you using? This information will allow me to move this question to the product specific forum. This will help Community members better answer your questions. Thanks

    Justin Salter

    Community Manager

  • Community Member Profile Picture
    on at
    RE: add image to EP user Control

    i'm using ax2012  R3      

  • Community Member Profile Picture
    on at
    RE: add image to EP user Control

    thanks a lot

  • Community Member Profile Picture
    on at
    RE: add image to EP user Control

    the solution is to add your custom images as a resources in dynamics ax 2012 and go to System Administration/Page de secteur/Paramétrage and select publish images under Eterprise Portal

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#2
Michele Gozzi Profile Picture

Michele Gozzi 2

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans