RadComboBox Localization

5 posts, 1 answers
  1. Andreas
    Andreas avatar
    2 posts
    Member since:
    Aug 2007

    Posted 04 Apr 2013 Link to this post

    Hi,

    If I select 2 items, my selected values are displaying as "2 items checked".
    Is there a way to localize / customize this text?

    Thank You
    Andreas
     
  2. Answer
    Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 04 Apr 2013 Link to this post

    Hello,


    <telerik:RadComboBox ID="RadComboBox1" runat="server" CheckBoxes="true" meta:resourcekey="RadComboBox1Resource1">
          <Localization ItemsCheckedString="Your Msg Comes Here" />
      </telerik:RadComboBox>


    OR


    <telerik:RadComboBox ID="RadComboBox1" runat="server" CheckBoxes="true" meta:resourcekey="RadComboBox1Resource1">
       </telerik:RadComboBox>


    Forum.aspx.resx

    RadComboBox1Resource1.Localization.ItemsCheckedString           Your Msg Comes Here


    .......................................................................................................

    Please check All globalization key 

    RadComboBox1Resource1.DefaultItem.AccessKey
    RadComboBox1Resource1.DefaultItem.Text
    RadComboBox1Resource1.DefaultItem.ToolTip
    RadComboBox1Resource1.DefaultItem.Value
    RadComboBox1Resource1.EmptyMessage
    RadComboBox1Resource1.LoadingMessage Loading...
    RadComboBox1Resource1.Localization.AllItemsCheckedString All items checked
    RadComboBox1Resource1.Localization.CheckAllString Check All
    RadComboBox1Resource1.Localization.ItemsCheckedString Your Msg Comes Here
    RadComboBox1Resource1.Localization.NoMatches No matches
    RadComboBox1Resource1.Localization.ShowMoreFormatString Items <b>1</b>-<b>{0}</b> out of <b>{1}</b>
    RadComboBox1Resource1.ToolTip






    Thanks,
    Jayesh Goyani
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Andreas
    Andreas avatar
    2 posts
    Member since:
    Aug 2007

    Posted 04 Apr 2013 Link to this post

    Thank you
  5. John
    John avatar
    6 posts
    Member since:
    Jun 2013

    Posted 31 Jul 2013 Link to this post

    As per RadComboBox | Accessiblity and Internationalization | Locatization, the .Localization.* properties that can be stored in a single App_GlobalResources\RadComboBox.resx file shared across an entire solution.

    What about the other RadComboBox text properties like EmptyMessage, do these have to duplicate in each aspx page resource file or is there a way to put them once in the shared global resource file?
  6. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 02 Aug 2013 Link to this post

    Hello,

    If you add key into globalresources file then it will applied in all page.

    If the Key found from the localresources then it applied in control. If it is not found the LocalResources file/Key in local resources then it will get from the globalresources.

    Thanks,
    Jayesh Goyani
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017