Hi,
We are tried to open the CRM lookup using the following code. it works in ie 10 and google chrome but in ie 11 it just the loading when we debug and found that it throws the error from global.ashx in namespaceResolver() function. Can any have idea why
this happing and what is the solution to resolve this issue.
var url = "/_controls/lookup/lookupsingle.aspx?objecttypes=" + +objectTypeCode;
//Set the Dialog Width and Height
var DialogOptions = new Xrm.DialogOptions();
//Set the Width
DialogOptions.width = 550;
//Set the Height
DialogOptions.height = 600;
window.resizeTo(700, 700);
//var serverUri = Mscrm.CrmUri.create(url).toString();
//window.showModalDialog(serverUri, DialogOptions, null, null, function (result) { CallbackFunction(result); });
//open dialog
Xrm.Internal.openDialog(Mscrm.CrmUri.create(url).toString(), DialogOptions, null, null, function (result) { CallbackFunction(result); });
Please help me on this.
Balasaheb