Results 1 to 7 of 7

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

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Answers
    4

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

    Is this Possible to use more than one
    tag in aspx page in asp.net?


  2. #2
    Junior Member
    Join Date
    Jan 2008
    Answers
    4

    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..


  3. #3
    Contributing Member
    Join Date
    Jun 2007
    Answers
    65

    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

  4. #4
    Junior Member
    Join Date
    Jan 2008
    Answers
    4

    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 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"


  5. #5
    Junior Member
    Join Date
    Jan 2008
    Answers
    4

    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 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..


  6. #6
    Junior Member
    Join Date
    Jan 2008
    Answers
    4

    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 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"



  7. #7
    Expert Member
    Join Date
    Dec 2007
    Answers
    138

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

    Aspx page can contain two form


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact