Pages

Men

rh

10/20/2013

What is Page.IsPostback Property in Asp.Net

Gets a value that indicates whether the page is being rendered for the first time or is being loaded in response to a postback.

Example :-
private void Page_Load()
{
    if (!IsPostBack)
    {
       
        Validate();
    }
}

No comments :

Post a Comment