How to make Language Selector send URL Route Values?
I have a Language Selector on my page. When I am in the URL
/product/<code>
And click to change the language I get redirected to /product
My page is /product and I am getting the parameter with
var pageParams = Page.RouteData.Values["Params"] as string[];Is there a way I can keep the parameters when I change the language?
public class LanguageSelector : SimpleScriptView |
Name: | Telerik.Sitefinity.Web.UI.LanguageSelector |
Assembly: | Telerik.Sitefinity, Version=4.0.1210.0 |
Hello Bruno,
Can you provide some more details about the result you would like to achieve. Also you can use GetUrlParameters that is an extension method of ControlExtensions.
Kind regards,
Ivan Dimitrov
the Telerik team