OnSearch event for Enter pressed

2 posts, 0 answers
  1. robertbialy
    robertbialy avatar
    3 posts
    Member since:
    May 2007

    Posted 25 Mar 2013 Link to this post

    For RadSearchBox binded to ObjectDataSource seems OnSearch event give back proper data (e.Value) only in case when item from the searchBox dropdown is clicked.

    Rest two triggers for this event, mean  search button  click or  Enter pressed always give back null in e.Value

    Did you notice similar?
    best regarsd robert
  2. Plamen
    Plamen avatar
    2817 posts

    Posted 28 Mar 2013 Link to this post

    Hi Robert,

    This is actually the default behavior of RadSearchBox because when a user just  click "Enter" or the search button there is actually no value -and you can search in only by the text that is typed. If an item from the drop down is selected you have more information (like Value) by which you will be able to search.

    Hope this will explain the issue. If you have further questions please let me know.

    All the best,
    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