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

Bug with declartive databinding?

1 Answer 12 Views
Grid
This is a migrated thread and some comments may be shown as answers.
EmpowerIT
Top achievements
Rank 2
EmpowerIT asked on 21 Jan 2010, 10:37 PM
I have a rad grid on which i was trying to do automatic operations. I had set the datasourceid on the master table view, however inserts/edits/deletes were not working. it only worked when i set the datasourceid on the telerik:RadGrid level as well

Is this correct behaviour?

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 25 Jan 2010, 03:23 PM
Hello

In order to bind a RadGrid to a declarative data source control you must set the ID of this control to the DataSourceID property of the grid. In this case you can skip the DataSourceID of the MasterTableView because it will use the setting of the grid. However the opposite is not true - the grid does not get the DataSourceID of its MasterTableView object.

I hope you find this information helpful.

Regards,
Martin
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
EmpowerIT
Top achievements
Rank 2
Answers by
Martin
Telerik team
Share this question
or