This is a migrated thread and some comments may be shown as answers.

Disable tab button

4 Answers 249 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Fishhhh
Top achievements
Rank 1
Fishhhh asked on 19 Feb 2019, 07:36 AM

Hi ,

I want to control tab button disable or enable in different condition, is there any way I can do this ?

4 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 19 Feb 2019, 08:10 AM
Hi,

Can you please share more details about your scenario and what you are trying to accomplish?

Looking forward to your reply.

Regards,
Hristo
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Fishhhh
Top achievements
Rank 1
answered on 19 Feb 2019, 08:41 AM

Thanks for reply.

Like attach file, I have a DropDownList, when I choose [Fruit], I just want to show tab which is Fruit (Apple and Banana) and disabled another animal tabs.

Is this clear enough?

0
Accepted
Hristo
Telerik team
answered on 19 Feb 2019, 11:08 AM
Hello,

You can access the tab strip item associated with a particular window and set its Enabled property false:
this.documentWindow1.TabStripItem.Enabled = false;

I hope this will help.

Regards,
Hristo
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Fishhhh
Top achievements
Rank 1
answered on 20 Feb 2019, 12:30 AM

Yes, it work!

Thanks for your reply.

Tags
Dock
Asked by
Fishhhh
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Fishhhh
Top achievements
Rank 1
Share this question
or