utilitaire
Regular
- Joined
- May 4, 2005
- Messages
- 77
Using multiple forms in the same webform?
Is there ANY way to do this in classic asp.net ?
Here's my probleme:
All my webforms are enclosed with the "<form runat=sever" tag. In this form, I usualy validate the main topic of the page. However, I would like to be able to use other forms in the same page. The other forms dont have to be runat=server, be it'd be a very practical thing. Basically, here's an example of what I would like to do:
<form runat=server id="my main form">
//Here's my main form's input
<input type=text name=toto runat=server>
<input type=submit runat=server>
//Here's my second form
<form id="my second form">
<input type=text name=toto>
<input type=submit>
</form>
</form>
Is there any way to do that? I tried but it failed. It doesnt bug on the server-side, but in IE, the second form made the main form work wrong.
Is there ANY way to do this in classic asp.net ?
Here's my probleme:
All my webforms are enclosed with the "<form runat=sever" tag. In this form, I usualy validate the main topic of the page. However, I would like to be able to use other forms in the same page. The other forms dont have to be runat=server, be it'd be a very practical thing. Basically, here's an example of what I would like to do:
<form runat=server id="my main form">
//Here's my main form's input
<input type=text name=toto runat=server>
<input type=submit runat=server>
//Here's my second form
<form id="my second form">
<input type=text name=toto>
<input type=submit>
</form>
</form>
Is there any way to do that? I tried but it failed. It doesnt bug on the server-side, but in IE, the second form made the main form work wrong.
Last edited: