Posted on: 4/21/2015 12:30:28 PM | Views : 613

I use a Treeview to open PDF files in my ViewPDF.aspx page. My ViewPDF.aspx and the PDF files are in the PDF folder in my Bulletin Website..
My Web.sitemap for the Treeview is:
<siteMapNode title="Test PDF Reader" description="Test PDF Reader" url="~/PDF/ViewPDF.aspx?Id=http://localhost/Bulletin/PDF/Songs.pdf"/>
My ViewPDF.aspx page has an <Object> as follow:
<object data="<%= Request.QueryString("Id")%>" type="application/pdf" width="100%" height="100%"></object>
It works fine for me, but I want my QueryString be short as url="~/PDF/ViewPDF.aspx?Id=PDF/Songs.pdf" or url="~/PDF/ViewPDF.aspx?PDF/Songs.pdf".  
Can anyone help me? Thank you.

Go to the complete details ...