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

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

1 Answer 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 21 Apr 2016, 04:22 PM

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?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 26 Apr 2016, 10:50 AM
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.
Tags
Grid
Asked by
Martin
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or