right to left items in drop down list

7 posts, 0 answers
  1. monire
    monire avatar
    2 posts
    Member since:
    Sep 2015

    Posted 09 Dec 2015 Link to this post

    I have a problem 

    when right to left dropdownlist=Yes , Items in dropdownlist show left to right

    Please help me!

  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 10 Dec 2015 Link to this post

    Hi Monire,

    Thank you for writing.

    I have tested this behavior with our latest version and both the control and its items are being
    changed in RTL. See attached image. 

    Could you please tell us more about your scenario and perhaps post a small sample we can use. Also, please specify the version of the controls you are using.

    I am looking forward to your reply.

    Regards,
    Stefan
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Abdelrahman
    Abdelrahman avatar
    2 posts
    Member since:
    Sep 2015

    Posted 24 Mar in reply to Stefan Link to this post

    Hi Stefan,

    i have the same problem

    the Right to left option is set to true 

    the control text box is aligned to the right which is true ,however; the Items in the list are aligned to the left 

  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 24 Mar Link to this post

    Hello Abdelrahman,

    The provided information is not enough for me to replicate the observed behavior. As I mentioned with our latest version, such behavior is not observed. Please upgrade to it and see how it behaves.

    Regards,
    Stefan
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  6. Abdelrahman
    Abdelrahman avatar
    2 posts
    Member since:
    Sep 2015

    Posted 24 Mar in reply to Stefan Link to this post

    hello Stefan,

     unfortunately, i can not upgrade the tool because i am a developer in a company ,

    we are using  2014.2.617.20 version of the product 

  7. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 25 Mar Link to this post

    Hi Abdelrahman,

    It appears that in the version you are using, there is indeed such issue, which was resolved in Q3 2014. Here is the case page: http://feedback.telerik.com/Project/154/Feedback/Details/138442. On the same page, there is proposed workaround involving changing the items text alignment in the VisualItemFormatting event.

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

    Regards,
    Stefan
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  8. monire
    monire avatar
    2 posts
    Member since:
    Sep 2015

    Posted 28 Mar Link to this post

    Hello

       private void raddropdownlist_VisualListItemFormatting(object sender, Telerik.WinControls.UI.VisualItemFormattingEventArgs args)
            {
                args.VisualItem.TextAlignment = ContentAlignment.TopRight;
            }
    this code resolved this problem for me

Back to Top
UI for WinForms is Visual Studio 2017 Ready