Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Default button


Message #1 by "John Ritchie" <jcriv@a...> on Tue, 16 Jul 2002 22:09:34
Hi,

I have a webform with two buttons  "Save" and "Cancel".  The Cancel 
button always seems to be 'selected' (so an 'Enter' key will cause a 
cancel). I want the Save button to be the default.  I know how to do this 
for a regular Window form but can't seem to find a page or control 
property to set to do this in a web form.  I'm using VS .NET exclusivly (I
hope).  I found that if, after designing the form using VS, I switch to the
HTML view and rearange the order in the HTML I can do this but that seems
like a kluge to me.  I am hoping there is some property I can set in VS to
do this.

Thanks,
John


  Return to Index