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
DS777DS777 

S-Control in VF

Is it possible to include S-Control code in VF page to update records?
werewolfwerewolf
...why?  Why not just have the VF call some Apex to update the records?
michaelforcemichaelforce
werewolf is right on... but if you have some need (other than just updating records) to put scontrols into your visualforce you can either:
  1. Add AJAX right in the visualforce page within <script> tags
  2. Use the <apex:scontrol> component to add the scontrol 'inline'