I am making a visual web part for SP2010, and the webpart hides shows content depending on if there was a postback or not. However the only exception to this, is the postback of exiting the page edit mode.
Is there a c# code that I can use to detect when the user has just checked in, or published the page during the postback? Basically a way to get the boolean value on page load that is true when the user checked in or published.
Does anyone know? Thanks.