'Tab' control 's visible doesn't work.Why?

I use tab control in my applition. And I set visible=false, but it doesn't work.

my code is:

-----------------------------------------------

<asp:ScriptManager ID="ScriptManager1" runat="server" />
  <div>
   <ajaxToolkit:TabContainer runat="server" ID="Tabs" Height="138px" ActiveTabIndex="0"
    Width="402px">
    <ajaxToolkit:TabPanel runat="server" ID="Panel1" HeaderText="Tab1" Visible="false">
     <ContentTemplate>
      1111
     </ContentTemplate>
    </ajaxToolkit:TabPanel>
    <ajaxToolkit:TabPanel runat="server" ID="Panel3" HeaderText="Tab2">
     <ContentTemplate>
      2222
     </ContentTemplate>
    </ajaxToolkit:TabPanel>
    <ajaxToolkit:TabPanel runat="server" ID="Panel2" HeaderText="Tab3">
     <ContentTemplate>
      3333
     </ContentTemplate>
    </ajaxToolkit:TabPanel>
   </ajaxToolkit:TabContainer>
  </div>

--------

in the web page, the 'Tab1' is still there. and visible doesn't work? Why

my configition is:
asp.net 2.0
vs2005 
AjaxControlToolkit 1.0.10920.29667

 

0
chgsnake
6/19/2008 10:50:14 AM
asp.net.ajax_control_toolkit 17816 articles. 1 followers. Follow

3 Replies
841 Views

Similar Articles

[PageSpeed] 3

 I copy&pasted your code and it works for me.. Maybe you have something in the code behind?

0
okkko
6/19/2008 11:32:06 AM

Instead of using  visible property , use Enabled,

 <ajaxToolkit:TabPanel runat="server" ID="Panel1" HeaderText="Tab1" Enabled="false">

Enabled works for all versions , because there was a bug in visible property .

Also make sure you are working with the latest toolkit version .


Regards,

Anas Ghanem.


Note:Please Don't hesitate to click "Report Abuse" link if you noticed something wrong on the forums (like duplicate ,Off-topic,offensive,or any post that violates the website "TERMS OF USE"). -- Thanks!

0
anas
6/19/2008 11:40:15 AM

ok,I have resolve this problem.

I setup a new release of AjaxToolkit and it has not this problem.

new release is 1.0.20229.34161

0
chgsnake
6/20/2008 5:47:38 AM
Reply:

Similar Artilces:

''''''''''''''''''''
Name: haznen Email: haznenatyahoodotcom Product: Gran Paradiso Alpha 8 Summary: '''''''''''''''''''' Comments: '''''''''''''''''''''''''''''''''''' Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061204 UGES/1.7.2.0 GranParadiso/3.0a1 From URL: http://www.mozilla.org/projects/granparadiso/ Note to readers: Hendrix gives...

'''''
Name: mario Email: ramar17atfastwebnetdotit Product: Gran Paradiso Alpha 2 Summary: ''''' Comments: K: Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2) Gecko/20070206 GranParadiso/3.0a2 ...

'do' won't 'do' if '/'
Greetings to All from Au, Have a NetWare Perl 5.8.4 and wanted to tweak File\Spec\NW.pm to try and standardise on '/' separators. If I run a test script (t/uni/lower.t) with an unmodified NW.pm, it calls t/uni/case.pl, that, in case.pl, (when the path separators are '\'), the $file is '..\lib\unicore\To\Lower.pl' and the following code portion works, with $simple getting a returned table: sub casetest { my ($base, $spec, $func) = @_; my $file = File::Spec->catfile(File::Spec->catdir(File::Spec->updir, "lib", &qu...

'''
Name: L Lachowsky Email: e2brutus_10atyahoodotcom Product: Firefox Summary: ''' Comments: why duddn this surprise me... I change default server from IE to Mozilla, and then i get error messages. well, shud I decide to not get on my computer with Mozilla..or shud I risk security breeches with IE....hmmm at least i can get on the internet with IE Browser Details: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this fee...

the option for obtaining info on the new update ('what's new')doesn't work
Name: Product: Firefox Summary: the option for obtaining info on the new update ('what's new')doesn't work Comments: See Summary - no link opens, neither by clicking nor right clicking - seems like it's a dead link and one that would be quite important Browser Details: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729) From URL: Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ...

Cast from type ''''DBNull'''' to type ''''String'''' is not valid.
How do I avoid getting this error: Cast from type ''''DBNull'''' to type ''''String'''' is not valid. I am trying to get values from the database into a form for updating using a Datareader, SQL is set to allow nulls for certain fields as they are not required but the only way I can get the form to display is by adding a space in SQL. Is there another way around this? Check if it is equal to DBNull.Value first and if it is, don't do the cast.Stanley Tan theSpoke Blog Where in the code does it need to go? I am using the following and it's the profile that isn't always requi...

table_info('','','','%') cannot return any types
I was recently confirming table_info special cases and discovered the case for getting table_types cannot work. table_info('','','','%') should return a list of table types but it returns a list of empty strings instead: my @types = $h->tables('', '', '', '%'); print "all types:\n", join("xxx\n", @types), "\n"; # should output something like: # "dbo" # "INFORMATION_SCHEMA" # "sys" # and actually outputs: xxx xxx It seems to be down to the following ...

no ''Open All in Tabs''
no "Open All in Tabs" --------------------- When you browse a folder @ the "Bookmark Toolbar" and this folder is not displayed (you see this ">>") and when you reach this folder and its got a few bookmarks inside you will not see "Open All in Tabs" * note: first time I thought that this us only happen with a javascript bookmarks folder, but this is the same for all (RSS ATOM General...) images... http://img507.imageshack.us/img507/9/20070616165459fv3.png http://img507.imageshack.us/img507/4949/20070616165541wd9.png http://img507.images...

Firefox doesn't work well in 'User' mode as opposed to 'Administrator' mode
Name: Dave Wintermute Email: dewin59atgmaildotcom Product: Firefox Summary: Firefox doesn't work well in 'User' mode as opposed to 'Administrator' mode Comments: Logging into my account fails on http://www.boynton-beach.org/ in User logon, but works fine in Administrator logon. Similarly, loggin into my account at wireless.att.com fails in the User logon, but works ok in the Administrator logon. I recently downloaded Chrome and discovered that I do not have these problems when logging into my accounts with either of the above sites. I will probably stay with Firefox since I have been using it since .9 beta, but switching from User to Administrator takes too much time, so I'll use Chrome for the above sites and others where I have a similar problem logging into my account. If you have any suggestions for me to fix these problems, please advise. Thanks. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. "Dave Wintermute" <hendrix-no-replyatmozilladotorg> wrote in message news:PridncdAerj81K_RnZ2dnUVZ_vednZ2d@mozilla.org... > Name: Dave Wintermute > Email: dewin59atgmaildotcom > Product: Firefox > Summary: Firefox do...

The 'open in new tab' button doesn't work.
Name: Graham Email: gandicaseatgmaildotcom Product: Firefox Release Candidate Summary: The 'open in new tab' button doesn't work. Comments: Hi Have been using Bets versions and hoped this annoying little bug might have been fixed, but it hasn't been. Right-click on a link and select open in new tab - the tab opens but the link doesn't! I am currently trying out Chrome and it looks to be faster at the moment than 3.5.7, so I hope this little bug can be fixed and I can 'come back to Firefox' full time! Hope this helps. Best wishes, Graham Br...

'b'..'a'
Hello. I'm using defferent 5.6.0's for Win32. I wonder wheter following behaviour is intentional or not: d:\>perl -e "print 'b'..'c'" bc d:\>perl -e "print 'b'..'a'" bcdefghijklmnopqrstuvwxyz I expected empty list in latter case, like in perl -e "print 'bb'..'a'" <!ENTITY Vadim REALLIFE "Vadim V.Konovalov, St.Petersburg, Russia"> &Vadim; On Wed, Sep 20, 2000 at 03:14:41PM +0400, Konovalov, Vadim wrote: > Hello. > > I'm using defferent 5.6.0'...

I can't stop a 'what's new' tab opening
Name: Bradley Crees Product: Shiretoko Summary: I can't stop a 'what's new' tab opening Comments: every time I open firefox it opens a tab with http://en-us.www.mozilla.com/en-US/firefox/3.1b1/whatsnew/ I can't stop it coming up, and it's affecting my ocd Browser Details: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b1) Gecko/20081007 Firefox/3.1b1 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. On Oct 31, 4:02=A0pm, Bradley Crees <hendrix-no-replyatmozilladotorg> wrote: > Name: =A0 =A0Bradley Crees > Product: Shiretoko > Summary: I can't stop a 'what's new' tab opening > > Comments: > every time I open firefox it opens a tab withhttp://en-us.www.mozilla.com= /en-US/firefox/3.1b1/whatsnew/I can't stop > it coming up, and it's affecting my ocd > > Browser Details: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1= b1) Gecko/20081007 Firefox/3.1b1 > From URL:http://hendrix.mozilla.org/ > > Note to readers: Hendrix gives no expectation of a response to this feedb= ack > but if you wish to provide one you must BCC (not CC) the sender for them = to > see it. Yes i am getting the same thing opens home page tab + whats new tab , very iritating ...

'or' or 'union'
Hello I was just wondering, in general what is better to use, an 'or' clause in a select or a 'union' to join two selects together. Do both statements create work tables? Many thanks Alex I think OR will be better than union. because suppose u have 3 tables and using OR u can join table a and table b and table c so each table will have only one read. but using union you will join table a and table b and in another query of union u will use table (a or b) and table c so ur one read is more in union . Ramdas Alex Cheung wrote: > Hello > >...

'IN' Clause or 'OR'
Hello, [1]: select * from TABLEA where COL1 IN('value1','value2''valu3'....) [2]:select * from TABLEA where COL1 = 'value1' OR COL1= 'value2' OR COL1='valu3'. TABLEA is a huge table and it has non-clustered index on COL1. Among the above 2 queries, which query will give me the better performance or fast response and WHY? What is the difference between 'IN' and 'OR' clauses as for as Sybase Optimization is concerned. Which is the better one to be used on huge tables. Thanks. Mac An IN list is treated as a series of OR clauses. There's no diff between the two as far as the optimizer is concerned. Eric Miner Sr. engineer Optimizer Group Ma wrote: > Hello, > > [1]: select * from TABLEA where COL1 IN('value1','value2''valu3'....) > > [2]:select * from TABLEA where COL1 = 'value1' OR COL1= 'value2' OR > COL1='valu3'. > > TABLEA is a huge table and it has non-clustered index on COL1. Among the > above 2 queries, which query will give me the better performance or fast > response and WHY? > > What is the difference between 'IN' and 'OR' clauses as for as Sybase > Optimization is concerned. Which is the better one to be used on huge > tables. > > Thanks. > Mac ...

superreview granted: [Bug 404773] Find bar doesn't like the letters 'b', 'o ', 'd', 'y', and 'random'
Johnny Stenback (:jst) <jst@mozilla.org> has granted Dave Townsend (Mossop) <dtownsend@mozilla.com>'s request for superreview: Bug 404773: Find bar doesn't like the letters 'b', 'o', 'd', 'y', and 'random' https://bugzilla.mozilla.org/show_bug.cgi?id=404773 Attachment 291924: patch rev 1 https://bugzilla.mozilla.org/attachment.cgi?id=291924&action=edit ------- Additional Comments from Johnny Stenback (:jst) <jst@mozilla.org> Nice :) r+sr=jst ...

INSTALLSCRIPT doesn't have 'site', 'vendor' values?
Hi, I notice the following in the MakeMaker docs (version 5.91_01): INSTALLDIRS set to perl site vendor PREFIX SITEPREFIX VENDORPREFIX INST_ARCHLIB INSTALLARCHLIB INSTALLSITEARCH INSTALLVENDORARCH INST_LIB INSTALLPRIVLIB INSTALLSITELIB INSTALLVENDORLIB INST_BIN INSTALLBIN INSTALLSITEBIN INSTALLVENDORBIN INST_SCRIPT INSTALLSCRIPT INSTALLSCRIPT INSTALLSCRIPT ...

Installation 'Sybase DataWindow PS' printer on W98 doesn't work (so PDF export can't work either)
I have a problem with export DataWindow content to PDF on W98 systems. (I don't have any problem with PDF export on other systems like as WINNT, W2K, WXP). I found out that the problem is in the Sybase DataWindow PS printer. It looks like installed but it DOESN'T WORK on W98. When I try print something on this printer then no PostScript file is created. So I tried manual installation of it but it occurs an error during manual installation (I used description of instalation from Bruce Armstrong). The error said that printer driver (PSCRIPT.DLL) can't be loaded. I use...

'exists'? Why doesn't it work?
------_=_NextPart_001_01C31893.158D4106 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi everybody, I'm having a problem using the exists function. I have the following = code that takes a list of searchwords (@search) and searches texts = stored in a MySQL database and orders them by relevance. My idea was that records that contain more than one search word are = probably more relevant than others.=20 The search results (id, rank) are stored in a hash with id as key and = rank as the corresponding value. As it may be p...

Filter's rule that matches custom header doesn't work for incoming messages and 'Run filters on Message'
Hi! I have filter with rule X-Bugzilla-Status is NEW and it matches _only_ when I choose 'Run filters on Folder'. It does _not_ match incoming messages and when I choose 'Run filters on Message'. 'Apply filter when:' is set to 'Checking Mail or Manually Run'. It's IMAP account and I'm running TB 5.0. Could someone please confirm this? Is there a bug for this already? rkent on #maildev irc channel pointed me to this bug https://bugzilla.mozilla.org/show_bug.cgi?id=363238 ...

can't get reports 'Old Chart's and 'New Charts' to work properly
1. If I try and draw a chart it doesn't go beyond June of this year so I'm missing a lot of data in the output. 2. Is there a reason for this - I have been modding bugzilla so that it has an extra status field from earlier this year - would that have had an impact ? 3. Also when I try and do a Old Chart or NewChart I can't see my new 'Status' field to select - this is ok if I do a bar chart though. cheers On Mon, 2011-12-05 at 03:25 -0800, nothtb@ukonline.co.uk wrote: > 1. If I try and draw a chart it doesn't go beyond June of this year so &g...

Label control's text doesn't appear to be set (in the page which has a user control )when trying to update the text property in the FormView's ItemUpdated event
Hi There,I have a user control which hosts a formview control, gridview control and a label control. The grid view is usedto show rows in the DB and when clicked to edit each row, a form view opens up in edit mode with that particular row info. So I have nothing in the item template.My first question is..is it mandatory to have smth in the itemtemplate of the form view.I have controls in edititemtemplate and insertitemtemplate.When a particular row is edited, I would like to show a status msg showing that the row has been updated.For this, I use the ItemUpdated event of the formview and try ...

Why doesn't 'delete' Tab from Enterprise Manager work correctly?
Hey folks, this has happened a number of times in the last few weeks.  I add a module to a page, that blows up.  Can't use the delete in the drop down actions menu.   So I go to EM, go to Tabs table, and delete the offending tab record.  The trigger nicely deletes all the TabModule records.  However, when I reload the browser page, I *still see* the name of that Tab on the page!  Now, of course I found a work around, which was to just add any tab, and it will replace the one that's on the menu, but where is this menu name info being stored?  Wh...

It's the fastest ''firefox'' i've ever had!!!:)
Name: Blagovest Email: blago_944atabvdotbg Product: Firefox Summary: It's the fastest ''firefox'' i've ever had!!!:) Comments: I's a great product!I'm really amazed! Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1) Gecko/20081007 Firefox/3.1b1 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ...

One of the iManager's doesn't have 'Module Installation' under Configure?
Well, I'm a bit 'confused', one of the servers' imanager doesn't have the Module Installation showing under Configure. What to do? NW6.5SP5upd1 -- /fribse Please ask this in the iManager forum, thanks. -- Andrew C Taubman Novell Support Forums Volunteer SysOp http://support.novell.com/forums (Sorry, support is not provided via e-mail) Opinions expressed above are not necessarily those of Novell Inc. NetwareGuy wrote: >one of the servers' imanager doesn't have >the Module Installation showing under Configure. uninstall and r...

Web resources about - 'Tab' control 's visible doesn't work.Why? - asp.net.ajax_control_toolkit

Resources last updated: 2/26/2016 3:42:05 PM