<script type="text/javascript"> function OnClientFileOpen(oExplorer, args) { //get the extension of the opened item var fileExt = args.get_item().get_extension(); if (fileExt && fileExt.toLowerCase() == "pdf") { //cancel the default behavior args.set_cancel(true); //open new RadWindow var oWnd = radopen(args.get_item().get_path(), "RadWindow1"); //set size to the newly opened RadWindow oWnd.setSize(600, 400); //if you want to open the PDF file in a new browser window //you can use the following code //window.open(args.get_item().get_path()); } }</script>I am getting "The resource cannot be found." error when i use UNC path and the above javascript. Is there any solution for this problem?
Thanks