function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anuj.ShuklaAnuj.Shukla 

help required in redirecting to a new page

Hi,

 

Please see my latest reply in this question thread.

 

http://boards.developerforce.com/t5/Apex-Code-Development/help-required-in-redirecting-to-a-new-page/td-p/229133

 

It would be gerat if someone can help me on this.

 

 

Thanks,

Anuj

Pradeep_NavatarPradeep_Navatar

Tryout this sample code :

 

PageReference pg = new PageReference('/apex/demo');

pg.setRedirect(true);

return pg