You need to sign in to do that
Don't have an account?
Redirect page to Calender on Clicking Command Button
Hello,
Please suggest how can I direct to Calender It is redirecting inside my current popup visual force page.
I need to CLOSE the current pop up VF page and redirect the page to CALENDAR from where the button was clicked.
here is my code.. Please suggest what should I do? Also is it ok if I am hardcoding the calendar url?
VF---
<apex:commandButton value="Submit" action="{!insertHCP}" onclick="insertval();" styleClass="buttonStyle" />
Apex--
Public PageReference insertHCP(){
<--My other logic-->
PageReference reference=new PageReference('/00U/c?cType=1&md3=286&md0=2012');
reference.setRedirect(true);
return reference;
}