I have page reference method written on click of "Save" button. I need to refresh one page after click of Save button when in console and not when in standard Salesforce.
PageReference pr = new PageReference('/apex/VisualforcepageName?Id='+idAccount+'&isdtp=vw');
return pr;
How can we check in Apex whether button was clicked when in Console?
Thanks in advance.