Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3914
Bug - Cannot create multiple instances if control uses FlatDataSource
posted

Hi,

I created a TabControl, and each tab in the tabControl uses an instance of a usercontrol(called GridView) which contains a PivotGrid.

My UserControl has a function PopulateGrid(FlatDataSource fds) which does what the name indicates.

When I create the first tab (User control is instantialted, and populateGrid is called) I have no problem. But when I create a second tab, I get the following exception during instantiation of the UserControl

 

This is easy to replicate. Please report this as a bug and let me know if I can workaround this in any way.

 

Thanks

Sangeetha