Professional Documents
Culture Documents
Following is the sequence in which the events occur:. Page_Init. . Page Load. . Control events . Page- Unload event. Page_init event only occurs when first time the page is started, but Page Load occurs in subsequent request of the page.
It checks that the value in controls should match some specific value. Example Textbox TxtPie should be equal to 3.14. RegularExpressionValidator When we want the control, value should match with a specific regular expression. CustomValidator It is used to define User Defined validation. Validation Summary It displays summary of all current validation errors on an ASP.NET page. Note: - It is rare that some one will ask step by step all the validation controls. Rather they will ask for what type of validation which validator will be used. Example in one of the interviews i was asked how will you display summary of all errors in the validation control...just uttered one word Validation summary.