Using multiple forms on an ASP.NET web forms page(frederikvig.com)
submitted by
frederikvig(20) 2 years, 7 months ago
I came across this simple technique while watching Building great standards based websites for the big wide world with ASP.NET 4.0.
The cool thing about being able to have multiple forms on the same page is that you don’t have to use JavaScript to fix the default button problem, or use unnecessary ASP.NET web controls or logic on the server (like the Response.Redirect method). The drawback, for some, is that you cannot have the forms inside the form (web form) with the runat=”server” attribute, which means that you cannot use all of the ASP.NET web controls.
|category: ASP.NET
|Views: 20
tags:
ASP.NET another
Everyones tags:
Your Tags: