Hi ,
I am trying to refesh MS CRM from from custom application.It is working for IE,Firefox but not working for Chrome.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.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