If I input error value into "LastModifiedAt" column of RadFilter then the page happen error. How to validate this value before "OnApplyExpressions" event.
My coding is below:
<telerik:RadFilter ID="RadFilter1" runat="server" OnApplyExpressions="radFilterGridControl_SearchGridData">
<FieldEditors>
<telerik:RadFilterTextFieldEditor FieldName="LastModifiedAt" DisplayName="LastModifiedAt" DataType="System.DateTime" />
</FieldEditors>
</telerik:RadFilter>
<telerik:RadGrid ID="radGridControl" runat="server" AllowFilteringByColumn="True" AllowPaging="True"
AllowSorting="True"
GridLines="None">
<MasterTableView AutoGenerateColumns="False" >
<Columns>
<telerik:GridBoundColumn DataType="System.DateTime" DataField="LastModifiedAt" HeaderText="LastModifiedAt" >
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
Can you help me this problem?
Thanks,
Mr PhuongLD
My coding is below:
<telerik:RadFilter ID="RadFilter1" runat="server" OnApplyExpressions="radFilterGridControl_SearchGridData">
<FieldEditors>
<telerik:RadFilterTextFieldEditor FieldName="LastModifiedAt" DisplayName="LastModifiedAt" DataType="System.DateTime" />
</FieldEditors>
</telerik:RadFilter>
<telerik:RadGrid ID="radGridControl" runat="server" AllowFilteringByColumn="True" AllowPaging="True"
AllowSorting="True"
GridLines="None">
<MasterTableView AutoGenerateColumns="False" >
<Columns>
<telerik:GridBoundColumn DataType="System.DateTime" DataField="LastModifiedAt" HeaderText="LastModifiedAt" >
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
Can you help me this problem?
Thanks,
Mr PhuongLD