public PageReference CancelTicket()
{
pageReference ref = new PageReference(‘/apex/PageName’);
ref.setRedirect(true);
return ref;
}
Where PageName= name of the page which you want to create and open
public PageReference CancelTicket()
{
pageReference ref = new PageReference(‘/apex/PageName’);
ref.setRedirect(true);
return ref;
}
Where PageName= name of the page which you want to create and open