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

GridDateTimeColumnEditor

3 Answers 143 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Aron
Top achievements
Rank 2
Aron asked on 21 Oct 2008, 09:21 AM
Hello,
I looked high and low and don't see a demo or info about how to use the GridDateTimeColumnEditor

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 21 Oct 2008, 09:39 AM
Hello Kansa,

If a GridDateTimeColumn is in edit mode, you can try out the following code to access the GridDateTimeColumnEditor.
cs:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
    { 
        if (e.Item is GridEditableItem && e.Item.IsInEditMode) 
        { 
        GridEditableItem eeditedItem = e.Item as GridEditableItem; 
        GridEditManager editMan = editedItem.EditManager; 
 
        GridDateTimeColumnEditor editor = editMan.GetColumnEditor( "ColumnUniqueName" ) as GridDateTimeColumnEditor; 
          
         } 
     }        

Thanks
Princy.
0
Aron
Top achievements
Rank 2
answered on 21 Oct 2008, 09:43 AM
No, I'm looking an example or demo on how to use it out-of-the-box.
Nothing special.
0
Aron
Top achievements
Rank 2
answered on 22 Oct 2008, 11:25 AM
bump bump

demo or example please
Tags
Grid
Asked by
Aron
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Aron
Top achievements
Rank 2
Share this question
or