Hi,
I am refreshing CRM form which is working for IE , Firefox but not working for Chrome. Below is my code Please suggest.
private void reloadCRMPage(string opportunityId)
{
string crmServer = ConfigurationManager.AppSettings["CRMServerURL"].ToString();
string orgname = ConfigurationManager.AppSettings["orgName"].ToString();
string url = string.Empty;
string script = @"debugger;
url = '" + crmServer + "/" + orgname + @"/main.aspx?etc=3&pagetype=entityrecord&id=" + opportunityId + @"';
window.opener.document.top.location.href = url
";
ClientScript.RegisterStartupScript(typeof(Page), "Refresh", script, true);
}
Thanks,
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". Thanks and Regards, Mohammad Yusuf Ansari
http://microxrm.blogspot.in