0
kicks
A Handy Extension Method: Get The Current Page Load Mode
I find myself pretty often write code to find out if I’m on a postback, callback or initial page load. I’ve decided to put an end to that and write an extension method that does the job!