Wizard Control in Nested Master Pages - not working properly

Discussion in 'ASP .Net' started by Ram, Jul 11, 2006.

  1. Ram

    Ram Guest

    Hi All,


    I am using a wizard control in a nested master page. I have added
    3 steps in the wizard. I have placed only a single label control in
    each of the wizard steps.

    While running the application, I am able to navigate to the next
    step ( step 1 to step 2) by clicking the next button. But I couldn't
    proceed further in step 2. ie On clicking the next button in step 2 ,
    step 2 is again loaded and step 3 is not loaded.

    One more problem is on clicking the previous button in step 2, I am
    getting the following error : "The command 'MovePrevious' is not valid
    for the previous step, make sure the step type is not changed between
    postbacks".

    I need u'r help in solving this problem.

    Thanks in Advance.

    Regards,
    Ram.
     
    Ram, Jul 11, 2006
    #1
    1. Advertisements

  2. Ram

    sriram

    Joined:
    Jul 27, 2007
    Messages:
    1
    Likes Received:
    0
    ASP.NET Wizard Control

    Hey Ram

    I had “ActiveStepIndex” property set to “0” in the page load event, which caused me the same error when I navigate.

    Wrapping them in “IsPostBack” condition solved my issue.

    if (! Page.IsPostBack)
    Wizard1.ActiveStepIndex = 0;

    Hope this gives some clue
     
    sriram, Jul 27, 2007
    #2
    1. Advertisements

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. Replies:
    0
    Views:
    848
  2. =?Utf-8?B?T2xkbWFu?=

    Master Pages and Themes not working

    =?Utf-8?B?T2xkbWFu?=, Nov 18, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    7,964
    dummies2
    Sep 4, 2007
  3. Replies:
    0
    Views:
    6,214
  4. Doug McCann
    Replies:
    1
    Views:
    1,362
    William Brogden
    Aug 5, 2004
  5. Replies:
    1
    Views:
    3,481
    PeterKellner
    May 16, 2006
  6. =?Utf-8?B?TWFydHk=?=

    Wizard Control and Master Pages

    =?Utf-8?B?TWFydHk=?=, Sep 5, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    1,654
    =?Utf-8?B?TWFydHk=?=
    Sep 5, 2006
  7. katmagic
    Replies:
    0
    Views:
    1,471
    katmagic
    Dec 26, 2008
  8. Replies:
    1
    Views:
    569
    Teemu Keiski
    Jul 2, 2003
Loading...