Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How build the FlowChartX in aspx file (Read 1617 times)
bluedream198096
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Apr 26th, 2006
How build the FlowChartX in aspx file
Nov 29th, 2006 at 11:53pm
Print Post  
if i want to build the FlowChartX in aspx file,
how do it by the FlowChartX SaveToString method, then from which a diagram can be reconstructed by LoadFromString,  like the online demo, please provide the code sample to me, thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How build the FlowChartX in aspx file
Reply #1 - Nov 30th, 2006 at 5:51am
Print Post  
We don't have ASPX samples for FlowChartX. You could do it like this:

- add a reference to FlowChartX from the COM tab in the "Add reference" dialog
- create a new FLOWCHARTLib.FlowChart instance.
- use the flowchart API to create some nodes
- call SaveToString and assign the result to a hidden field.
- on the client side use the OBJECT tag to create  a FlowChart instance on the page.
- use LoadFromString to load the flowchart from the hidden field value.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint