locked
is it possible to embedd images in resource files RRS feed

  • Question

  • User-656627144 posted

    hi

      is it possible to embedd images in resource files (local and global resources) along with strings

     thanx in advance

    Saturday, July 28, 2007 5:11 AM

Answers

  • User487807879 posted

    First click on the arrow next to the "Strings" Button and choose "Images" and after that click on the arrow next to the "Add Resource" button and choose "Add Existing File..."

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, July 29, 2007 9:19 AM

All replies

  • User487807879 posted

    You could put your image url in resource file like this:

    Default.aspx:

    <asp:Image ID="Image1" runat="server" meta:resourcekey="Image1Resource1" />
    App_LocalResources/Default.aspx.resx:
    Image1Resource1.AlternateText  
    Image1Resource1.ImageUrl           ~/images/image1.jpg 
    Image1Resource1.ToolTip 
    App_LocalResources/Default.aspx.es.resx:
    Image1Resource1.AlternateText  
    Image1Resource1.ImageUrl           ~/images/image2.jpg 
    Image1Resource1.ToolTip 

    Saturday, July 28, 2007 8:02 AM
  • User-656627144 posted

    hi kipo thanx 4 the reply

    but i just wanna know how to embed images in the table that comes when we double click on the resource file???

    We can insert strings but there is i can't find any way to insert images....

     

    Sunday, July 29, 2007 1:29 AM
  • User487807879 posted

    First click on the arrow next to the "Strings" Button and choose "Images" and after that click on the arrow next to the "Add Resource" button and choose "Add Existing File..."

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, July 29, 2007 9:19 AM