Add settings for disabling the interaction options of RadDiagram
It will be possible to disable the various actions that the diagram control currently supports. You can find them listed in the following help article: http://www.telerik.com/help/aspnet-ajax/diagram-rich-layout-interaction.html
Posted on:09 Jun 2017 09:13
We need to restrict user from resizing as by resizing the diagram is getting spoiled and saved
no control for user actions for selected shapes
Posted on:16 Feb 2016 15:23
This is my solution to remove the connector Auto for all shapes:
<telerik:RadDiagram ID="myDiagram" runat="server">
<telerik:DiagramShapeConnector Name="Bottom" />
<telerik:DiagramShapeConnector Name="Left" />
<telerik:DiagramShapeConnector Name="Right" />
<telerik:DiagramShapeConnector Name="Top" />
Posted on:14 May 2015 09:03
I have use this for a floor plan, it look good.
If I select one of the shape, how can I read the shape ID, can it be done?
Posted on:05 May 2015 20:43
How about disabling editable attributes for individual shapes instead of entire diagram?
Posted on:01 Apr 2015 14:04
most excellent. thank you!
Posted on:13 Mar 2015 14:01
With the addition of the Pannable property in Q1.2015 release, it is possible to completely remove any form of interactivity with the diagram. Check the following code out:
<telerik:RadDiagram ID="disabledDiagram" runat="server" Width="400" Height="400" Pannable="false" Selectable="false" Editable="false" ZoomRate="1" ZoomMax="1">
<LayoutSettings Enabled="true" Type="Tree" />
<ContentSettings Text="Shape 1" />
<ContentSettings Text="Shape 2" />
<ContentSettings Text="Shape 3" />
<FromSettings ShapeId="s1" />
<ToSettings ShapeId="s2" />
<FromSettings ShapeId="s1" />
<ToSettings ShapeId="s3" />
Notice the Pannable, Selectable, Editable, ZoomRate and ZoomMax properties set in the Diagram declaration. This setup would result in a read-only diagram as far as interactivity goes.
I need the ability to disable these editable attributes as well. Resize and Rotate specifically. Any update?
Posted on:28 Oct 2014 20:10
Is this feature is available in the last release?
Posted on:22 Sep 2014 13:37
Making shapes not resizable/draggable would be very useful so that I can use RadDiagram to render Sankey diagrams. The properties are there now, but do not seem to have any effect.
Also It implementing a 'visible' property on shapes would be very practical: you create all shapes beforehand and switch them on and off according to certain conditions. (now you have to remove them from the shapes collection to achieve this).
Posted on:17 Sep 2014 14:17
I want to disable resize, delete, drag and edit functionalities of diagram/shape/connector.
In other way, I need a kind of read only diagram. There would not be interaction with end user or end user should not change the structure of the diagram or data in any way. But user should be able to click on a link in the data if there is any.
Posted on:19 Aug 2014 15:19
this absolutely has to be implemented -- everywhere in life we have diagrams that are not for manipulation. if we're to use RadDiagram as a replacement for static images or HTML hacks, then making it read-only is a basic, missing feature.
as for my customers, we're using RadDiagram to produce a rich diagram representing facility pipleline systems and use the Connection stroke properties to give visual indicators of real-time flow rates and blockage statuses (green pipes/connections, red pipes/connections, etc). Users can hover or click the Connections (using a hack) to pull up additional info. But my users are confused because they can accidentally enter text-entry mode, or drag Shapes or text labels around...
once we get this, and IDs for Connections, this will be a tool to be reckoned with!