I know, I know, I know. I shouldn't be doing webforms inside of MVC, I completely agree. But, the people who sign my paycheck will not approve a complete conversion of our site to MVC right now. So I am taking incremental steps, page by page, to convert them over while adding new features in MVC.
So my question is how can I access the IsPostBack property from a controller?
Edit: To further clarify, I have a webform user control on my mvc master page which can initiate postbacks. I'm trying to identify these postbacks verses an mvc post. At this point I think I am going to just check the request form keys for a "__viewstate" key and if its found treat it as a postback.
public static bool IsPostBack(this HttpRequestBase request) { return __viewstate-something-something }
is probably the closest you'll get. But placing Web Form User Controls in MVC Master Pages might break in future versions of ASP.NET MVC. – Cigarette