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
880
Programmtically assigning a datasource to a ultragrid that's on a Ultra Tab Control
posted

Hello:

 

 

I am using the UltraTabControl (version: 11.1.20111.2111) on a Windows form. The control has a Ultragrid (version: 11.1.20111.2111) as a shared control shared across the tabs.

 

My intent is to have the same datasource assigned to the grid but the datamember will change according to the tab that is selected.

 

When I assign the dataset at design time, this works fine.  But when I bind it programmatically to the same dataset control in the Form Load event, the "SelectedTabChanged" event reports that the datasource bound to the control is nothing.

 

What am I doing wrong?