This is a migrated thread and some comments may be shown as answers.

right to left items in drop down list

6 Answers 274 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
monire
Top achievements
Rank 1
monire asked on 09 Dec 2015, 05:22 PM

I have a problem 

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

Please help me!

6 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 10 Dec 2015, 06:16 AM
Hi ,

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
0
Abdulrahman
Top achievements
Rank 1
answered on 24 Mar 2016, 10:20 AM

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 

0
Stefan
Telerik team
answered on 24 Mar 2016, 10:33 AM
Hello Abdelrahman,

The provided information is not enough for me to replicate the observed behavior. As I mentioned 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.
0
Abdulrahman
Top achievements
Rank 1
answered on 24 Mar 2016, 11:01 AM

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 

0
Stefan
Telerik team
answered on 25 Mar 2016, 07:43 AM
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.
0
monire
Top achievements
Rank 1
answered on 28 Mar 2016, 06:36 AM

Hello

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

Tags
DropDownList
Asked by
monire
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Abdulrahman
Top achievements
Rank 1
monire
Top achievements
Rank 1
Share this question
or