Posted on: 1/10/2014 10:27:40 AM | Views : 602

I have the following folders in my application
1. Projects (Root Folder) 1.1. User ( Subfolder of Projects) Instruction.pdf //exist on this folder 1.1.1 UserRegistration (Subfolder of User) 1.2 Admin (Subfolder of Projects) 1.2.1 AdminRegistration (Subfolder of Admin) I am running an aspx file from AdminRegistration folder , on that aspx page I have the code string foldername= "User" string answerfiler ="Instruiction.pdf" string filename = foldername + "/" + answerfile; Iframe1.Attributes["src"] = filename + "#toolbar=0&navpanes=0 "; The path shows like    AdminRegistration\User\Instruiction.pdf  and runtime error would be coming as file not found. How I can refer the path  from the folder User/Instruction.pdf. I want to avoide the running path of aspx page.
Please help
Pol
< ...

Go to the complete details ...