GridDateTimeColumnEditor

4 posts, 0 answers
  1. Aron
    Aron avatar
    80 posts
    Member since:
    Dec 2005

    Posted 21 Oct 2008 Link to this post

    Hello,
    I looked high and low and don't see a demo or info about how to use the GridDateTimeColumnEditor
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 21 Oct 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Aron
    Aron avatar
    80 posts
    Member since:
    Dec 2005

    Posted 21 Oct 2008 Link to this post

    No, I'm looking an example or demo on how to use it out-of-the-box.
    Nothing special.
  5. Aron
    Aron avatar
    80 posts
    Member since:
    Dec 2005

    Posted 22 Oct 2008 Link to this post

    bump bump

    demo or example please
Back to Top