Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagram fialed to host C1 true grid grid (Read 1832 times)
Hamdy Ghanem
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 110
Location: Egypt
Joined: Mar 11th, 2009
Diagram fialed to host C1 true grid grid
Apr 15th, 2009 at 5:52am
Print Post  
I have a diagram I put a node control with C1  true grid , It saved successfully

but when I try to load again

this line
diagView.LoadFromXml(xdoc)

gives me this error

Cannot load hosted control of type 'C1.Win.C1TrueDBGrid.C1TrueDBGrid'.

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Diagram fialed to host C1 true grid grid
Reply #1 - Apr 15th, 2009 at 8:14am
Print Post  
Are you using our Windows Forms control? The assembly that contains the grid control should be loaded in your application at the time when you try to open the file, or otherwise Flowchart.NET cannot find the class whose instance it should create. You could pre-load the assembly using the Assembly.Load method, or simply create an instance of a class defined in that assembly.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Hamdy Ghanem
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 110
Location: Egypt
Joined: Mar 11th, 2009
Re: Diagram fialed to host C1 true grid grid
Reply #2 - Apr 15th, 2009 at 8:24am
Print Post  
It works fine now, after your help

many thanks for you
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint