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
Any updates on this issue? I'm still facing the same problem. When I try loading lookup.aspx page on a Xrm Dialog Box, I get the same "Object Expected" error from global.ashx in namespaceResolver() function.
This seems to happen only if we try to load the lookup.aspx page in a Xrm dialog box on a CUSTOM WEB RESOURCE (HTML).
Please let us know if there's a solution to this.