Changing the DataBinding Behavior

3 posts, 0 answers
  1. Michael Malone
    Michael Malone avatar
    68 posts
    Member since:
    May 2010

    Posted 18 Mar 2013 Link to this post

    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. Michael Malone
    Michael Malone avatar
    68 posts
    Member since:
    May 2010

    Posted 18 Mar 2013 Link to this post

    I figured it out by following the example below.

    http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridincombobox/defaultcs.aspx?product=combobox
  3. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 19 Mar 2013 Link to this post

    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.
Back to Top