Geeks Talk

Prepare for your Next Interview




two <FORM> tags are possible in aspx page IN ASP.Net?

This is a discussion on two <FORM> tags are possible in aspx page IN ASP.Net? within the ASP.NET forums, part of the Web Development category; Is this Possible to use more than one <Form> tag in aspx page in asp.net?...


Go Back   Geeks Talk > Web Development > ASP.NET

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-25-2008
Junior Member
 
Join Date: Jan 2008
Location: Ahmedabad
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
abhishekdgupta is on a distinguished road
Post two <FORM> tags are possible in aspx page IN ASP.Net?

Is this Possible to use more than one <Form> tag in aspx page in asp.net?
Reply With Quote
The Following User Says Thank You to abhishekdgupta For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 01-25-2008
Junior Member
 
Join Date: Jan 2008
Location: Ahmedabad
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
abhishekdgupta is on a distinguished road
Smile Re: two <FORM> tags are possible in aspx page IN ASP.Net?

From my point of view its not possible...its gives error at runtime..
Reply With Quote
  #3 (permalink)  
Old 01-25-2008
Contributing Member
 
Join Date: Jun 2007
Location: Delhi, India
Posts: 50
Thanks: 0
Thanked 22 Times in 18 Posts
vikasvaidya is on a distinguished road
Re: two <FORM> tags are possible in aspx page IN ASP.Net?

Yes Abhishek u can definitely do that it is possible.

go through this link

Managing multiple forms

----V V----
Vikas Vaidya

Last edited by vikasvaidya : 01-25-2008 at 09:25 AM. Reason: update my comments
Reply With Quote
  #4 (permalink)  
Old 02-04-2008
Junior Member
 
Join Date: Jan 2008
Location: Chennai
Posts: 9
Thanks: 4
Thanked 0 Times in 0 Posts
aravind.pk is on a distinguished road
Re: two <FORM> tags are possible in aspx page IN ASP.Net?

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"
Reply With Quote
  #5 (permalink)  
Old 02-05-2008
Junior Member
 
Join Date: Jan 2008
Location: Ahmedabad
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
abhishekdgupta is on a distinguished road
Re: two <FORM> tags are possible in aspx page IN ASP.Net?

Quote:
Originally Posted by aravind.pk View Post
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"
Yes U r Right dear..
Reply With Quote
  #6 (permalink)  
Old 05-31-2008
Junior Member
 
Join Date: Jan 2008
Location: Ahmedabad
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
abhishekdgupta is on a distinguished road
Re: two <FORM> tags are possible in aspx page IN ASP.Net?

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:
Originally Posted by aravind.pk View Post
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"
Reply With Quote
  #7 (permalink)  
Old 06-03-2008
Expert Member
 
Join Date: Dec 2007
Location: Pune
Posts: 139
Thanks: 0
Thanked 6 Times in 6 Posts
peeyush_jain is on a distinguished road
Re: two <FORM> tags are possible in aspx page IN ASP.Net?

Aspx page can contain two form
Reply With Quote
Reply

  Geeks Talk > Web Development > ASP.NET


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Codebehind file in ASPx Geek_Guest ASP.NET 3 06-23-2008 01:37 AM
How to run .aspx page stored on another system? Haitalk ASP.NET 6 02-27-2008 05:58 AM
tags in web.xml psuresh1982 Java 1 07-11-2007 06:22 AM
JSP declaration tags deepti_charolkar JSP 1 06-20-2007 02:16 AM
Winrunner is taking the entire web page as a single page Sridevi.P WinRunner 0 06-05-2007 11:26 PM


All times are GMT -4. The time now is 08:57 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved