Custom Localization DropDown

Posted by Community Admin on 03-Aug-2018 08:54

Custom Localization DropDown

All Replies

Posted by Community Admin on 05-Jan-2011 00:00
I would really appreciate some help with building a custom control or if possible create a template for the localization control. How would I go about accessing the localization dropdown control functionality?

What I am doing is basically creating a dropdown and simply adding flags to the RadComboBox, I would like to populate the dropdown from the Sitefinity localization settings.

Thank you very much for your assistance.

Trevor
Posted by Community Admin on 05-Jan-2011 00:00
Hello Trevor,

1. You can directly inherit from Telerik.Sitefinity.Localization.Web.UI.LanguageSelectorControl. Here is a sample code

2. You can get all available cultures by using

ObjectFactory.Resolve<IAppSettings>().DefinedFrontendLanguages



All the best,
Ivan Dimitrov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
This thread is closed