Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Multiple Buttons on one page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vcuankitdotnet - 03 Mar 2008 21:53 GMT
I have two user controls on the same .aspx page, each with a form and
a button to submit the form. The user has the option to submit either
form. Once the user hits the ENTER button on their keyboard, the
button on the first user control rendered is the one that gets
clicked, thus submitting a blank form.

Is there a way to submit the form the user is filling out? Is this
something that should just be solved using some javascript?
Michael Nemtsev [MVP] - 04 Mar 2008 10:06 GMT
Hello vcuankitdotnet,

could you explain your problem in details, not quite understand what u wanna
get.
With the sample code, ideally

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

v> I have two user controls on the same .aspx page, each with a form and
v> a button to submit the form. The user has the option to submit either
v> form. Once the user hits the ENTER button on their keyboard, the
v> button on the first user control rendered is the one that gets
v> clicked, thus submitting a blank form.
v>
v> Is there a way to submit the form the user is filling out? Is this
v> something that should just be solved using some javascript?
v>

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.