Web Tutorials

Interview Q & A

Code Examples

Utility Tools

ASP.NET PageInit Event

ASP.NET PageInit event will fired first when page is initialised in asp.net page life cycle.

Syntax

ASP.NET PageInit Event Example - Default.aspx

ASP.NET PageInit Event Example - Default.aspx.cs

Above example will produce following output

RequiredFieldValidator

RegularExpressionValidator

RangValidator

CompareValidator

CustomValidator

ValidationSummary