Hi all,
I have a grid and three datetime columns within it.
<telerik:GridDateTimeColumn PickerType="DatePicker" DataType="System.DateTime" ...
<telerik:GridDateTimeColumn PickerType="DateTimePicker" DataType="System.DateTime" ...
<telerik:GridDateTimeColumn PickerType="TimePicker" DataType="System.DateTime" ...
Filtering by using DatePicker works fine.
When I try to filter by second column where I get to choose date and time (from DateTimePicker) and by 3rd column I get to choose time (from TimePicker) I get following error:
Exception Details: System.FormatException: The string was not recognized as a valid DateTime.
Source Error:
Stack Trace:
Any ideas?
Another question: Is it possible to set up grid not to display or localize javascript alert "No filter value!" when filter value is empty?
Thanks a lot for the answers.
Vik
I have a grid and three datetime columns within it.
<telerik:GridDateTimeColumn PickerType="DatePicker" DataType="System.DateTime" ...
<telerik:GridDateTimeColumn PickerType="DateTimePicker" DataType="System.DateTime" ...
<telerik:GridDateTimeColumn PickerType="TimePicker" DataType="System.DateTime" ...
Filtering by using DatePicker works fine.
When I try to filter by second column where I get to choose date and time (from DateTimePicker) and by 3rd column I get to choose time (from TimePicker) I get following error:
The string was not recognized as a valid DateTime.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.FormatException: The string was not recognized as a valid DateTime.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
|
Stack Trace:
[FormatException: The string was not recognized as a valid DateTime.] |
Any ideas?
Another question: Is it possible to set up grid not to display or localize javascript alert "No filter value!" when filter value is empty?
Thanks a lot for the answers.
Vik