I need to add an ultrawingrid control to an UltraWintab control at runtime. Apparently I am adding it to a wrong part of the tab control because the grid control fails to get created (Created property is false when I look at it in debugger) without giving me any errors.If I use the same construct to add grid to the form itself, it works perfectly fine so I figure the fault is with the WinTab. I found a related article for webtab (Knowledge Base Article: KB0979) and tried to apply it to wintab, but the object structure is a bit different, and I stiil can not make my code work. Below is the code I am using. I will appreciate any help.
Dim ctr As New Infragistics.Win.UltraWinGrid.UltraGrid ctr.Name = GridNameTry MainTab.Tabs(PanelKey).TabPage.Controls.Add(ctr) Return ctrCatch ex As Exception Return NothingEnd Try
Hello Helen,
I am just checking about the progress of the issue. Did you solve your issue accordingly the information that I provided to you?
Let me know if you need any further assistance.
Thank you for using Infragistics Components.
Sincerely,
Hristo
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
Thanks for the help! Something was probably wrong with my Visual studio. Everything worked fine after I rebooted.