G
Guest
I am using the ContentTemplate to extend the CreateUserWizard's
CreateUserWizardStep with additional controls. For the CreateUserWizardStep
labels, I would like to keep the automatic localization.
With Lutz Roeder's .Net Reflector, I found out that System.Web contains the
text resource System.Web.Resources and I found e.g. the name/value-pair
CreateUserWizard_DefaultUserNameLabelText=User Name:
My question here is: how can I bind this resource entry to the label?
I tried adding
Text="<%$ Resources:System.Web.resources,
CreateUserWizard_DefaultUserNameLabelText %>
to the asp:Label but I get the error message:
Parser error. The resource object with key
'CreateUserWizard_DefaultUserNameLabelText' was not found.
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName"
Text="<%$ Resources:System.Web.resources,
CreateUserWizard_DefaultUserNameLabelText %>" /></td>
Any help would be greatly appreciated.
Dieter
CreateUserWizardStep with additional controls. For the CreateUserWizardStep
labels, I would like to keep the automatic localization.
With Lutz Roeder's .Net Reflector, I found out that System.Web contains the
text resource System.Web.Resources and I found e.g. the name/value-pair
CreateUserWizard_DefaultUserNameLabelText=User Name:
My question here is: how can I bind this resource entry to the label?
I tried adding
Text="<%$ Resources:System.Web.resources,
CreateUserWizard_DefaultUserNameLabelText %>
to the asp:Label but I get the error message:
Parser error. The resource object with key
'CreateUserWizard_DefaultUserNameLabelText' was not found.
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName"
Text="<%$ Resources:System.Web.resources,
CreateUserWizard_DefaultUserNameLabelText %>" /></td>
Any help would be greatly appreciated.
Dieter