Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to Host Table Ui.WebControl (Read 3106 times)
roberta_gonsales
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Mar 18th, 2008
How to Host Table Ui.WebControl
Mar 18th, 2008 at 7:52am
Print Post  
Hello,

I wonder how can I host the table Web control
(System.Web.UI.WebControls.Table namespace)
as a node in my flowchart which resides on aspx page of a WebApplication .
I also want to coonect them via the flowcart arrows.

Thanks,
Roberta
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to Host Table Ui.WebControl
Reply #1 - Mar 18th, 2008 at 8:15am
Print Post  
Hi,

Flowchart.NET nodes can host only Windows Forms controls. You could create an aspx page that contains a WebControls.Table instance, then host a browser control inside the ControlNode and navigate the browser to that page.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
roberta_gonsales
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Mar 18th, 2008
Re: How to Host Table Ui.WebControl
Reply #2 - Mar 18th, 2008 at 11:14am
Print Post  
Hi,

If I understand your suggestion,
I have to create (dynamically) aspx page for each node in the graph...

Is there a nicer way to show in aspx application graph built from tables as  nodes (with some columns) and text data in them
and arrows links with text between them.
(I am using the method in your samples about webapp which generates bitmap from the webchart.flowchart object)

thanks,
Roberta
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to Host Table Ui.WebControl
Reply #3 - Mar 18th, 2008 at 11:28am
Print Post  
Hi,

The control provides a Table node class. The API is different from the one of WebControls.Table, but it lets you do much of the things possible with html tables, such as create spanning cells, display images in cells, etc.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
roberta_gonsales
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Mar 18th, 2008
Re: How to Host Table Ui.WebControl
Reply #4 - Mar 19th, 2008 at 8:18am
Print Post  
Hi,

can I use the flowchart.table in my webapplication
instead of the webchart.table control ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to Host Table Ui.WebControl
Reply #5 - Mar 19th, 2008 at 10:14am
Print Post  
Hi,

What do you mean by "flowchart.table"?

Stoyan
  
Back to top
 
IP Logged
 
roberta_gonsales
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Mar 18th, 2008
Re: How to Host Table Ui.WebControl
Reply #6 - Mar 19th, 2008 at 11:06am
Print Post  
Hi,
there is a table node in flowchartx namespace
and one in webchart namespace.
can i get a sample of using the table from the webchart namespace ?

thanks,
Roberta
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to Host Table Ui.WebControl
Reply #7 - Mar 19th, 2008 at 11:25am
Print Post  
Hi,

They are the same classes if you use them after the Webapp manner. Setting up a table look like

table.RedimTable(2, 5);
table[0, 0].ColumnSpan = 2;
table[0, 0].Text = "Header 1";
table[0, 3].ColumnSpan = 2;
table[0, 3].Text = "Header 2";
table[1, 1].RowSpan = 2;
table[1, 1].Text = "span";
table[1, 1].Image = Image.FromFile(...);

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