ASP.Net - Use ScriptManager to find if a postback is for a partial - page render

By [)ia6l0 iii

You can use the ScriptManager to find if a postback is for a partial rendering of a page. The ScriptManager provides us the IsInAsyncPostBack property to determine this.

The IsInAsyncPostback property returns a boolean value that indicates whether the current postback is being executed in partial-rendering mode. Returns true if the current postback is executing in partial-rendering mode.

Related FAQs

You can check the contenttype of the request, and figure out if the request is an JSon request
You can read the contents of a web page into a string using the HTTPWebRequest class
You can check the contenttype of the request, and figure out if the request is an Ajax request
ASP.Net - Use ScriptManager to find if a postback is for a partial - page render  (1216 Views)