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

Server or Client rebind fails

1 Answer 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ahmed Ilyas
Top achievements
Rank 1
Ahmed Ilyas asked on 04 Apr 2012, 09:45 PM
I am coming to the conclusion that doing a very simple thing, is not possible in Telerik RadGrid controls. Instead of saving time, im losing time and money.

This is what I want to do, and I need CLEAR WORKING examples please. No links to redirect somewhere. Just clear posted tested examples:

Lets have a simple data source which contains 2 string fields and 1 DateTime source.
I want to bind this to a RadGrid Control.

I want to display the datetime as per normal in the DateTime column.

I then want to use a DateTimePicker and only show the Date filter (no time).

I want to be able to filter on the Date given. However the control does NOT support Date filtering but only WITH time. This is not what I want hence the further customisation.

At this point, how can I either:

a) Invoke server side so I can tehn perform filtering on my data source and then rebind the grid showing the filtered values
b) use client side to obtain the selected date from the DateTimePicker control (DatePicker) and then filter it on the client side

Thanks.

1 Answer, 1 is accepted

Sort by
0
Ahmed Ilyas
Top achievements
Rank 1
answered on 05 Apr 2012, 12:40 PM
I seem to find a way to do this but I dont think it will work with other custom filtering that is going on the grid (I think the existing solution im looking at has a drop down list of check boxes and then an ok button which then performs filtering on the clientside)

so I guess what I need is a way to do it all in the client side (or if the filtering can be obtained on server end then great). I just need a way to intercept when the filtering is going to happen on a column (in this case, the GridDateTime), then obtain the value selected and finally perform the filtering on the grid.

any examples of doing the above?
Tags
General Discussions
Asked by
Ahmed Ilyas
Top achievements
Rank 1
Answers by
Ahmed Ilyas
Top achievements
Rank 1
Share this question
or