Is this Possible to use more than one <Form> tag in aspx page in asp.net?
Printable View
Is this Possible to use more than one <Form> tag in aspx page in asp.net?
From my point of view its not possible...its gives error at runtime..
Yes Abhishek u can definitely do that it is possible.
go through this link
[URL="http://http://msdn.microsoft.com/msdnmag/issues/05/09/CuttingEdge/"]Managing multiple forms[/URL]
----V V----
Vikas Vaidya
i hope that is not possible if i understood your question rightly.
you mean to ask that the html source of the aspx page can contain two <form> tags. am i right?
if it is so, then it is possible to write, but by default the browser uses the first form tag elements or the form tag that contains "runat=server"
[QUOTE=aravind.pk;25261]i hope that is not possible if i understood your question rightly.
you mean to ask that the html source of the aspx page can contain two <form> tags. am i right?
if it is so, then it is possible to write, but by default the browser uses the first form tag elements or the form tag that contains "runat=server"[/QUOTE]
Yes U r Right dear..
Yes you are getting correct. Two Form tags are possible in aspx page but from that only one have Runat=server. iF both has this then it gives error :)
Thanks,
Abhishek Gupta
[QUOTE=aravind.pk;25261]i hope that is not possible if i understood your question rightly.
you mean to ask that the html source of the aspx page can contain two <form> tags. am i right?
if it is so, then it is possible to write, but by default the browser uses the first form tag elements or the form tag that contains "runat=server"[/QUOTE]
Aspx page can contain two form