More in this section

Forums / Developing with Sitefinity / two Buttom for choose a language

two Buttom for choose a language

2 posts, 0 answered
  1. Bachar Zeidan
    Bachar Zeidan avatar
    67 posts
    01 Jul 2010
    09 Jul 2010
    Link to this post
    Hello every body,
    In my new Multi-language project i a have two language, all I need to know is how to have two bottom or HyperLink in  the Home page (Front end) to choose?
    wish control i have  to use ?

    thank you
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    09 Jul 2010
    Link to this post
    Hi Bachar Zeidan,

    Create a user control with the code shown below. It will generate links for each culture you have enabled. You can use Css to style the control

    <%@ Register TagPrefix="lng" Namespace="Telerik.Localization.WebControls" Assembly="Telerik.Localization" %>
    <style type="text/css">   
    .langList li   
        padding: 0px;   
    <lng:LanguageBar  ID="list1" runat="server"
            <lng:LanguageList CssClass="langList" ID="languageList" runat="server"></lng:LanguageList> 

    Kind regards,
    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
2 posts, 0 answered