﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebDesktop - How to disable or make invisible a single tab in code behind</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/How-to-disable-or-make-invisible-a-single-tab-in-code-behind/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>How to disable or make invisible a single tab in code behind</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/How-to-disable-or-make-invisible-a-single-tab-in-code-behind/</link><pubDate>Mon, 19 Sep 2011 00:23:29 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Bery,&lt;/p&gt;&lt;p&gt;You could not with that way. It should be  WebTab1.TabPages.GetNamedItem("Tab2").IsEnabled = false;. However, you could not close it from server side because we don't have any code to close it from behind code. Morelikely, you would need to remove the collection item pages and readd them again when you want to show.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</description></item><item><title>How to disable or make invisible a single tab in code behind</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/How-to-disable-or-make-invisible-a-single-tab-in-code-behind/</link><pubDate>Fri, 16 Sep 2011 10:51:37 GMT</pubDate><dc:creator>bbucher</dc:creator><description>&lt;p&gt;I'm having an odd problem.  In code-behind, I want to either disable or hide specific tabs.  However, when I try code like: &lt;/p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;
&lt;p&gt;WebTab1.TabPages[2].Tab.Visible = false;&lt;/p&gt;
&lt;p&gt;WebTab1.TabPages[2].Tab.Enabled = false;&lt;/p&gt;
&lt;p&gt;it disables, or makes invisible, the entire web tab is disabled or made invisible.  I'm clearly using incorrect syntax here - can you tell me what it should say?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Beryl&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;</description></item></channel></rss>