Problem: execute client-side filtering when pressing "Enter" with GridDateTimeColumn

2 posts, 0 answers
  1. Martin
    Martin avatar
    4 posts
    Member since:
    Jun 2012

    Posted 21 Apr Link to this post

    I create a RadGrid in code behind which works perfectly fine.

    Now I need (additionally to the server-side filtering when clicking a filter menu entry) to add client-side filtering when the user presses the "Enter" key.

    This also works perfectly fine, because I add to every GridFilteringItem an OnKeyPress event handler to the filter-TextBox in ItemCreated:

    textBox.Attributes.Add("onkeypress", string.Format("doFilter(this, event,'{0}', Telerik.Web.UI.GridFilterFunction.Contains)", Grid.ClientID));

     

    My Problem:

    I cannot find a possibility to add the event handler to the filter-TextBox of the GridDateTimeColumn.

    How can I do that?

  2. Eyup
    Admin
    Eyup avatar
    3012 posts

    Posted 26 Apr Link to this post

    Hello Martin,

    I've already replied to your ticket with ID: 1029685. I suggest that we continue our conversation on the mentioned thread.

    Regards,
    Eyup
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top