User Control Localization Design Time Issue
am 03.01.2008 22:32:01 von BrettI have a basic user control that I want to localize. I created a global
resource and connected up the properties I want to localize using an explicit
localization expression. Everything works great, I can even see the
localized text in design time when I am viewing the control. When I look at
the page the control sits on at design time however I can't see the localized
text. It's like the control's localization expression isn't being evaluated
when viewing the page at design time.
Am I doing something wrong? How can I get the text to display when viewing
the page in design time like I do when viewing the control at design time? Is
VS really that stupid?
I'm using VS 2003 and .Net 2.0 by the way.
Thanks in advance.
P.S. Please don't suggest exposing the text as a property of the user
control and putting the evaluation expression in the page. This is control
specific text and shouldn't need to be set on each page where the control is
used.