Results 1 to 3 of 3

Thread: [Resolved] Can not put TextBox on aspx page

  1. #1

    Thread Starter
    Hyperactive Member naruponk's Avatar
    Join Date
    Feb 2004
    Location
    Some where in the world
    Posts
    423

    Resolved [Resolved] Can not put TextBox on aspx page

    Hello,

    I have 1 aspx page, but when i put the TextBox1 on the page and run
    I will get an error that "Control TextBox1 of type TexBox must be placed inside a form tag with runat=server" I recheck again and I'm sure that i have added a runat=server tag, except i have removed runat=server tag inside Form tag the reason that i have remove it cause it cant submit data to page which is assgined inside action="xxx".

    Does anyone know that how to submit data to another page using asp:button?

    Thanks
    Last edited by naruponk; Apr 6th, 2005 at 09:47 PM.

  2. #2
    Hyperactive Member
    Join Date
    Apr 2003
    Location
    Three Rivers, MI
    Posts
    354

    Re: Can not put TextBox on aspx page

    In that case I think you should avoid using the webform controls and just use plain old HTML form tags but .... Here are a couple of pages you may find useful that talk about what you are doing.

    Submitting Web Form data from one ASP.NET page to another

    Posting an ASP.NET web form to another ASP.NET page: who needs it?!

  3. #3

    Thread Starter
    Hyperactive Member naruponk's Avatar
    Join Date
    Feb 2004
    Location
    Some where in the world
    Posts
    423

    Re: Can not put TextBox on aspx page

    Thanks for information

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width