What is IsPostback property in asp.net and how does it work?
Interview question and answer by: Virendradugar
| Posted on: 11/25/2009 | Category: ASP.NET Interview questions
| Views: 16743 |
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.
| Alert Moderator
Found interesting? Add this to: