I haven't looked at. Net recently. I 've been reading com... and I 've been reading some controls ............
Page
Ispostback attribute, which indicates whether the page is loaded for the first time or responds to the client sending response.
The validaterequest attribute verifies that the input data is checked. The default attribute is true.
Clientscriptmanager class of clinetscript attributes
Clientscriptmangaer CSM = page. clientscript;
Registerclientscriptblock method: registers client scripts to the page object.
Registerstartupscript method: register the startup script with the Page Object
Callback Technology
To implement callback backendCodeMust inherit icallbackeventhandler
Button: prefix with BTN
Textbox: prefix with txt
Dropdownlist: prefix with DDL
Button: Control
Command and click events. Only one.. command can be used simultaneously. Command has event parameters, and click has no event parameters.
Whether causesvalidateion is verified
Commandargument this parameter is passed to the command event
Cssclass indicates whether the control displays CSS classes on the client
Enabled Enable Web Control
Onclientclick the event to be executed on the client
Textbox: Control
Textmode autopostback: whether to automatically submit when the focus leaves
Fileupload: Control
Filebyte byte [] content and byte array representation of the uploaded file
Filecontent stream: the data stream for uploading files
Filename string name of the uploaded file on the client
Hasfile bool indicates whether a file has been uploaded
Postedfile httppostedfile: obtains the base httppostedfile object of the file.
Attributes of the httppostedfile class
Contentlength int the length of the file to be uploaded
Contenttype string mime content type of the uploaded file
Filename string name of the uploaded file on the client
Inputstream stream points to the stream object of the uploaded file
Literal: Control
Similar to lable
Panel: Control
It is a container control that can store a group of containers. It is often used to store control groups similar to the business logic. It is used to set certain attributes of the panl control when setting attributes of all controls.
Placeholder: Control
Similar to panel controls, it is also a container control, but the control itself does not generate any HTML tag on the client.
The contrlos attribute determines the set of controls. You can add and remove widgets to and from controls.