Disable tab button

5 posts, 1 answers
  1. Fishhhh
    Fishhhh avatar
    3 posts
    Member since:
    Feb 2019

    Posted 19 Feb 2019 Link to this post

    Hi ,

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

  2. Hristo
    Admin
    Hristo avatar
    1520 posts

    Posted 19 Feb 2019 Link to this post

    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.
  3. Fishhhh
    Fishhhh avatar
    3 posts
    Member since:
    Feb 2019

    Posted 19 Feb 2019 in reply to Hristo Link to this post

    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?

  4. Answer
    Hristo
    Admin
    Hristo avatar
    1520 posts

    Posted 19 Feb 2019 Link to this post

    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.
  5. Fishhhh
    Fishhhh avatar
    3 posts
    Member since:
    Feb 2019

    Posted 19 Feb 2019 in reply to Hristo Link to this post

    Yes, it work!

    Thanks for your reply.

Back to Top