+ Start a Discussion
Rst123Rst123 

custom button to redirect to a salesforce standard month view calendar

Best Answer chosen by Rst123
praveen murugesanpraveen murugesan
Hi,

Try this,

<apex:commandButton value="View Calendar" action="{!viewCalendar}"/>


Controller
 public PageReference viewCalendar()
    {
        PageReference page =new PageReference('/00U/c');
        page.setRedirect(true);
        return page;
    }

Mark this as best answer if its helps.

Thanks.

Praveen Murugesan.