Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I Have Url in [i.e. www.abc.com/]

from the website i redirect to other page like Contact Us Page
in current current scenario my URL Like [www.abc.com/ContactUs.aspx]

I dont want this, I want my URL Like [www.abc.com/ContactUs/]

Looking for ur help
Posted
Updated 28-Apr-13 20:45pm
v5

 
Share this answer
 
Use Iframe....
Take One iframe in Your main page,In that give src of different pages when you open another page that will be opened in same url..

The Idea is open different pages in one iframe..
then url will be same...

Hope This Will Help You...
Shubh Coding:)
 
Share this answer
 
HI,

C#
server.transfer("yoururl");


for example:

C#
protected void Button1_Click(object sender, EventArgs e)
    {
        Server.Transfer("2.aspx?id=3");
    }

and in the form 2.aspx you can get your parameter like this:

protected void Page_Load(object sender, EventArgs e)
    {
       Label1.Text=Request.QueryString["id"];
    }



Happy Coading/...... :)
 
Share this answer
 
Create A Cloaking 'Frame' Page
 
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