ASP .Net Day3
ASP .Net Day3
Page_Init
This is fired when the page is initialized
Page_Load
This is fired when the page is loaded
The difference between Page_Init and Page_load is that
the controls are guaranteed to be fully loaded in the
Page_load.The controls are accessible in the Page_Init
event,but the ViewState is not loaded,so controls will have
their default values,rather than any values set during the
postback.
Control_Event
This is fried if a control triggered the page to be
reloaded (such as a button)
Page_unload
This is fired when the page is unloaded from the
memory
Types of Controls in ASP.Net
HTML SERVER
SYNTAX
<INPUT TYPE=TEXT RUNAT=SERVER>
WEBSERVER CONTROLS
Web Server Controls
Standard List Validation Data Misc
Controls Controls Controls bound Controls
label Radio Required fieldControls
Textbox Button List Validator Crystal
Data Grid
Button Check Box Range Report Viewer
List Data List
Link Button Validator control
Dropdown Repeater
Image Button Compare
List Validator
Calendar List Box Regular
AdRotator Expression
Panel Validator
Place Holder Custom
Table Validator
Literal Validation
Control Summary
Radio Button
Check Box
XML
Common Syntax for any web server
control