System.Web
and System.Web.UI
.
On the server (though occasionally some Web Controls will write script to run on the client).
Making a non-postback event into a postback event is
accomplished simply by setting the AutoPostBack
property to true.
View state is the ability of ASP.NET pages to store the state of their controls during a post-back; the net effect is that the programmer does not have to write code to maintain the state of controls when a page is posted back to the server.
You must update the Page directive to ensure that the Inherits property is set to the new class name.
Click “Add a new web.config file with debugging enabled,” and Visual Studio 2005 will create a web.config file for you, or alternatively, you can create the file yourself (by hand) and then add it to the project.
The three ways are as follows:
Drag them from the toolbox.
Write the code in the HTML markup window.
Add them programmatically.
Every Server Control must have this property:
runat="Server"
The DataSource
control.
A series of <input>
elements of type “radio”
with associated <label>
controls, all contained within a <table>
.
Test for the IsPostBack
property of the page. If true, the page has been posted
back.