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

Changing the DataBinding Behavior

2 Answers 42 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Michael Malone
Top achievements
Rank 1
Michael Malone asked on 18 Mar 2013, 01:15 PM
I'm using the ItemsRequested event to databind my RadComboBox by searching the database for the Text typed in the textbox portion on the ComboBox. The only problem is, when the user initially clicks into the textbox the ItemsRequested event immediately fires so it pulls in all possible data. Is there a way to not fire this event when the user clicks into the textbox -but- still fire the event if the user clicks the down arrow on the ComboBox itself?

2 Answers, 1 is accepted

Sort by
0
Michael Malone
Top achievements
Rank 1
answered on 18 Mar 2013, 03:10 PM
I figured it out by following the example below.

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridincombobox/defaultcs.aspx?product=combobox
0
Hristo Valyavicharski
Telerik team
answered on 19 Mar 2013, 03:23 PM
Hi Michael,

Thank you for sharing your findings with community.

All the best,
Hristo Valyavicharski
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ComboBox
Asked by
Michael Malone
Top achievements
Rank 1
Answers by
Michael Malone
Top achievements
Rank 1
Hristo Valyavicharski
Telerik team
Share this question
or