Hi All,
I want to Refresh the Parent Page from the child Page in CRM 2011 using javascript.
By google i got some code as:
window.parent.opener.parent.location.reload();
It is working fine on IE10. But majority of our customers are using IE11. The code is not working on IE11 and all the other browsers.
When i use other browsers it is giving error as:
Microsoft Dynamics CRM Error Report Contents<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Uncaught SyntaxError: Unexpected end of input</Message>
<Line>0</Line>
<URL>/userdefined/edit.aspx?_CreateFromId=%7b27D0C9B0-8B85-E311-8CE2-067F90A72129%7d&_CreateFromType=10001&etc=10034&id=%7bF11EE1D5-C3A5-E311-AF99-067F90A72129%7d&pagemode=iframe</URL>
<PageURL>/userdefined/edit.aspx?_CreateFromId=%7b27D0C9B0-8B85-E311-8CE2-067F90A72129%7d&_CreateFromType=10001&etc=10034&id=%7bF11EE1D5-C3A5-E311-AF99-067F90A72129%7d&pagemode=iframe</PageURL>
<Function>anonymousror:Unexpectedendofinput</Function>
<CallStack>
<Function>anonymousror:Unexpectedendofinput</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/537.36</BrowserUserAgent>
<BrowserLanguage>undefined</BrowserLanguage>
<SystemLanguage>undefined</SystemLanguage>
<UserLanguage>undefined</UserLanguage>
<ScreenResolution>1280x1024</ScreenResolution>
<ClientName>Web</ClientName>
<ClientTime>2014-03-07T12:15:57</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{FD89CDC6-072A-E311-90AB-067F90A72129}</OrgID>
<UserID>{001D87CD-072A-E311-90AB-067F90A72129}</UserID>
<CRMVersion>5.0.9690.3731</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>
Please help me regarding this issue.