Question regarding CreateUserWizard

Discussion in 'ASP .Net Web Controls' started by Robert Dufour, May 15, 2007.

  1. 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>
    Robert Dufour, May 15, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UGhpbA==?=

    createuserwizard question box as dropdownlist

    =?Utf-8?B?UGhpbA==?=, Nov 8, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    604
    =?Utf-8?B?UGhpbA==?=
    Nov 8, 2005
  2. VB Programmer
    Replies:
    3
    Views:
    4,299
  3. Replies:
    0
    Views:
    413
  4. =?Utf-8?B?S2Vubnk=?=

    CreateUserWizard Question

    =?Utf-8?B?S2Vubnk=?=, Aug 4, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    396
    =?Utf-8?B?S2Vubnk=?=
    Aug 4, 2006
  5. Jeff
    Replies:
    0
    Views:
    261
Loading...

Share This Page