Divelements Community
Customer discussion of all Divelements products

Wizard page always changes when enter key is pressed

Latest post 01-05-2008 9:49 by Tim Dawson. 1 replies.
  • 09-21-2007 10:39

    Wizard page always changes when enter key is pressed

    I'd like to be able to have controls on a wizard page validate on an enter key press (for eample, when entering text into a text box), but the page itself always catches the enter key and goes to the next page. Is there any way to prevent this?
  • 01-05-2008 9:49 In reply to

    Re: Wizard page always changes when enter key is pressed

    The correct way to validate a page is to handle its BeforeMoveNext event. This fires whether the user clicks next, presses enter or does anything else that results in the wizard moving on. You can cancel the move from within the handler for this event.
Page 1 of 1 (2 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems