Click here to Skip to main content
13,147,183 members (27,852 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi all,

we have multiple aspx page such as default.aspx, default2.aspx and default3.aspx,
i don't want to display the page name such as (,
( and ( in the browser address bar (as URL), while i'm navigating the page.

i want to display ( as url always either i'm on default.aspx, default2.aspx or default3.aspx.

please give me answer.
Posted 11-May-12 3:15am
jkirkerx 11-May-12 14:47pm
So why have 3 pages then?, why not just build everything on a single page

people don't like changing pages, they prefer to stay on a single page.
Member 10066748 19-Jun-13 8:19am
not changing the url while click on any link
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

You need URL Rewriting.

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


Read about, In ASP.NET 4.0: URL Routing[^]
sravani.v 12-May-12 1:20am
My 5!
Sandeep Mewara 12-May-12 5:36am
Thanks Sravani.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

1:- When you redirect to another page. you should use server.transfer("pagename.aspx");
By this address bar don't show redirect page name.

2:- For hide all page name by address bar. This setting is in IIS.

Rate this: bad
Please Sign up or sign in to vote.

Solution 3

use server.transfer instead response.redirect
CHill60 19-Jun-13 8:50am
Same as point 1 in solution 1

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170915.1 | Last Updated 19 Jun 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100