Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Professional
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 13th, 2003, 09:25 PM
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Default Buttons - in ASP.NET webforms

I have webform which has a few text boxes and two asp buttons.
When the user hits enter key, the first button's click event is fired. I would like to fire the click event of the second button.
Both of them are asp buttons and not html buttons.

Please help.

Thanks in Advance.

Regards,
Ramesh

Reply With Quote
  #2 (permalink)  
Old December 17th, 2003, 12:05 AM
Registered User
 
Join Date: Dec 2003
Location: Folsom, CA, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Assuming you have a button or imagebutton control called btnNext, place the following code in the Page_Load event.

Page.RegisterHiddenField("__EVENTTARGET", "btnNext");
Reply With Quote
  #3 (permalink)  
Old August 2nd, 2004, 03:32 AM
Registered User
 
Join Date: Aug 2004
Location: Bucharest, , Romania.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to s_ant
Default

Did this realy work for you? Because I tried and never worked.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET and C# Webforms rtomanio ASP.NET 2.0 Basics 2 September 2nd, 2008 08:58 PM
VS.NET 2003 Webforms jerrylan BOOK: Professional Crystal Reports for VS.NET 3 April 30th, 2005 07:02 PM
multiple Image submit buttons set default to last sam HTML Code Clinic 2 June 30th, 2004 02:33 PM



All times are GMT -4. The time now is 11:01 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.