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
35
ultratabcontrol tab controls not changining property till I clicked over the tab
posted

Hello,

I am using ultraTabControl, using usercontrol and changing the property of tabPage controls ( e.g., visibility, text etc.)

control could be any ultracontrols. What I'm experiencing is the required change I am able to do, but it is not reflecting on ultraTabControlPage till the time I click on the other tab & then the desired tab.

I replicated my query in the sample available in the following link:

drive.google.com/.../view

I tried to trigger the ultraTabControl1_SelectedTabChanged event, but no luck.

There is no such error, but it needs to be done like this. In my actual project, I'm working across the winforms. SO come up with this sample

Parents
  • 7535
    Offline posted

    Hello Lizzy, 

    Thank you for contacting. I am able to run the sample,I am little unsure of what you are trying to do ,although looking at the code I noticed that in ultraTabControl1_SelectedTabChanged event you have switch cases for tabIndex ,instead you can have cases for active tab index and can change the visibility and text of each individual active tabs. So like this:

    switch (ultraTabControl1.ActiveTab.Index  )

     

    If this is not what you are trying to do then please provide the steps of the issue and expected behaviors for clear understanding of the issue.

    Regards,

Reply Children