What is IsPostback property in asp.net and how does it work?

 Posted by Virendradugar on 11/25/2009 | Category: ASP.NET Interview questions | Views: 31834

IsPostBack property indicates that whether this is the first time user has requested fort the page or it is reloaded based on any response on postback.

This property checks for __VIEWSTATE or __EVENTTARGET parameter in Request object. if these parameters are absent that means it is requested for the first time and if these parameters are present then this request is not first request.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response