I have a Silverlight UI that includes a TabControl (Microsoft tab control) with several pages, and on one of the pages sits a grid. Data is bound to the grid dynamically during the course of the application using a call to grid.ItemsSource. It seems that the data binding only resolves if the tab page holding the grid is visible (is the selected tab page). Could this be true? If the grid is visible, I am able to see all of the metadta for the grid's data (columns, etc.); however, if the grid is not visible, none of the data & metadata is available.
I am also experiencing other 'strange' behaviors in IG controls (such as the XamTree control) on other pages of the tab control when switching between pages. Is there something that developers need to be aware of when hosting IG controls on pages of a TabControl?
(Note: I am using Infragistics 2010.2.)
Due to the quirky (and annoying) problems I was experiencing while hosting the IG controls in a TabControl, I've modified my UI to use a series of Expander panels. However, I am still interested to hear about issues with hosting IG controls in the TabControl (for potential future use).
I have created an application based on your description (as I understood) and tested - but I haven't seen the behavior you have been describing. In my project I have a Microsoft TabControl with multiple tabs. The first tab has button, the second tab has a grid. When the first tab is active (with button), I perform a button Click event to load the grid that reside in the second tab (inactive), it load fine.
If these steps are incorrect, please provide a sample so I can test and debug the behavior.
Thanks,
Sam