Hi everyone,
I am using a RadGrid with several columns. In the GridDateTimeColumn I use the EnableRangeFiltering-property. Unfortunately, I have very high Dates in my database (01.01.2200 for example). That's why, I need to modify the MaxDate-property of the To-field for theRangeFiltering. How can I access the corresponding field in order to modify its MaxDate-value? You can see a part of my code below:
Thank you very much!
Regards,
Hendrik
<
telerik:RadGrid
runat
=
"server"
ID
=
"rg_pobTable"
>
<
MasterTableView
CommandItemDisplay
=
"Top"
DataKeyNames
=
"Id"
>
<
Columns
>
<
telerik:GridDateTimeColumn
UniqueName
=
"NächstePrüfung"
ShowFilterIcon
=
"False"
DataType
=
"System.DateTime"
EnableRangeFiltering
=
"True"
AllowSorting
=
"True"
AutoPostBackOnFilter
=
"True"
PickerType
=
"DatePicker"
SortExpression
=
"NächstePrüfung"
HeaderText
=
"Nächste Prüfung"
DataField
=
"NächstePrüfung"
DataFormatString
=
"{0:dd.MM.yyyy}"
>
<
HeaderStyle
Width
=
"325px"
/>
</
telerik:GridDateTimeColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>