Knowledgesharing
To grow knowledge on asp.net,c#,Sql server,Javascript,Ajax,Html,Web Service,Silverlight,Wcf
Technical Blog
Asp.net
C#
Silverlight
Search This Blog
Loading...
Wednesday, November 16, 2011
How to know the current postback is a full postback or partial postback in Asp.net
Here is the code used to differentiate between partial or full post back in Asp.net.
if (Page.IsPostBack)
{
if (ScriptManager.GetCurrent(this.Page).IsInAsyncPostBack)
{
//Partial post back
}
else
{
//full post back
}
}
Related Posts by Categories
0 comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment