Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Remove GridDateTimeColumn DateRange filter when both date pickers are blank

$
0
0

Hello, I'm trying to do something pretty straightforward, I'd like to remove the filter parameters from my grid results when clearing the two datepickers from the griddatetime column daterange filter. Example (From: 01/01/2015 To: 02/01/2015....results in data between that date range, If I were to clear the two datepickers, the grid does not return ALL records nor does it even do a postback like any other filter types that get cleared.

 

Here is my markup.

<telerik:GridDateTimeColumnDataField="AssignedDate"DataType="System.DateTime"   DataFormatString="{0:d}"FilterControlAltText="Filter AssignedDate column"HeaderText="Assigned Date"SortExpression="AssignedDate"EnableRangeFiltering="true"PickerType="DatePicker"UniqueName="AssignedDate"ShowFilterIcon="false"AutoPostBackOnFilter="true">
 <HeaderStyle  HorizontalAlign="Center"Width="300px"/>
<ItemStyle   HorizontalAlign="Center"/>
</telerik:GridDateTimeColumn>

Viewing all articles
Browse latest Browse all 94857

Latest Images

Trending Articles



Latest Images