gnasmadoq3
New Member
I inquired last week about the below. It was suggested that I just use the "post back" feature which I of course could do. But I'm more or less interested in knowing why this doesn't work.... Thanks.<BR><BR>=====PREVIOUS MESSAGE======<BR><BR> I'm having problems calling another asp.net page to process my form request. In my form tag on form.aspx I'm doing the following: <BR><BR><form name="theForm" action="process.aspx" method="post"> <BR><asp:textbox id="fullname" runat="server" /> <BR><asp:textbox id="email" runat="server" /> <BR><input type="submit"> <BR></form> <BR><BR>instead of <BR><BR><form runat="server"> <BR><asp:textbox id="name" runat="server" /> <BR><asp:textbox id="email" runat="server" /> <BR><input type="submit"> <BR></form> <BR><BR>which does the same thing, except uses the current page to process the results. <BR><BR>I'm getting the following error message.. does any one know why? Any help is appreciated. <BR>================= <BR>Control 'FullName' of type 'TextBox' must be placed inside a form tag with runat=server. <BR>=================Yes you need to put runat="server" of the heading of your top example so <BR><BR><form name="theForm" action="process.aspx" method="post" RUNAT="SERVER">Well, that didn't solve the problem. It seems that when you assign the runat="server" in the form it overrides what you set your action to. Any other suggestions? Thanks.