Hi. i make a site with two language. Turkish and English. i try to do this.
for example i am in product page. my url is
.../product/man/tshirt. in english language. when turkish language is selected i want to change this url as ../urun/erkek/tshirt. my page controls changes correctly.(buttons'name, labels etc.) .
Member
2 Points
150 Posts
change url on same page
Mar 13, 2012 11:36 PM|operator|LINK
Hi. i make a site with two language. Turkish and English. i try to do this.
for example i am in product page. my url is
.../product/man/tshirt. in english language. when turkish language is selected i want to change this url as ../urun/erkek/tshirt. my page controls changes correctly.(buttons'name, labels etc.) .
i think that i must a routing module.
anyone has any knowledge or idea?
Thanks in advance.
Participant
1930 Points
3368 Posts
Re: change url on same page
Mar 14, 2012 09:20 PM|stevenbey|LINK
Are you using WebForms or MVC?
http://stevenbey.com
Recursion: see Recursion
Member
2 Points
150 Posts
Re: change url on same page
Mar 15, 2012 10:14 AM|operator|LINK
i use webforms
Participant
1930 Points
3368 Posts
Re: change url on same page
Mar 15, 2012 10:23 AM|stevenbey|LINK
You marked the thread as answered. Have you resolved your issue?
http://stevenbey.com
Recursion: see Recursion
Member
2 Points
150 Posts
Re: change url on same page
Mar 15, 2012 10:46 AM|operator|LINK
Participant
1930 Points
3368 Posts
Re: change url on same page
Mar 15, 2012 11:48 AM|stevenbey|LINK
Are you able to use Routing?
http://stevenbey.com
Recursion: see Recursion
Member
2 Points
150 Posts
Re: change url on same page
Mar 15, 2012 11:57 AM|operator|LINK
i use urlrouting on .Net 4.0
Participant
1930 Points
3368 Posts
Re: change url on same page
Mar 15, 2012 12:02 PM|stevenbey|LINK
Yes, what version are you using?
http://stevenbey.com
Recursion: see Recursion
Star
9916 Points
1127 Posts
Re: change url on same page
Mar 19, 2012 11:28 PM|Allen Li - MSFT|LINK
Hi, you can set your route rules in “Global.asax”, for more information, please refer to:
http://msdn.microsoft.com/en-us/library/cc668201.aspx
And then, please add a DropDownList to your page, for example:
In your C# codes, please add the following event handling codes:
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework