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
1365
Text of tabpage not mutable at runtime?
posted

Dear friends at Infragistics,

I'm using an Infragistics.Win.UltraWinTabControl with some Infragistics.Win.UltraWinTabControl.UltraTabPageControl. As you know these UltraTabPagecontrols have Text properties. When you set these in the Designer it's fine. But I update the Text property at runtime and the new value is not showing.

Even not after calling Invalidate.

Strange behaviour if you ask me and pretty basic stuff. The regular Tabcontrol from Microsoft does this perfectly.

Parents
No Data
Reply
  • 4618
    posted

    Hi Dannyvdk,

    I have taken  a close look at this issue, but I have only so far observed expected behavior for the UltraTabControl.

    I was able to successfully update the TabPage text by accessing this property from both the UltraTabControl’s tab collection as well as that exposed from the  TabPageControl.

    An example of this approach being the following,
     ultraTabControl1.Tabs[0].Text = "";

     ultraTabPageControl2.Tab.Text = "";

    I am curious if you are producing this behavior while using a specific build or if you are implementing any other conditions which may inhibit normal updates to the Text property.

    Please provide a sample wherein this issue is produced and I will be more than happy to take a look at this issue in the context of your project.

    If you have any further questions in the meantime or if I may be of any further assistance, please let me know.

    Sincerely,
    Chris K
    Developer Support Engineer
    Infragistics, Inc.
    www.infragistics.com/support

    SetTabPageTextAtRuntime92362.zip
Children