You need to sign in to do that
Don't have an account?
sunny@99-chg
How to Avoid Page Refresh...
Hai,
In my vfpage i have 2 pageblock sections
1st section contains two radio buttons
2nd section contains file upload with "Attach" command button to show the attached file.
Now i selected one radio button,then i uploaded one file and now when i am click on "Attach" the page refreshes and the selected radio in section 1 dissappears. I need to show the selected radio even after page refresh...
Can anyone suggest me how to do this one....
Mind sharing the vf for your pageblock sections?
Thanks,
Anoop
Hai Anoop Can u please explain briefly,what is mind sharing..
:) sure, this is what I meant.
Do you mind sharing the vf for your pageblock sections, so that people can take a look? It might help you to get prompt resolutions for the issue you're facing.
Thanks,
Anoop
You can use <apex:actionFunction> tag in your VF page to call the controller method. It is an AJAX call, your page will not refresh if you use this.
use an onclick event for the command button to call the action function.
Regards,
Praveen K.