we are using following code to CLose modal popup and navigate user to open Document in SharePoint 2016 OnPremise.

Context.Response.Write(String.Format("<script type='text/javascript'>window.frameElement.commitPopup('{0}');</script>", "http://OurWebApp/sites/Test/Document/CheckEdgeIssue.docx")

Above code is working as expected in IE, but in IE Edge we are getting error as 'there is no program to open this document'. where as Office is installed on our system and its working in IE(i.e closing Popup and opening Document in Client Application). any help would be appreciated!!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.