I have successfully added the datepicker drop down as a filter for the grid. This is much better that typing in a date but I have some issues !
<telerik:GridDateTimeColumn DataFormatString="{0:d}" DataField="Date" HeaderText="Date" ReadOnly="True" SortExpression="Date" UniqueName="Date" DataType="System.DateTime" ></telerik:GridDateTimeColumn>
1. the BETWEEN filter is removed. How can I get 2 datepickers to drop down to get a between filter ?
2. I can not fully format the datepicker ! In codebehind I have added in
RadGrid1_ItemCreated
event the following:
Dim datebox As RadDatePicker = CType(filteringItem("Date").Controls(0), RadDatePicker)
datebox.Width = Unit.Pixel(80)
datebox.Skin = Application(
"TelerikTheme")
datebox.Calendar.ShowColumnHeaders = False
datebox.Calendar.ShowRowHeaders = False
datebox.Calendar.ShowOtherMonthsDays = False
datebox.Calendar.FastNavigationStep = 12
These 1st 2 above items in green work the size shrinks and a user's skin choice is applied , However the other 4 items compile, but have no affect on the look of the grid !
How can I modify the elements of the datepicker filter ?