Introduction to Server Controls
Using HTML Server Controls
-
Object-oriented programming allows you to use objects, which
can be accessed by other programs
-
All of the HTML tags can be changed into server side tags
using runat="server" < /FONT>
-
Client-side controls have events such as onClick and onChange
are associated
with HTML Client controls
The final web pages should appear as follows:
HTMLButton.aspx
HTMLImageButton.aspx
HTMLInputButton.aspx
HTMLRadioButton.aspx
HTMLSelect.aspx HTMLAnchor.aspx
ASP .NET Web Form Controls
-
ASP .NET are located on the Webforms tab in the toolbox.
-
ASP .NET Webforms inherit from the Web Control Class which is
found in the
System.Web.UI.Controls namespace
The final web pages should appear as follows:
ASPSelect.aspx
ASPpanel.aspx
ASPPlaceholder.aspx
ASPCheckbox.aspx ASPValidateForm.aspx
ASPValidationSummary.aspx
ASPDBRadioButtonList.aspx
ASPDBCheckboxList.aspx