i have a data grid with a template column for date.
data field having both date and time as the data source. while displaying it formatted only to display date.
the data and time format differs with the language format.
<telerik:GridTemplateColumn DataField="RegDate" FilterControlWidth="30" HeaderStyle-Width="30" SortExpression="RegDate" AllowFiltering="true" ItemStyle-HorizontalAlign="Left" UniqueName="lblRegDate">
<ItemTemplate >
<div class="column-80" style="text-align:left;width:56px;float:left"><%#string.Format("{0:d}", Convert.ToDateTime(Eval("RegDate"))) %></div>
</ItemTemplate>
</telerik:GridTemplateColumn>
when filters applied its not filtering by formatted date.
data field having both date and time as the data source. while displaying it formatted only to display date.
the data and time format differs with the language format.
<telerik:GridTemplateColumn DataField="RegDate" FilterControlWidth="30" HeaderStyle-Width="30" SortExpression="RegDate" AllowFiltering="true" ItemStyle-HorizontalAlign="Left" UniqueName="lblRegDate">
<ItemTemplate >
<div class="column-80" style="text-align:left;width:56px;float:left"><%#string.Format("{0:d}", Convert.ToDateTime(Eval("RegDate"))) %></div>
</ItemTemplate>
</telerik:GridTemplateColumn>
when filters applied its not filtering by formatted date.