I'm trying to disable the navigation for a GridDateTimeColumn, so far without any luck.
I've tried the code below, but it doesn't seem to work - how can I accomplish this?
I've tried the code below, but it doesn't seem to work - how can I accomplish this?
| protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e) |
| { |
| if (e.Item is GridEditableItem && e.Item.IsInEditMode) |
| { |
| GridEditableItem item = e.Item as GridEditableItem; |
| GridDateTimeColumnEditor editor = (GridDateTimeColumnEditor)item.EditManager.GetColumnEditor("column3"); |
| editor.PickerControl.Calendar.EnableNavigation = false; |
| } |
| } |