+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Language Bar that links to language hoe page

Language Bar that links to language hoe page

3 posts, 1 answered
  1. Sigal Laufer
    Sigal Laufer avatar
    2 posts
    Registered:
    08 Feb 2010
    09 Oct 2010
    Link to this post

    Hi,

    The LanguageBar webcontrol is always links each language to the current page in that language.

    Can you tell me please what is the best way to create Langugae bar that links each language to it’s  home page?

    Thanks

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    10 Oct 2010
    Link to this post
    Hi Sigal,

    Create a custom control that uses RadComboBox. Populate the control by using list of LocalizationManager.Cultures.Values. Then get the home page for each language by using UrlHelper.HomePage and make a Response.Redirect to the home page on SelectedIndexChanged event.

    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
    Answered
  3. Sigal Laufer
    Sigal Laufer avatar
    2 posts
    Registered:
    08 Feb 2010
    23 Nov 2010
    Link to this post
    Hi Ivan ,

    It works great.
    Thanks a lot.

    Sigal
Register for webinar
3 posts, 1 answered