(UTC)
Welcome, Guest. Please
Login
or
Register
News:
Board Index
Help
Search
Login
Register
The MindFusion Forums
›
Flow Diagramming Components
›
ASP.NET
› Help
(Moderator: Slavcho)
‹
Previous Topic
|
Next Topic
›
Pages: 1
Send Topic
Print
Help (Read 1791 times)
bbbbbaai
YaBB Newbies
Offline
I Love MindFusion!
Posts: 3
Joined: Aug 5
th
, 2012
Help
Aug 11
th
, 2012 at 12:24pm
Print Post
How can i get the id of the Node user drew in the diagram?Can i get the Node'id from *.aspx.cs using c#? And how?
IP Logged
Stoyo
God Member
Offline
MindFusion support
Posts: 13230
Joined: Jul 20
th
, 2005
Re: Help
Reply #1 -
Aug 13
th
, 2012 at 6:27am
Print Post
There is a DiagramItem.Id property, but it is intended to be assigned by you and is not set automatically by the control. You could set it on the client side by calling e.getNode().setId() from NodeCreatedScript, and after postback you will be able to access it on the server via node.Id. For example, you could keep an integer counter as value of diagram.Tag, and increment and assign it to new nodes' Id when users draw them.
I hope that helps,
Stoyan
IP Logged
Pages: 1
Send Topic
Print
‹
Previous Topic
|
Next Topic
›
Forum Jump »
Board Index
» 10 most recent Posts
» 10 most recent Topics
General
News
Discussion
Flow Diagramming Components
News
Feature Suggestions
Windows Forms
WPF
Html Canvas & JavaScript
WinUI 3
Blazor
ASP.NET MVC
ASP.NET ««
Java Swing
ActiveX
.NET MAUI and Xamarin
Android
Cocoa Touch
Bug Reports
Scheduling and Gantt Components
News
Feature Suggestions
Windows Forms
WPF
ASP.NET
Html & JavaScript
Java Swing
.NET MAUI and Xamarin
Bug Reports
Gauge and Chart Components
News
Feature Suggestions
Windows Forms
WPF
Blazor
ASP.NET
Html Canvas & JavaScript
Java Swing
.NET MAUI and Xamarin
Bug Reports
Grid and Spreadsheet Components
News
Feature Suggestions
Windows Forms
WPF
Html & JavaScript
Java Swing
Bug Reports
Virtual Keyboard Components
News
Windows Forms
WPF
Avalonia
Java Swing
Html & JavaScript
Bug Reports
MindFusion.Reporting
News
Feature Suggestions
Windows Forms
WPF
Silverlight
Bug Reports
MindFusion.UI controls
Windows Forms
WPF
ASP.NET
Other MindFusion tools
News
Feature Suggestions
Discussion
Bug Reports
Archived Boards
Silverlight
.NET Compact Framework
Silverlight
Silverlight
« Board Index
‹ Board
The MindFusion Forums
» Powered by
YaBB 2.6.11
!
YaBB Forum Software
© 2000-2024. All Rights Reserved.