Divelements Community
Customer discussion of all Divelements products

Cancel the movenext & Styling

Latest post 06-18-2007 22:42 by Tim Dawson. 3 replies.
  • 06-13-2007 15:59

    • rnby
    • Not Ranked
    • Joined on 06-13-2007
    • Posts 2

    Cancel the movenext & Styling

    Hi, I have a server client program, where in the client I'm the wizard to get user information.
    I let the user enter in page1 the userID, when they click next I check if their userID is correct, if it's not correct I don't want the page to move to the next page.
    how would I do that.

      private void WP_GetUserID_BeforeMoveNext(object sender, EventArgs e)
            {
                progressBarPickCardHolder.Visible = true;

               //code to check if user is valid

    if (UserID != true)
    //cancel move next
               
            }


    Another question is:
    I use infragistics for my applications, now I would want to style the wizard in the same way as the infragistics.
    Is there a way to do it?

    RNBY

  • 06-13-2007 18:07 In reply to

    Re: Cancel the movenext & Styling

    The signature for your method is incorrect, the BeforeMoveNext event handled is passed an instance of CancelEventArgs so your method has an opportunity to set e.Cancel to false.

    I've no idea about Infragistics, our wizard product supports either Wizard 97 or Wizard Aero (from Vista) look and feel.
  • 06-15-2007 8:17 In reply to

    • rnby
    • Not Ranked
    • Joined on 06-13-2007
    • Posts 2

    Re: Cancel the movenext & Styling

    Thanks the cancelEventsArgs worked.

    I tried the Wizard Aero, but it does not have the real same style, only one of the buttons gets a glassy style.

    I tried to find th documentation for the wizard but could not find it  

    RNBY  
  • 06-18-2007 22:42 In reply to

    Re: Cancel the movenext & Styling

    Can you elaborate on "does not have the real same style"?

    The online documentation for Wizard Framework is not complete, but the class reference is available through your start menu.
Page 1 of 1 (4 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems