Bug with declartive databinding?

2 posts, 1 answers
  1. EmpowerIT
    EmpowerIT avatar
    117 posts
    Member since:
    Jun 2007

    Posted 21 Jan 2010 Link to this post

    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?
  2. Answer
    Martin
    Admin
    Martin avatar
    811 posts

    Posted 25 Jan 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top