[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
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?!
Re: Can not put TextBox on aspx page
Thanks for information :)