Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > How do I set the default command button?

Reply
Thread Tools

How do I set the default command button?

 
 
John Svercek
Guest
Posts: n/a
 
      06-05-2005
On an aspx page, I notice when the page opens there is no default command
button (press enter & nothing happens). However, once I set the focus on a
text field one of the command buttons becomes the default (press enter & the
command button is executed). How do I define which button should be the
default and can I change it depending on the text box I am in?

I am using VB .Net for development of a web service that presents the pages.
--
John Svercek
 
Reply With Quote
 
 
 
 
Jeff Cochran
Guest
Posts: n/a
 
      06-05-2005
On Sun, 5 Jun 2005 13:09:02 -0700, John Svercek
<> wrote:

>On an aspx page...


This group is for classic ASP, you want to try your post in an ASP.NET
group. Those with "dotnet" in the name.

Jeff
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Set default framework version for a web site via the command line RedEye ASP .Net 2 09-07-2005 12:17 AM
Default Mozilla isn't default! Help! M. FERRANTE Firefox 1 07-27-2005 09:07 AM
Error in asp text: Command text not set for the command Jack ASP General 2 03-07-2005 11:27 PM
Set cursor in first text box and set button as default SibAndela ASP General 1 09-26-2004 06:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57