Updating RadDiagram Data Sources

5 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
    1359 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. Bhavya
    Bhavya avatar
    43 posts
    Member since:
    Aug 2015

    Posted 07 Jan Link to this post

    Hi Team,

    I am facing two issues with telerik controls

    1) RadDiagram

    2) Radrotator

    Problem : Raddiagram issue while binding.

    Description : While saving an image to one folder image is updated to given folder path. When we are Binding to Raddiagram with saved image it is binding previous image to raddiagram.

    Problem : RadRotator issue while binding

    Description : While saving an image to one folder image is updated to given folder path. When we are Binding to Radrotator with saved image it is binding previous image to radrotator.

    Waiting for your prompt response ASAP.

    Thanks for your support and Cooperation in advance.

    Thanks & Regards

    Bhavya

  4. khadeer
    khadeer avatar
    5 posts
    Member since:
    Nov 2015

    Posted 10 Jan in reply to Bhavya Link to this post

    Hi Telerik Team,

               Even am facing same problem what bhavya has posted. The problem is once I change the image in a folder where am referring images to bind RadRotator its not showing the updated images instead its binding old images. And in the RadDiagram am trying to load the json file in which am binding image path to display as RadDiagram background from the specific folder after updating image its also not binding the updated image to the RadDiagram . But when i clear the cache both will take updated images. I request you to please suggest me to resolve this issue. 

     

    Thanks & Regards

    Khadeer sharief

     

  5. khadeer
    khadeer avatar
    5 posts
    Member since:
    Nov 2015

    Posted 11 Jan in reply to Slav Link to this post

    Hi Telerik Team,
               Even am facing same problem what bhavya has posted. The problem is once I change the image in a folder where am referring images to bind RadRotator its not showing the updated images instead its binding old images. And in the RadDiagram am trying to load the json file in which am binding image path to display as RadDiagram background from the specific folder after updating image its also not binding the updated image to the RadDiagram . But when i clear the cache both will take updated images. I request you to please suggest me to resolve this issue. 

    Thanks & Regards
    Khadeer sharief
Back to Top