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

[Solved] Simple data-binding Edit/Insert sample

1 Answer 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 1
Pierre asked on 26 Jan 2010, 08:57 PM
Hi,
Could ou help me with a simple sample using a dataset as Source and allowing Edit and Insert (no sql or linq only ds or dt). I have tested using Need Datasource and bind but is not clear. Thanks

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 29 Jan 2010, 10:06 AM
Hi Pierre,

Indeed, I would suggest you to bind the grid trough the NeedDataSource event. Then you can handle the insert, update, delete operation in the InsertCommand, UpdateCommand, DeleteCommand or ItemCommand event handler as shown here.

I hope this helps.

Regards,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Pierre
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or