You need to sign in to do that
Don't have an account?
aadit_13
Viewstate not maintained in Internet Explorer
Hi,
I am calling a controller function using apex:commandlink
<apex:commandLink action="{!Next}" rendered="true" reRender="CustomList">{!showNext}</apex:commandLink>
When using Firefox browser function call is working properly, but with IE control again goes to <init> and next() function is not called.
Also, the viewstate is not maintained when using IE. Crippled around this for many days, can somebody please advice.
Thank in advance.
Aditya
All Answers
Can you post more of the page and controller?
Without seeing more of your code, my first guess is that IE is not handling the ajax rerender properly. Make sure the id referenced in the rerender attribute actually exists, and that the case is correct. If {!Next} is a pageReference method, make sure you're not setting "setRedirect = true".
Hi,
Thanks for the reply but i have rechecked the code and i am unable to identify the reason;
Visualforce code looks like:
There is a single command link and i am rerendering the 'CustomList' page block. Then also it is not wroking. {!Next} method is only and computation function wherein no pageReference object is used.
Could you please suggest why the code is not working in IE. Its working completely fine with Firefox.
Thanks in advance.
Aditya
Fantastic..... Thank you very much. Just could you please explain the reason why it behaved like that in Internet explorer.
Thanks once again