|
Note: The form is always submitted to the page itself and if you specify an action attribute, it is ignored. If you omit the method attribute,it will be set to method="post" by default. Also,they are automatically assigned by ASP.NET,if you do not specify the name and id attributes.
Note: An .aspx page can only contain ONE <form runat="server">control!
You will see that ASP.NET has added these attributes to the form,if you select view source in an .aspx page containing a form with no name, method, action, or id attribute specified. It looks something like this:
|