Question regarding CreateUserWizard

R

Robert Dufour

By dragging a create Userwizard onto a form I get the following code and it
works fine. However If I just add a property
AnswerLabelText="<%$ Resources:Login, AnswerLabelText %>" after the
Font-Size="0.8em" and before the closing > I then can no longer view the
control in design view I get an error Creating Control, CreateUserWizard1,
object reference not set to an instance of an object. The login.resx file is
part of the app_GlobalResources folder and when executing the page it runs
OK. Its just the IDE that does not show it correctly so I would then have to
write code to modify it instead of relying on the use of the expressions and
of course I can't use the properties window to set other properties of the
wizard. Why is this happening and how can I prevent this?

I have a couple of other pages that exhibit the same behaviour.

Any help in resolving this would be appreciated.

This is the kind of BS that makes me hate developping web pages.

Bob

This is the code I get by draging the wizard to the page

<asp:CreateUserWizard ID="CreateUserWizard1" runat="server"
BackColor="#FFFBD6" BorderColor="#FFDFAD"

BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana"
Font-Size="0.8em">

<WizardSteps>

<asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">

</asp:CreateUserWizardStep>

<asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">

</asp:CompleteWizardStep>

</WizardSteps>

<SideBarStyle BackColor="#990000" Font-Size="0.9em" VerticalAlign="Top" />

<TitleTextStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />

<SideBarButtonStyle ForeColor="White" />

<NavigationButtonStyle BackColor="White" BorderColor="#CC9966"
BorderStyle="Solid"

BorderWidth="1px" Font-Names="Verdana" ForeColor="#990000" />

<HeaderStyle BackColor="#FFCC66" BorderColor="#FFFBD6" BorderStyle="Solid"
BorderWidth="2px"

Font-Bold="True" Font-Size="0.9em" ForeColor="#333333"
HorizontalAlign="Center" />

<CreateUserButtonStyle BackColor="White" BorderColor="#CC9966"
BorderStyle="Solid"

BorderWidth="1px" Font-Names="Verdana" ForeColor="#990000" />

<ContinueButtonStyle BackColor="White" BorderColor="#CC9966"
BorderStyle="Solid"

BorderWidth="1px" Font-Names="Verdana" ForeColor="#990000" />

</asp:CreateUserWizard>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top