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
visulaforcevisulaforce 

how to use existing scontrol in visualforce

hi,

I do need to upload a file through visualforce page. I found tht thre is no inbuilt control for filedialog in VF. so i have created one but i am not able to use the same in VF page. pls help me with this urgently.



Thanks,
Manjari
dchasmandchasman
The simplest answer would be to leverage the <apex:scontrol> component (see the documentation for usage but its pretty simple) to use your existing scontrol but I would highly recommend converting your scontrol to a custom visualforce component. We'd be able to provide more help if you posted more details (e.g. the scontrol source, the page you're trying to use it from, what specific problems you are running into, etc).