Server or Client rebind fails

2 posts, 0 answers
  1. Ahmed Ilyas
    Ahmed Ilyas avatar
    51 posts
    Member since:
    Feb 2010

    Posted 04 Apr 2012 Link to this post

    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.
  2. Ahmed Ilyas
    Ahmed Ilyas avatar
    51 posts
    Member since:
    Feb 2010

    Posted 05 Apr 2012 Link to this post

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