Hi.
using RadControls I believe - how can I get the filter type chosen by the user on clientside, so I can do a filter based upon that.
We hit a problem with date filtering so if we do an Equals, it will not find the date since the time is not considered when performing the filtering.
Example:
So we have the datetimes showing.
But at this point, how can I intercept the filtering on the clientside, so I can then also get the input they have entered to filter textbox/datepicker then append say "00:00:00" to that value, finally doing the filter.
how can I do this?
using RadControls I believe - how can I get the filter type chosen by the user on clientside, so I can do a filter based upon that.
We hit a problem with date filtering so if we do an Equals, it will not find the date since the time is not considered when performing the filtering.
Example:
telerik:GridDateTimeColumn FilterControlWidth="60px" AllowFiltering="true" AutoPostBackOnFilter="false"
CurrentFilterFunction="Contains" HeaderStyle-HorizontalAlign="Center" DataField="DateTime"
HeaderText="Date" SortExpression="DateTime" ShowFilterIcon="true" UniqueName="DateTime"
PickerType="DatePicker" DataFormatString="{0:g}" DataType="System.DateTime">
<
HeaderStyle
Width
=
"100px"
HorizontalAlign
=
"center"
></
HeaderStyle
>
<
ItemStyle
HorizontalAlign
=
"center"
Width
=
"100px"
></
ItemStyle
>
</
telerik:GridDateTimeColumn
>
So we have the datetimes showing.
But at this point, how can I intercept the filtering on the clientside, so I can then also get the input they have entered to filter textbox/datepicker then append say "00:00:00" to that value, finally doing the filter.
how can I do this?