This question is locked. New answers and comments are not allowed.
Hello,
I want to use a non-editable combo box in my user interface. Setting DropDownStyle to DropDownList almost does this for me except that I can still see a edit cursor when I press the mousebutton inside the combobox. Is there any way to get a win-control behaviour where there never is any edit cursor?
Johan
I want to use a non-editable combo box in my user interface. Setting DropDownStyle to DropDownList almost does this for me except that I can still see a edit cursor when I press the mousebutton inside the combobox. Is there any way to get a win-control behaviour where there never is any edit cursor?
Johan
12 Answers, 1 is accepted
0
Hello Johan,
We are investigating the issue, but at the moment we are unable to find a general and stable solution that works out of the box in all cases. What we can suggest is that you try your own custom logic using the following Win API:
HideCaret - http://msdn.microsoft.com/en-us/library/ms648403(VS.85).aspx
and
ShowCaret - http://msdn.microsoft.com/en-us/library/ms648406(VS.85).aspx
Sincerely yours,
Dimitar Kapitanov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We are investigating the issue, but at the moment we are unable to find a general and stable solution that works out of the box in all cases. What we can suggest is that you try your own custom logic using the following Win API:
HideCaret - http://msdn.microsoft.com/en-us/library/ms648403(VS.85).aspx
and
ShowCaret - http://msdn.microsoft.com/en-us/library/ms648406(VS.85).aspx
Sincerely yours,
Dimitar Kapitanov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Stefan Berkmiller
Top achievements
Rank 1
answered on 12 Dec 2008, 03:03 PM
Hello Telerik team,
In my opinion "ordinary" cursorless DropDownLists are a frequent requirement in software applications.
Our UI needs dozens of those comboboxes. But the Telerik Combox looks a bit confusing. The user gets a cursor but cannot edit the value. We're not very happy with that at the moment and think about falling back to the old fashioned Windows Forms combobox.
Are there concrete plans to enhance the Telerik Combobox to support "ordinary" DropDownList behavior in the next release? We'd need it desperately ;).
Cheers,
STB
In my opinion "ordinary" cursorless DropDownLists are a frequent requirement in software applications.
Our UI needs dozens of those comboboxes. But the Telerik Combox looks a bit confusing. The user gets a cursor but cannot edit the value. We're not very happy with that at the moment and think about falling back to the old fashioned Windows Forms combobox.
Are there concrete plans to enhance the Telerik Combobox to support "ordinary" DropDownList behavior in the next release? We'd need it desperately ;).
Cheers,
STB
0
Hi Stefan Berkmiller,
Thank you for the feedback.
We have initiated an extensive research to find how we differ from the standard controls so that we can address all inconsistencies. We realize that although our controls cover nearly 100% of the functionality the standard controls offer, there are still some differences we need to work out. The current case is one of them.
We will consider improving the current behavior, because it is indeed misleading. Hopefully you will see the improvements as soon as Q1 2009.
Do not hesitate to write me back if you have more questions.
Greetings,
Nick
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thank you for the feedback.
We have initiated an extensive research to find how we differ from the standard controls so that we can address all inconsistencies. We realize that although our controls cover nearly 100% of the functionality the standard controls offer, there are still some differences we need to work out. The current case is one of them.
We will consider improving the current behavior, because it is indeed misleading. Hopefully you will see the improvements as soon as Q1 2009.
Do not hesitate to write me back if you have more questions.
Greetings,
Nick
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Tim
Top achievements
Rank 1
answered on 03 Jun 2009, 05:46 PM
Hello,
I have also run into the same problem. I've tried the using the "HideCaret" function from user32.dll, but still no luck.
Has there been any progress in the arena?
Thanks,
Tim
I have also run into the same problem. I've tried the using the "HideCaret" function from user32.dll, but still no luck.
Has there been any progress in the arena?
Thanks,
Tim
0
Hello Tim, guys,
To our regret, our aggressive schedule for Q1 2009 did not permit us to address this issue. I have raised the priority of this, as the interest in this bug fix seems to be picking up.
We are moving towards Q2 2009, and we will try to include this functionality there.
Best wishes,
Nick
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.
To our regret, our aggressive schedule for Q1 2009 did not permit us to address this issue. I have raised the priority of this, as the interest in this bug fix seems to be picking up.
We are moving towards Q2 2009, and we will try to include this functionality there.
Best wishes,
Nick
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
Troy
Top achievements
Rank 1
answered on 21 Sep 2009, 04:58 PM
Any more on this "feature?" I coudn't agree more with the comments in this thread. It is beyond confusing and might be better described as appearsing broken. This control, or state, is probably one of the most commonly used controls in an application and we as well might not adoopt the toolset if we can't get basic standards implemented.
Any hacks workarounds in the meantime are welcome.
Thanks,
Troy
Any hacks workarounds in the meantime are welcome.
Thanks,
Troy
0
Hello Troy,
Thank you for the feedback. I have raised the priority of the RadComboBox issue when it is in DropDownList mode.
Until the issue is addessed, please consider using the following code snippet:
As you can see, I am hinding the caret of the TextBox that RadComboBox hosts and I am changing the mouse cursor to a normal arrow when the mouse pointer is over the hosted TextBox.
I hope this helps. If you have additional questions, feel free to contact me.
Kind regards,
Nikolay
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Thank you for the feedback. I have raised the priority of the RadComboBox issue when it is in DropDownList mode.
Until the issue is addessed, please consider using the following code snippet:
[DllImport("User32.dll")] |
static extern Boolean HideCaret(System.IntPtr hWnd); |
public Form1() |
{ |
InitializeComponent(); |
((HostedTextBoxBase)this.radComboBox1.ComboBoxElement.TextBoxElement.TextBoxItem.HostedControl).MouseEnter +=new EventHandler(Form1_MouseEnter); |
this.radComboBox1.GotFocus += new EventHandler(radComboBox1_GotFocus); |
} |
void Form1_MouseEnter(object sender, EventArgs e) |
{ |
((TextBox)this.radComboBox1.ComboBoxElement.TextBoxElement.TextBoxItem.HostedControl).Cursor = Cursors.Arrow; |
} |
void radComboBox1_GotFocus(object sender, EventArgs e) |
{ |
HideCaret(((TextBox)this.radComboBox1.ComboBoxElement.TextBoxElement.TextBoxItem.HostedControl).Handle); |
} |
As you can see, I am hinding the caret of the TextBox that RadComboBox hosts and I am changing the mouse cursor to a normal arrow when the mouse pointer is over the hosted TextBox.
I hope this helps. If you have additional questions, feel free to contact me.
Kind regards,
Nikolay
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Troy
Top achievements
Rank 1
answered on 24 Sep 2009, 09:09 PM
Hello Nikolay -
Your solution works well. Looking forward to the enhancement.
Thanks,
Troy
Your solution works well. Looking forward to the enhancement.
Thanks,
Troy
0
Mark McGraw
Top achievements
Rank 1
answered on 22 Nov 2009, 11:16 PM
Telerik,
Is there a recent update for this issue? This item was originally slated for Q1 2009 (it was first mentioned in 2008). The suggested "solution" which uses HideCaret() is not acceptable.
Thanks,
M
Is there a recent update for this issue? This item was originally slated for Q1 2009 (it was first mentioned in 2008). The suggested "solution" which uses HideCaret() is not acceptable.
Thanks,
M
0
Hello Mark McGraw,
The issue discussed in this thread will be addressed in Q3 2009 SP1 which will be released in the beginning of December.
Best wishes,
Nikolay
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
The issue discussed in this thread will be addressed in Q3 2009 SP1 which will be released in the beginning of December.
Best wishes,
Nikolay
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
michael mccurrey
Top achievements
Rank 1
answered on 16 Mar 2010, 10:19 PM
Any word on this one yet? This is needed in MultiColumnComboBox as well
0
Hello michael mccurrey,
There is no cursor in RadMultiColumnComboBox when DropDownStyle = DropDownList in Q1 2010. I would recommend you to update to this latest version if you have not done it so far. If you have additional questions, feel free to contact me.
Best wishes,
Nikolay
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items.
There is no cursor in RadMultiColumnComboBox when DropDownStyle = DropDownList in Q1 2010. I would recommend you to update to this latest version if you have not done it so far. If you have additional questions, feel free to contact me.
Best wishes,
Nikolay
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items.