Organizational Research By

Surprising Reserch Topic

how does ispostback technically work

how does ispostback technically work  using -',http-headers,httpverbs,ispostback'

I'm currently having a strange issue whereby all browsers except from Google Chrome are registering a call to IsPostback within a Page_Load event as true when I click an button which simply posts back to the same page.

This has led me to try and discover how the IsPostback property within an ASP .Net page is technically implemented, something I'm struggling to find.

My thoughts to date are that it could be related to the following;

The request VERB type is POST rather than GET.
The hidden input containing the Viewstate information has no information present and therefore no previously submitted control information is available.
The http referer in the request headers is the same as the current URL.

Can anyone provide an actual breakdown of the conditions used to determine the IsPostback boolean property?

Note: I'm looking for the actual implementation rather than perceptions / theory as I'm hoping to use this to actively resolve an issue. I've also searched MSDN and to date cannot find any technical article accurately covering the mechanism.

Thanks in advance,

asked Sep 10, 2015 by KathrynChris
0 votes

Related Hot Questions

3 Answers

0 votes
answered Sep 10, 2015 by CaryMountsxs
0 votes
answered Sep 10, 2015 by Wil7273
0 votes
answered Sep 10, 2015 by JacklynJamie