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

how to refer second s-control from first s-control.



I wrote code for s-control and palce one button on this code.


now I want when user press this button second s-control/visual force page code should be executed.


How I can achive this funcitionality?



The best way to refer to an sControl from another sControl is to use the URLFOR() function and provide the name of the sControl and any other arguments needed for the function.  You can also use the $Request global variable (see the Help doc for info on this) to pass query string parameters from one sControl to another.