What is postback in asp.net
I am new in asp.net. what is the postback in asp.net. what is the use of this postback in asp.net. pls give me 1 example of this, how this property works in asp.net.
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
Priya LingeRank #785 · 2.9K reputationPosted Jan 3, 2012, 9:16 PM EST
1.PostBack is the name given to the process of submitting an ASP.NET page to the server for processing .
2.PostBack is done if certain credentials of the page are to be checked against a database (such as verification of username and password).
3.This is something that a client machine is not able to accomplish and thus these details have to be 'posted back' to the server.
4.Example :
The usage of PostBack is a login page :
Explanation:
After the user has typed his username and password, he clicks on the 'Login' button. Upon the click, the page is sent to the server to check against the database/XML file to check if the user with supplied details
is an authenticated user.
Please check below link for more information regarding Postback in ASP.NET.
http://dotnet.tekyt.info/?p=30
http://www.codersource.net/asp-net/asp-net-articles/working-with-post-back-in-asp-net.aspx
Hope this will help you.
Thanks.
Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 3, 2012, 9:16 PM EST
PostBack is the name given to the process of submitting an ASP.NET page to the server for processing . PostBack is done if certain credentials of the page are to be checked against a database (such as verification of username and password). This is something that a client machine is not able to accomplish and thus these details have to be 'posted back' to the server.
Please refer the below link and Our recommended articles
http://dotnet.tekyt.info/?p=30
http://www.c-sharpcorner.com/uploadfile/2f73dd/what-is-postback-in-Asp-Net/default.aspx
Thanks
Anuja PawarRank #1,404 · 1.2K reputationPosted Jan 3, 2012, 9:26 PM EST
For how a post back works, read this
http://www.xefteri.com/articles/show.cfm?id=18
Krishna GaradRank #191 · 12.8K reputationPosted Jan 3, 2012, 9:28 PM EST
Guruparan Giritharan20 reputationPosted Jan 3, 2012, 11:09 PM EST
Post back is submitting the form to the Server or posting back the same page.
There is a boolean variable named IsPostback which can be used to check this if the page loads for the first time the value of this variable is false
the page load is second or above its true
this is mainly useful when you want to setup some value for the controls.
because you may need to change the values in the second load or above.
Regards
Guruparan.
Ravishankar SinghRank #669 · 3.6K reputationPosted Jan 3, 2012, 9:20 PM EST
PostBack is the name given to the process of submitting an ASP.NET page to the server for processing . PostBack is done if certain credentials of the page are to be checked against a database (such as verification of username and password). This is something that a client machine is not able to accomplish and thus these details have to be 'posted back' to the server.
A simple example to illustrate the usage of PostBack is a login page. After the user has typed his username and password, he clicks on the 'Login' button. Upon the click, the page is sent to the server to check against the database/XML file to check if the user with supplied details is an authenticated user.
for examples:
http://asp-net-example.blogspot.com/2009/01/aspnet-cross-page-postback-example-how.html
http://www.codeproject.com/KB/aspnet/ClientObjectPostBack.aspx
http://www.dotnetcurry.com/ShowArticle.aspx?ID=203
http://www.xefteri.com/articles/show.cfm?id=18
http://msdn.microsoft.com/en-us/library/ms178208.aspx
http://weblogs.asp.net/mnolton/archive/2003/06/04/8260.aspx
http://forums.asp.net/t/1153318.aspx/1?Javascript+detect+Page+IsValid+and+IsPostBack
Hope this will help you understand and give you start..
Cheers :)