AD
Administrator
Syncfusion Team
November 4, 2003 03:59 PM UTC
When you say you create a panel, drop a grid on it, etc, and then save it, are you creating this panel on a form? If so, how are you trying to use it on another form? Are you copying and pasteing? If so, I think you will also have to copy and paste your database components as well.
Instead of a panel, you could use a userControl, and then drop this userControl on other forms from your toolbox. In this case, I think your database components would be available as part of the user control.
If I misunderstood what you are trying, if you will explain things some more, maybe we could suggest something.
BB
Brian Bacon
November 4, 2003 05:02 PM UTC
When I say I am creating a panel, I mean I am creating a UserControl and then changing it's base class to Panel (because XpTaskBar doesnt accept UserControls).
I did however find the problem and it was entirely my fault. I was falling back on a bad connection string.
I'm trying to work exactly like you suggest the only difference is that I'm a panel instead of a UserControl because sometimes I'm hosted on a form and sometimes I'm hosting within an XpTaskBar.