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

RadGrid InsertCommand stopped working

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 30 Oct 2008, 08:04 PM
I have a simple grid used for CRUD operations and all of a sudden I noticed it stopped working for both Inserts and Updates (dunno about deletes).  If I click Add New Record and type in my info and then click Insert, my breakpoint in my InsertCommand method is not even hit.  However if I repeat this action all works as normal.  So if the user inserts the record twice, the second attempt will work.

    <telerik:RadGrid ID="ApplicationGrid" runat="server" AutoGenerateColumns="False"
        GridLines="None" AllowAutomaticInserts="True" AutoGenerateDeleteColumn="True"
        AutoGenerateEditColumn="True" OnNeedDataSource="ApplicationGrid_NeedDataSource"
        OnInsertCommand="ApplicationGrid_InsertCommand" OnUpdateCommand="ApplicationGrid_UpdateCommand"
        OnDeleteCommand="ApplicationGrid_DeleteCommand" OnItemDataBound="ApplicationGrid_ItemDataBound">
        <MasterTableView EditMode="InPlace" CommandItemDisplay="Top" DataKeyNames="Id">

Any help is appreciated.

Thanks,
Scott

1 Answer, 1 is accepted

Sort by
0
Scott
Top achievements
Rank 1
answered on 31 Oct 2008, 05:12 PM
I got it fixed, another HTTP handler was conflicting with the Telerik one, I just went back to a previous version of this other library I am using.
Tags
Grid
Asked by
Scott
Top achievements
Rank 1
Answers by
Scott
Top achievements
Rank 1
Share this question
or