Thursday, 9 January 2014

ASP.NET

How to refresh page on button click using asp.net?

//--------------*Start Refresh Button*----------------------------------------------------------------------------------------------
    protected void btnRefresh_Click(object sender, EventArgs e)
    {
        Response.Redirect(System.Web.HttpContext.Current.Request.Url.AbsoluteUri.ToString());
    }
    //--------------*End Refresh Button*----------------------------------------------------------------------------------------------

No comments:

Post a Comment

Thanks for comments.