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
105
Cannot modify ultrawintab control (or contents) with VS 2010 Beta 2
posted

If I create a new form with an ultrawintab control on it (or attempt to change the size of a control within an existing form that uses ultrawintab controls) at runtime I get the error

System.InvalidOperationException: Once initialized the SharedControlsPage property of an UltraTabControl cannot be changed.

at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.set_SharedControlsPage(UltraTabSharedControlsPage value)

 

Do you have a version that can be used with VS 2010 - I am still targeting the 3.5 framework at present but the error seems to persist across all targeted platforms.

 

Parents
No Data
Reply
  • 85
    Verified Answer
    Offline posted

    I have had the same problem I compared the *.designer.vb  and found the VS2010 removes the

    BeginInit and EndInit calls on the tabcontrol but adding back in

            CType(Me.C1Tab1, System.ComponentModel.ISupportInitialize).BeginInit()

    before

            Me.C1Tab1.SuspendLayout()

            CType(Me.C1Tab1, System.ComponentModel.ISupportInitialize).EndInit()

    before

            Me.C1Tab1.ResumeLayout(False)

    That seems to work

Children