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
Rajesh ShahRajesh Shah 

PageReference of S-Control

How do I get a pageReference of a S-Control in an Visualforce Controller?

For eg: I want to call an S-Control after saving the record in the s-contol.

I know I can do it using /servlet/servletIntegration ...... but I don't want to do it this way. 

Message Edited by Rajesh Shah on 09-08-2009 07:12 PM
Chirag MehtaChirag Mehta

How about using a JS function with window.location.href= URLFOR( ...."{!$Scontrol.XYZ}"...). 

Call this JS function as oncomplete attribute of your submit button