Return to Snippet

Revision: 63357
at May 1, 2013 01:49 by box86rowh


Updated Code
if (e.CommandName == RadGrid.RebindGridCommandName)
        {
            
        }
        GridEditableItem item = e.Item as GridEditableItem;
        if (e.CommandName == RadGrid.InitInsertCommandName)
        {
            e.Canceled = true;
            ListDictionary newValues = new ListDictionary();
            e.Item.OwnerTableView.InsertItem(newValues);
        }
        if (e.CommandName == RadGrid.PerformInsertCommandName || e.CommandName == RadGrid.UpdateCommandName)
        {
            if (item != null && item.IsInEditMode)
            {

            }
        }
        if (e.CommandName == RadGrid.DeleteCommandName)
        {
            if (item != null)
            {

            }
        }

Revision: 63356
at April 30, 2013 23:31 by box86rowh


Initial Code
if (e.CommandName == RadGrid.RebindGridCommandName)
        {
            
        }
        GridEditableItem item = e.Item as GridEditableItem;
        if (e.CommandName == RadGrid.InitInsertCommandName)
        {
            e.Canceled = true;
            ListDictionary newValues = new ListDictionary();
            e.Item.OwnerTableView.InsertItem(newValues);
        }
        if (e.CommandName == RadGrid.InitInsertCommandName || e.CommandName == RadGrid.UpdateCommandName)
        {
            if (item != null && item.IsInEditMode)
            {

            }
        }
        if (e.CommandName == RadGrid.DeleteCommandName)
        {
            if (item != null)
            {

            }
        }

Initial URL

                                

Initial Description
Allows quick access to boilerplate code

Initial Title
RADGrid item command shortcut

Initial Tags
c#

Initial Language
C#