how to make the url unchange on every request of user...

Posted by Susantaown under ASP.NET on 6/19/2009 | Views : 1306 | Status : [Member] | Replies : 5
Hi all

Suppose my logon page is logon.aspx..
the url will be: online.com/logon.aspx
if i am in registration page the url will be: online.com/registration.aspx

Requirement..
---------------
the url will never change.. it will always show me online.com which ever link button i am clicking..

just like http://www.funtoosh.com/

how to implement this..


ThanX and Regards
susant




Responses

Posted by: Raja on: 6/20/2009 [Member] Starter

Up
0
Down
Use IFrame. Create a parent page and keep two frame inside that. In the top frame put the links and make its target as the bottom frame. You will get this done. something like

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">

<html>
<head>
<title>Frameset Example One</title>
</head>
<frameset cols="140,*">
<frame src="menu.htm" name="menuframe">
<frame src="display.htm" name="displayframe">
</frameset>
</html>


Look at this link http://www.w3schools.com/tags/tag_frameset.asp


Regards,
Raja, USA

Susantaown, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Susantaown on: 6/20/2009 [Member] Starter

Up
0
Down
Hi Mr. Raja Good evening and ThanX for rely my qns but the problem is i have 150 numbers of pages in asp.net so the faameset mechanism will work?

Need Quick help

susant


Susantaown, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raja on: 6/21/2009 [Member] Starter

Up
0
Down
Even it will work for thousands of pages provided you are able to manage the pages in the top frame (top menu). Just create a dropdown menu with all your hundreads of pages (menu>submenu) and keep the target frame as your bottom frame (content frame), it will work.

Thanks

Regards,
Raja, USA

Susantaown, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Saradhi113 on: 6/22/2009 [Member] Starter

Up
0
Down
Hi,

if we use any ajax controls then the link will not work in iframes. so this i frame concept will not work.

Thanks,
Saradhi

Susantaown, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lakhangarg on: 8/31/2009 [Member] [Moderator] Silver

Up
0
Down
Hi-

Use IFrame and open all the pages in IFrame.

Thanks & Regards
Lakhan Pal Garg
http://lakhangarg.blogspot.com/


Susantaown, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response