Updating RadDiagram Data Sources

2 posts, 0 answers
  1. Donald
    Donald avatar
    10 posts
    Member since:
    Jan 2009

    Posted 21 Jul 2014 Link to this post

    If RadClientDataSource is used for both the symbol and connection bound data sources, will the data sources, if they are to a SQL Server database, be updated when changes are made on the diagram; e.g. symbol title changed, new symbol or connection added, etc.?

    If not, is there another approach or a relatively easy workaround to do this?

    Thanks,

    Donald
  2. Slav
    Admin
    Slav avatar
    1355 posts

    Posted 24 Jul 2014 Link to this post

    Hi Donald,

    The RadDiagram control does not support automatic updates of its data source when changes are made to the diagram.

    Nevertheless, you could manually go through the entries in the DataSource and in the ConnectionDataSource of the diagram and if there is a change to update the actual data sources.

    It is also possible to use the export/import feature of the diagram to save its state, because this way it will be easier to retrieve the changes in the diagram data: http://demos.telerik.com/aspnet-ajax/diagram/examples/saveload/defaultcs.aspx

    In your post you mentioned that you are using RadClientDataSource to get data from an SQL Server database. The RadClientDataSource is designed for data binding to web services, so please clarify if I have misunderstood your case.

    Regards,
    Slav
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top