Hi
I am using the grid control to display data from a database. The first column is always a date eg
Date (DD/MM/YY) QTY
1/1/2010 1
1/2/2010 5
1/3/2010 7 etc
All of my dates actually represent months and I display them as Jan-10, Feb-10, Mar-10 etc but store them in the database as a full date on the first day of the month
My grid has the ability to add records which I do manually in code called from the insert grid event. I get the value of the date picker with
As there is not a month / year picker I'd like to use the date picker but if the user picks say "13/3/2010" then I would like to change this immediatley to "1/3/2010".
Is this possible, if so can you give me some pointers?
Thanks
Johnathan
I am using the grid control to display data from a database. The first column is always a date eg
Date (DD/MM/YY) QTY
1/1/2010 1
1/2/2010 5
1/3/2010 7 etc
All of my dates actually represent months and I display them as Jan-10, Feb-10, Mar-10 etc but store them in the database as a full date on the first day of the month
My grid has the ability to add records which I do manually in code called from the insert grid event. I get the value of the date picker with
Dim
InsertedDate = TryCast(InsertedItem("mydatecolumn").Controls(0), RadDatePicker).SelectedDate
As there is not a month / year picker I'd like to use the date picker but if the user picks say "13/3/2010" then I would like to change this immediatley to "1/3/2010".
Is this possible, if so can you give me some pointers?
Thanks
Johnathan