Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 19th, 2004, 01:28 PM
Authorized User
 
Join Date: Feb 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default Default (Submit) Web Form button

Hi,

how do i make a button in web form, the default(or submit) button of the form - corresponding to AcceptButton in Windows Forms.

I want the Buton1_Click event to occure when the user presses enter, after typing in a text in a TextBox. Something like when you type in a text in the Yahoo "Search the web:" box and press enter.

This must be simple, but surprisingly is different from Windows forms.
Thanks in advance.

Alex

 
Old October 19th, 2004, 01:53 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

What does this have to do with Web Services? I think you're better off asking these questions in an ASP.NET forum.

Anyway, try this:

http://www.metabuilders.com/Tools/DefaultButtons.aspx

A similar solution is available from Dino Esposito, here: http://www.dotmugs.ch/events/event.aspx?eid=17

For the last you need to register which is only allowed for Swiss citizens.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old October 20th, 2004, 02:03 AM
Authorized User
 
Join Date: Feb 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, this question's place is in ASP.NET forum. Excuse me.

Thanks for the reply Imar. I'll try these solutions.

Alex






Similar Threads
Thread Thread Starter Forum Replies Last Post
submit form using javascript with html:button 752004 Struts 2 November 23rd, 2006 12:39 AM
Submit button in the form sends an email in C# debjanib ASP.NET 2.0 Basics 2 July 17th, 2006 03:56 AM
Make a image button as default submit button toshi ASP.NET 1.0 and 1.1 Basics 1 June 1st, 2006 05:25 AM
radio button onClick submit form crmpicco HTML Code Clinic 1 June 14th, 2005 08:32 AM
Default Submit Button alyeng2000 ASP.NET 1.x and 2.0 Application Design 5 March 18th, 2005 08:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.