Click here to Skip to main content
15,920,503 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
open any document .doc , .pdf , .xls from a url without showing url to end user like my url http://www.mydoamin.com/user/1090/1090.doc[^]
Posted
Updated 20-Dec-10 21:38pm
v2

Think about using URL rewritting or using the MVC approach.
 
Share this answer
 
As already said, look at URL Rewriting.

Read here: URL Rewriting with ASP.NET[^]
MSDN: URL Rewriting[^]

OR

Read about, In ASP.NET 4.0: URL Routing[^]
 
Share this answer
 
Make the main index page a frameset.

XML
<frameset>
<frame src="MainPage.html">
</frameset>


No matter where you navigate to, the address remains the same.

see here[^] for more info.
 
Share this answer
 
v2
Comments
Sandeep Mewara 21-Dec-10 4:23am    
About that browser back tip, Looks like you missed it. It was a tip written by me last week! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900