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.
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 KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support
Hey Chris,
You've already solved the problem.
I wrote the following:
ultraTabPageControl2.Text = "";
While I should've done:
So what do you set exactly when you say ultraTabPageControl2.Text = "";?
Hi DannyvdK,
I’m pretty surprised that accessing the Text property directly from the UltraTabPageControl doesn’t result in an exception, but sure enough, even though intelliSense doesn’t populate with that selection, VS doesn’t actually prevent you from setting it either.
My guess is that the UltraTabControlClass inherits this property from elsewhere, but doesn’t make any use of it, (or likely new features simply made it obsolete).
Interestingly, this property does not appear within the UltraTabControl’s members API list, so I believe it’s safe to assume that setting this property will have no noticeable effect on your application.
If you have any further questions, please let me know.