L
Luigi
I'm experiencing this problem in asp.net 2.0:
Using in a web form a literal control:
<asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Localization,
RES_Literal1 %>"></asp:Literal>
when rendered the page always shows the default language text, ignoring the
current language, so i need to manually load the resource with this code in
the page_load event:
this.Literal1.Text = Resources.Localization. RES_Literal1;
in this way it works, but it is really annoying...
Using the same control in a web user control, included in the same page, all
things works fine!
Please help,
Luigi
Using in a web form a literal control:
<asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Localization,
RES_Literal1 %>"></asp:Literal>
when rendered the page always shows the default language text, ignoring the
current language, so i need to manually load the resource with this code in
the page_load event:
this.Literal1.Text = Resources.Localization. RES_Literal1;
in this way it works, but it is really annoying...
Using the same control in a web user control, included in the same page, all
things works fine!
Please help,
Luigi