You need to sign in to do that
Don't have an account?
CLK
Redirection through ActionFunction not working in IE browser
function redirect(){
if(!checkClientSideValidations())
actionFunction();
}
<apex:actionFunction name="actionFunction" action='{!ControllerRedirectMethod}'/>
<apex:commandButton onclick="redirect();" value="Next">
As shown in above code, When i trying to redirect user from one page to another using ActionFucntion, then its not working only in IE browser. In debugging found that, it actually not calling controller action mentioned in actionFunction. On the click, its redirecting user to same page and flushing the view state. All works well in chrome.
Anyone has idea, where its going wrong or its browser specific issue?
if(!checkClientSideValidations())
actionFunction();
}
<apex:actionFunction name="actionFunction" action='{!ControllerRedirectMethod}'/>
<apex:commandButton onclick="redirect();" value="Next">
As shown in above code, When i trying to redirect user from one page to another using ActionFucntion, then its not working only in IE browser. In debugging found that, it actually not calling controller action mentioned in actionFunction. On the click, its redirecting user to same page and flushing the view state. All works well in chrome.
Anyone has idea, where its going wrong or its browser specific issue?
I would recommend adding this to see if it fixes the issue
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others and improve the overall quality of Discussion Forums.
Gaurav Kheterpal
Certified Force.com Developer| Salesforce Mobile Evangelist| Developer Forums Moderator| Dreamforce Speaker