Image Resources

Last post 02-05-2007 9:21 AM by Tom Ankers. 2 replies.

Sort Posts:

  • Image Resources

    01-15-2007, 8:00 AM
    • Member
      708 point Member
    • Tom Ankers
    • Member since 12-11-2006, 6:38 AM
    • Chester, England
    • Posts 184

    Hi,

    Please can someone explain the correct method for assigning billingual images to resource files and allocating them to an image control within an aspx page. I have found a few articles which seem to over-complicate the issue by writing a load of code. Do I need to do this or can I assign to image controls as I do with labels etc by using the resourceKey meta tag?

     Also, I assign values to my labels as above with something like: imageOne.text = "test" in the resource file entry. Can I change all properies of a specified control in the same way?

     Thanks in advance.


    Tom

  • Re: Image Resources

    01-23-2007, 5:23 AM

    Hi,

    Here is an example displaying different country flag according to current culture.

    http://samples.gotdotnet.com/quickstart/aspplus/doc/localizingapps.aspx

    hope this helps

     

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • Re: Image Resources

    02-05-2007, 9:21 AM
    Answer
    • Member
      708 point Member
    • Tom Ankers
    • Member since 12-11-2006, 6:38 AM
    • Chester, England
    • Posts 184
    For information: this was resolved by using globalresource files and expressions within my pages to tie in to resource files. My site was then localised in the normal way.
Page 1 of 1 (3 items)