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

Updating RadDiagram Data Sources

4 Answers 54 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Donald
Top achievements
Rank 1
Donald asked on 21 Jul 2014, 10:06 AM
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

4 Answers, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 24 Jul 2014, 08:22 AM
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.

 
0
Bhavya
Top achievements
Rank 1
answered on 07 Jan 2017, 02:04 PM

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

0
khadeer
Top achievements
Rank 1
answered on 10 Jan 2017, 01:14 PM

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

 

0
khadeer
Top achievements
Rank 1
answered on 11 Jan 2017, 10:32 AM
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
Tags
Diagram
Asked by
Donald
Top achievements
Rank 1
Answers by
Slav
Telerik team
Bhavya
Top achievements
Rank 1
khadeer
Top achievements
Rank 1
Share this question
or