Click here to Skip to main content
15,885,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want user to see only one url.
like for example, if they click on any menu options.
url should stay same in addressbar.
how do you do that and as we don't have frameset in visual studio
Posted

Make the main index page a frameset.

<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
 
Comments
Mandavali 13-Dec-10 14:19pm    
visual studio gives me error frameset not supported
Alternatively use Ajax with the info sent via HTML POST, so the Javascript part renders the screen but the URL never changes.
 
Share this answer
 

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