June 27th, 2014, 03:22 AM
Its urgent help:HOW TO Open the .pdf file present in the root path ofthe application?
I am new to Silver light.
1st i am really sorry i am posting this thread here, i tried to post in silverlight forum, but there i was unable to do it.
I have written the below code which will open the .pdf file from the silverligt path.
I want to open the .pdf file kept in the root directory of the application, (note - do not hard code)
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 + "';");
ex: i want to open the .pdf file kept in the below location:
Just have look @ the screen shot.
Its very urgent, help me out.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!