Page Object
This. ClientQueryString; // obtain the string following the question mark in the url request
ClientScript: Read-only attribute of a ClientScriptManager object. With ClientScript, you can manage scripts, register scripts, and add scripts to pages.
The following is a simple example.
Code Page. ClientScript. RegisterStartupScript (this. GetType (), "MyScript", "function AlertHello ()"
+ "{Alert ('hello, ASP. net') ;}", true );
Button1.Attributes ["onclick"] = "AlertHello ()";
Button2.Attributes ["onclick"] = "AlertHello ()";
ContentType attribute: gets and sets the http mime type associated with the current page.
IsPostBack: If it is false, it indicates the first page to be loaded.
This. MaintainScrollPositionOnPostBack = true; // keep the position of the scroll bar at the time of callback.
Master: MasterPage.
MasterPageFile: String obtains and sets the file name of the master page. Note that only the files set in the PreInit event are allowed.