Last post Apr 02, 2012 11:30 AM by deusbelli
Mar 31, 2012 04:57 AM|deusbelli|LINK
I'm building a site that has some nested user controls. For example, I have a user control that contains a DetailsView called OfferDetails.ascx wihich is embeded in another control called MyOffers.ascx. They are also in different directories.
Here is the directory structure:
I am localizing by hand because VWD doesn't have Generate Local Resource.
When I localize MyOffers.ascx it works just fine. But when I try to localize Offers.ascx I get "RESX:lblTitle.Text"
where the text should be. I tried moving the resource file to the root which did the same thing. I have tried a number of things but nothing seems to work. Why does it display that "RESX:..."
message? Does it mean it can find the file?
Apr 02, 2012 04:14 AM|Allen Li - MSFT|LINK
Hi, please add:
to the controls in “Offers.ascx”, for more detail information, you can refer to the following site:
Apr 02, 2012 11:30 AM|deusbelli|LINK
I found the answer(s) at: http://www.dotnetnuke.com/Resources/Forums/forumid/77/postid/206554/scope/posts.aspx#206554