(1) There are multiple forms on the Asp.net page. One primary form is runat = "server", while others are client form with action,
(2) The server control must be placed in <form runat = "server">. The server form is only for sending back. This function is generally not required for website front-end.
(3) Pay attention to the master page. Do not cross the form of the master page too far or too wide.
(4) user controls do not have to be in form.
(5) In Part 2, Asp.net makes it easy to implement the application system on its server control, which is convenient and fast. asp can be used for website creation and Asp.net as the front-end, it does not need its server-side controls and sending-back mechanism at all, so it can also be competent. ...... I don't know what I'm talking about. In short, the front-end does not use server controls. <form runat = "server"> just narrow down the scope !......
(6) The page without form can also be used, and the use is quite good.
But do not place "server control to be sent back" on the page, such as ASP: Textbox, ASP: button, ASP: linkbutton, ASP: imagebutton, ASP: dropdownlist, ASP: ListBox, ASP: checkbox, ASP: checkboxlist, ASP: radiobutton, ASP: radiobuttonlist, ASP: hiddenfield, ASP: fileupload, ASP: gridview, ASP: detailsview, ASP: formview ...... (The stuff that generates the input tag is related to others );
Can be put: ASP: repeater, ASP: Label, ASP: hyperlink, ASP: image, ASP: Table, ASP: literal, ASP: Panel ......
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/TangZhongxin/archive/2009/03/26/4026915.aspx