hi , any one help me to add a web usercontrol intp website (using C#).
I created a Login Web UserControl under <form> tag like this:
<form id="LoginControl" runat="server">
<asp:textbox>//for input Username
<asp:textbox>//for input Passord
<asp:Button>//For submit login
This is my LoginWebUsercontrol.ascx, and i have codebehind for checking Login and event submit
Now, how can i add this into home.aspx
If home.aspx have <form runat=server></form>, when i add it to Home.aspx MANUALY like (use LoadControl method then i added it). I got error "..Can not have 2 <form> tag " I though it is because there a <form> in WebUserControl and other <form> in Home.aspx...
Now i clear <form> in Home.aspx, but still did not work at all
Thanks for any help
Other things ???
I used to work on UserControl of window form. They all added automatically to Toolbox of VS.NET and run ok
I dont know why Web User Control is hard to add to aspx page and not automatically added to ToolBox
please if you know, help me please.