+ Start a Discussion
Rst123Rst123 

custom button to redirect to a salesforce standard month view ..

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.