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

Hide the Caret

2 Answers 87 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 04 Jun 2009, 08:44 PM
Can I request a property in the RadComboBox that would allow me to hide the caret for IsEditable="True"? Maybe something like HideCaret="True/False"?

In Silverlight forums, I found that the technique used was to change the background color of the TextBox, because the caret is always the inversion of that color, but there was some trick to make the background color actually not change. I forget where this was, unfortunately, and I've never actually tested this method.

Thanks.

  • The latest version of Silverlight 2 is installed, version Silverlight 2 GDR 1 (2.0.40115.0).
  • Operating System: Windows Vista Home Premium (32-bit).
  • Attempted Browsers: Internet Explorer 8.0.6001.18702, Mozilla Firefox version 3.0.10, Google Chrome 2.0.172.28.
  • Telerik version: 2009.1.413.1020.
  • Preferred programming language: C#.
  • Microsoft Visual Studio 2008 Professional Edition, Version 9.0.30729.1 SP.
  • Microsoft Expression Blend 2 Service Pack 1, Version 2.1.1760.0.

2 Answers, 1 is accepted

Sort by
0
Accepted
Valeri Hristov
Telerik team
answered on 08 Jun 2009, 02:12 PM
Hi Alex,

I would suggest in this case to use RadComboBox with set IsEditable=false, which is virtually the same, except the users will not be able to copy the selected text.

All the best,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Richard
Top achievements
Rank 1
answered on 08 Jun 2009, 09:06 PM
I guess that will work for our scenario. Thanks for the suggestion.
Tags
ComboBox
Asked by
Richard
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Richard
Top achievements
Rank 1
Share this question
or