This is a migrated thread and some comments may be shown as answers.

Editing DateTime column

1 Answer 23 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rayne
Top achievements
Rank 1
Rayne asked on 14 Jun 2011, 09:04 PM
I am trying to use a CellEditTemplate to define a RadDatePicker on a GridView cell. Reason for this is that I want to control the Selectable Dates, so the user cannot select a date after today. It is partially working.

I've defined a TextBlock as the CellTemplate and the RadDatePicker as the CellEditTemplate. But when I select a date and move to the next cell, it's not updating the value in the view mode for that cell.

I'm sure I'm missing something to make this work. How do I define a RadDatePicker as teh CellEditTemplate on a GridViewDataColumn bound to a property on my VM?

1 Answer, 1 is accepted

Sort by
0
Rayne
Top achievements
Rank 1
answered on 14 Jun 2011, 09:06 PM
Posted too soon. I need to quit doing that. I forgot to set it to Two-Way binding. Doh!
Tags
GridView
Asked by
Rayne
Top achievements
Rank 1
Answers by
Rayne
Top achievements
Rank 1
Share this question
or