Hide an accordion pane if content or header is empty?

Asked By dan
06-Sep-10 02:16 PM
Earn up to 10 extra points for answering this tough question.

Hello,

Is it possible to hide an AJAX accordion pane if content or header is empty?  I have detailsview in content and bound fields in header and would like to hide the pane if empty?  This is not for one particular pane, but any that exist in my accordion control.

Thank you,

Create New Account
webform hello. . i am working in a project in asp.net c# using visual studio 2008. . i want to use ajax controls in my webform and drag & drop from toolkit as follows http: / / weblogs.asp.net / nannettethacker / archive / 2008 / 02 / 07 / ajax-control-tookit-installation-in-visual-web-developer.aspx http: / / programming.top54u.com / post / How-to runat = "server"> <title> Using the AJAX Control Toolkit in ASP.NET 3.5< / title> < / head> <body> <form id = "form1" runat = "server server" Enabled = "True" TargetControlID = "TextBox1"> < / cc1:DropShadowExtender> <br / > <br / > <cc1:Accordion ID = "Accordion1" runat = "server" RequireOpenedPane = "false"> <Panes> <cc1:AccordionPane ID = "AccPane1" runat = "server"> <Header> This is Pane 1.< / Header> <Content> <br / > This is pane one content.< / Content> < / cc1:AccordionPane> <cc1:AccordionPane ID = "AccPane2" runat = "server"> <Header> This is Pane 2.< / Header> <Content> <br / > This is pane two content.< / Content
jQuery accordion needed I need to make a jQuery accordion which drops down after clicking on the heading and shows content. You can use more simply with Ajax accordion < style type = "text / css" > .header { background-color : #4A669C ; border : 1px style > < cc1 : ScriptManager ID = "ScriptManager1" runat = "server" > < / cc1 : ScriptManager > < cc1 : Accordion Width = "400" ID = "Accordion1" runat = "server" HeaderCssClass = "header" ContentCssClass = "content Panes > < cc1 : AccordionPane runat = "server" ID = "pane1" > < Header > < u > Asp.NET < / u > < / Header > < Content > Here info about asp.net < br / > < br / > < br / > < / Content > < / cc1 : AccordionPane > < cc1 : AccordionPane ID = "pane2 AccordionPane > < cc1 : AccordionPane ID = "pane3" runat = "server" > < Header > < u > Vb.NET < / u > < / Header > < Content > Info about VB.net < br / > < br / > < br / > < / Content > < / cc1 : AccordionPane > < / Panes > < / cc1 : Accordion > The example of jquery: < html > < head > < base href = "http: / / www ajaxdaddy.com / media / demos / play / 1 / accordion / interface-accordion / " / > < meta http-equiv = "Content-Language" content = "en" / > < meta
ajaxToolkit , AccordionPane i m using a jaxToolkit : AccordionPane with 5 pane. i want to preserve selected pane index on each post back . is it posible ?? i want on master page and there are link buttons in each pane to navigate diff. contant page . now when i expand 3rd pane and click on any link than masterpage reloaded and selected this ._headerCssClass : this ._headerSelectedCssClass; } this ._selectedIndex = index; / / Save the selected pane to preserve on postbacks this .set_ClientState( this ._selectedIndex); / / Animate the pane changes if required if (animate) { this ._changePanes(lastIndex); } / / Raise the AjaxControlToolkit.AccordionSelectedIndexChangeEventArgs(lastIndex, index)); this .raisePropertyChanged( 'SelectedIndex' ); }, http: / / forums.asp.net / t / 1262353.aspx look below and ask your questions using SetLanguage() { if (_one = = "" ) { if (_language = = string .Empty) _language = Localization .GetCulturelName( "Accordion" ); else _language + = "Accordion" ; bool available = true ; string text1 = string .Empty; _rm = new ResourceManager one comes your gate so that ? ask any question < ajaxToolkit : Accordion ID = "MyAccordion" runat = "server" SelectedIndex = "0" HeaderCssClass = "accordionHeader" HeaderSelectedCssClass = "accordionHeaderSelected
smaller farm), the wizard presents a terrific option. hi, The Accordion control is one of the few independent or stand-alone it does not extend the behavior of any existing ASP.Net control, and is instead implemented independently. The Accordion Control is a part of the Microsoft Ajax Toolkit. The Accordion Control organizes your content into expandable Panes or Tabs which can be clicked to make the content of that Pane visible while hiding all the others. You can have virtually any HTML content inside the pane. check this link for more help http: / / www.eggheadcafe.com community / aspnet / 69 / 10323136 / trying-to-use-performance-point-in-accordion-web-part.aspx http: / / www.datasprings.com / resources / articles-information / ajax-accordion-control http: / / mosshowto.blogspot.com / 2008 / 12 / asp net-chart-control-sharepoint.html Hope this will help you You dashboard object by name. Using the code example 1. In Visual Studio, create a C# console application project that uses the
Wise for Visual Studio.NET Wise for Visual Studio.NET By Peter A. Bromberg, Ph.D. To "Print This Page" Link Peter Bromberg Wise for Visual Studio .NET is a total and complete installation development system for creating Installer (.MSI) installation packages that is 100% integrated into the Visual Studio.NET IDE. . It is a complete and user-friendly
Visual Studio.NET: Help Yourself! Visual Studio.NET: Help Yourself! By Peter A. Bromberg, Ph.D. Peter Bromberg I'm constantly annoyed by the number of developers using Visual Studio.NET who don't seem to see the need to create cryptic kind that only the original developer would understand! With Visual Studio.NET there is no excuse for this kind of
Migrating to Visual Studio.NET 2003: A Developer Perspective Migrating to Visual Studio.Net 2003: A Developer - oriented analysis By Peter A. Bromberg, Ph Platform On April 24, 2003 Microsoft Windows Server 2003 and Visual Studio .NET 2003 are officially released. Many developers and beta testers (myself through the present from these efforts was SOAP, Webservices, the .NET platform and the C# and VB.NET languages, XML support
Need Visual Studio .NET 2005 tutorials sites Hi, Can some one send some sites to learn Visual Studio .NET 2005.Need some tutorials. . Thanx in advance Visual Studio 2005 Hands-On Tutorial http: / / www.15seconds.com / issue / 060427 htm Introduction to Visual Studio .net http: / / www.exforsys.com / content / view / 1599 / 354 / Check