Last post Mar 19, 2012 11:28 PM by Allen Li - MSFT
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.
Mar 14, 2012 09:20 PM|stevenbey|LINK
Are you using WebForms or MVC?
Mar 15, 2012 10:14 AM|operator|LINK
i use webforms
Mar 15, 2012 10:23 AM|stevenbey|LINK
You marked the thread as answered. Have you resolved your issue?
Mar 15, 2012 10:46 AM|operator|LINK
Mar 15, 2012 11:48 AM|stevenbey|LINK
Are you able to use
Mar 15, 2012 11:57 AM|operator|LINK
i use urlrouting on .Net 4.0
Mar 15, 2012 12:02 PM|stevenbey|LINK
Yes, what version are you using?
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:
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)