Uri uri = new Uri(HtmlPage.Document.DocumentUri, "/ClientBin/10c.pdf"); string path = uri.AbsoluteUri.ToString(); HtmlPage.Window.Eval("window.open('" + path + "')"); //HtmlPage.Window.Eval("document.location.href='" + path + "';");
System.Windows.Browser.HtmlPage.Window.Navigate(new Uri("HelpDoc.pdf", UriKind.RelativeOrAbsolute), "_blank");
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.