Last post Mar 20, 2012 03:28 AM by Allen Li - MSFT
Mar 14, 2012 03:36 AM|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.
Mar 15, 2012 01:20 AM|stevenbey|LINK
Are you using WebForms or MVC?
Mar 15, 2012 02:14 PM|operator|LINK
i use webforms
Mar 15, 2012 02:23 PM|stevenbey|LINK
You marked the thread as answered. Have you resolved your issue?
Mar 15, 2012 02:46 PM|operator|LINK
Mar 15, 2012 03:48 PM|stevenbey|LINK
Are you able to use
Mar 15, 2012 03:57 PM|operator|LINK
i use urlrouting on .Net 4.0
Mar 15, 2012 04:02 PM|stevenbey|LINK
Yes, what version are you using?
Mar 20, 2012 03:28 AM|Allen Li - MSFT|LINK
Hi, you can set your route rules in “Global.asax”, for more information, please refer to:
And then, please add a DropDownList to your page, for example:
<asp:DropDownList ID="DropDownList1" runat="server"
<asp:ListItem Text="Please select your language"></asp:ListItem>
In your C# codes, please add the following event handling codes:
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
else if (this.DropDownList1.SelectedIndex==2)