[SalesForce] How to resolve a inputfile rerender problem

I have a VF page to create the cases and to insert the attachments to case.On Changing the picklist values i have to rerender the entire page to enter new values. But I have a inputfile tag in the VF page which doesn't support rerender. How to resolve it?

Best Answer

Rerendering is not supported when you have an apex:inputFile component. There's no workaround, as the platform simply will not allow it. The best you can do is to move the apex:inputFile into an apex:iframe which will leave the rest of the "page" alone.

BTW If you are looking to rerender the entire page, that sounds the same as a refresh.

Related Topic