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

Events OnUpdate/Insert/Delete do not fire

1 Answer 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Roman
Top achievements
Rank 1
Roman asked on 19 Dec 2008, 04:47 PM
Hi,

I am using RadGrid and trying to provide update / insert new record with template form. The main problem is that events onUpdate/Insert do not fire. I am using this example http://demos.telerik.com/aspnet-ajax/Grid/Examples/DataEditing/TemplateFormUpdate/DefaultCS.aspx and adjusts it for my purpose (add more columns, use Business Logic Layer class which returns an IEnumerable as datasource for grid). But when I click the button btnUpdate inside FormTemplate nothing is happened. Could any body provide me with any idea of what is going on?

Thanks a lot,
Mark

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 22 Dec 2008, 07:41 AM
Hi Mark,

Have you set AllowAutomaticUpdates/AllowAutomaticInserts property to true? If so try setting it to false and see whether the UpdateCommand/InsertCommand event is getting fired.

Shinu.
Tags
Grid
Asked by
Roman
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or