RadDropDownList disable arrow when readonly

1 Answer 76 Views
DropDownList
Jarne
Top achievements
Rank 2
Iron
Jarne asked on 18 Sep 2024, 11:18 AM

Hello,

I am new to WinForms.

Is there a possibility to disable the Arrow for the RadDropDownList ?

When I set the component to readonly, I can still choose a new value via the arrow.

But then the value is never saved because it is read-only.

And wich property do I have to set for this?

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 18 Sep 2024, 11:55 AM

Hi Jarne,

I appreciate your interest in our RadDropDownList control for WinForms.

May I ask you to share how you can disable the control? If I set the Enabled property of the RadDropDownList control, I can't enter any value in the input textbox nor open the dropdown by pressing the arrow button. Every element in the control is disabled. So I am missing the part how the control is disabled in your application so that I can try to find a solution for you.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Jarne
Top achievements
Rank 2
Iron
commented on 18 Sep 2024, 12:45 PM

Hello Dinko

Yes, I try to enable the controls that I have in my form when I press a button on a CommandBar. I have a button modify and cancel in my command bar, to enable and disable the controls.

But I confused the read-only and the enabled property. If I set the enabled property then it works.

Dinko | Tech Support Engineer
Telerik team
commented on 19 Sep 2024, 12:27 PM

The difference between the two modes is that in Read-Only mode, you can check the available items inside the dropdown. You can change the selected items but still see what the dropdown offers. The control and its elements won't be grayed out.

If the control is disabled through the Enabled property, the control elements will be grayed out. Thus the user won't be able to select, copy the text, or open the dropdown.

Tags
DropDownList
Asked by
Jarne
Top achievements
Rank 2
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or