How to check if keypress in the form

Hi, In my application if i pressed some values to the textbox or combobox controls, without pressing Save or Modify user should not change to other form. i wan''t user to restrict to Save or Modify the data user enter in the form. Plz tell the coding for this. regards, Senthil V.

2 Replies

AD Administrator Syncfusion Team December 20, 2005 08:22 AM UTC

Hi U need to catch the validating event of the ctrl and set e.cancel=true if u dont want user to go other controls >Hi, > >In my application if i pressed some values to the textbox or combobox controls, without pressing Save or Modify user should not change to other form. i wan''t user to restrict to Save or Modify the data user enter in the form. >Plz tell the coding for this. > >regards, >Senthil V.


AD Administrator Syncfusion Team December 20, 2005 08:22 AM UTC

Hi U need to catch the validating event of the ctrl and set e.cancel=true if u dont want user to go other controls >Hi, > >In my application if i pressed some values to the textbox or combobox controls, without pressing Save or Modify user should not change to other form. i wan''t user to restrict to Save or Modify the data user enter in the form. >Plz tell the coding for this. > >regards, >Senthil V.

Loader.
Up arrow icon