locked
Concatenate resource inline with HTML markup RRS feed

  • Question

  • User-1112204889 posted

    below is a sample ow what i'm tring to do

    <asp:ListItem Text='<img src="app_images/enable.png" /> <%$ Resources:myProj, enable_text %>' Value="True" />


    what it should output is my enable image with the text on the right saying 'enable'

    if i only have Text='<img src="app_images/enable.png" />' i have the image, just a question of how to add the resource entry at the end of it...

    any ideas?

    Monday, July 12, 2010 1:05 PM

Answers

  • User599164775 posted

    I suggest to do this into code behind

    Imran

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 13, 2010 12:10 AM

All replies

  • User599164775 posted

    I suggest to do this into code behind

    Imran

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 13, 2010 12:10 AM
  • User-1112204889 posted

    i tried to do it in code behind, but the image is coming back as just text...

    eg.. <img src="......> instead of an image i want 

    Tuesday, July 13, 2010 12:19 AM