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
What kind of items source you have? Is it an IEnumerable or you have Excel’s file loaded?
Thanks.
Plamen.
Hi Plamen,
Just wanted to mention... When I comment out PopulateGrid(CreateFlatDataSource) it allows me to create multiple instances of the user control. But when I call this function in an instance, I cannot create any more instances. So it all has to do with creating FlatDataSource.
Thanks for your reply.
It is an IEnumerable created from DataTable.