why should we use the postback ? mostly where should use the postback and uses of
postback.I searched on google but i didn't get what i am want.please help me
thank u
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Saravanan VRank #1,695 · 899 reputationPosted Jun 26, 2017, 5:34 AM EDT
First, let's see what happens when you browse a web page of a site.
Postback is a property of the web page in ASP.NET to indicate whether page is being rendered for the first time or is being loaded in response to a postback.
You could check the value by writing Page.IsPostBack or just IsPostBack.
When the page is requested for first time, this property returns false in the page load event and on successive requests returns true as value.
For eg., when you click a button which has server-side event handler, then the page is posted again and now on the page load, this property will return true as value.
In a typical scenario, while building web applications using ASP.NET, you could do the initialization work required for the aspx page. For eg., fetching the lookup data for dropdown controls, fetching the page level data and binding to input controls etc.
Hope this answer helps you.
Sundaram SubramanianRank #150 · 15.2K reputationPosted Jun 26, 2017, 3:56 AM EDT
Sakthivel GanesanRank #6,963 · 252 reputationPosted Jun 26, 2017, 5:36 AM EDT