﻿<?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 - WebEssentials - How to Show/Hide/Enable/Disable WebAccordionItem</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/How-to-ShowHideEnableDisable-WebAccordionItem/</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 Show/Hide/Enable/Disable WebAccordionItem</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/How-to-ShowHideEnableDisable-WebAccordionItem/</link><pubDate>Sun, 31 Aug 2014 22:16:17 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hello,&lt;br&gt;&lt;br&gt;Currently, there is no API to hide/show the WebAccordion’s item.&lt;br&gt;&lt;br&gt;I will forward this scenario as a feature request to the developer team, if your want to.&lt;br&gt;&lt;br&gt;I apologize for the inconvenience.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.&lt;br&gt;&lt;/p&gt;</description></item><item><title>How to Show/Hide/Enable/Disable WebAccordionItem</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/How-to-ShowHideEnableDisable-WebAccordionItem/</link><pubDate>Sun, 31 Aug 2014 03:35:05 GMT</pubDate><dc:creator>roiu@a-g-r-e.com</dc:creator><description>&lt;p&gt;This is surely a work around... It works, but why isn't it API'ed?&lt;/p&gt;</description></item><item><title>How to Show/Hide/Enable/Disable WebAccordionItem</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/How-to-ShowHideEnableDisable-WebAccordionItem/</link><pubDate>Fri, 29 Aug 2014 05:00:25 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hello,&lt;br&gt;&lt;br&gt;I found a work around to hide the WebAccordion’s item via JavaScript &amp;amp; Server Side code.&lt;br&gt;&lt;br&gt;Here’s the example snippet code to hide the first WebAccordion’s item:&lt;br&gt;&lt;/p&gt;&lt;pre&gt;via JavaScript:function Button1_OnClick()
{
    var WebAccordion1 = ISGetObject("WebAccordion1");
    WebAccordion1.FrameObj.childNodes[0].style.display = "none";
}

via Server Side:
protected void Button2_Click(object sender, EventArgs e)
{
    string javaScriptCode = "";
    javaScriptCode += "var WebAccordion1 = ISGetObject('WebAccordion1');";
    javaScriptCode += "WebAccordion1.FrameObj.childNodes[0].style.display = 'none';";
    this.Page.ClientScript.RegisterStartupScript(this.GetType(), "Script", javaScriptCode, true);
}&lt;/pre&gt;&lt;p&gt;Please kindly have review on the attached sample to see the result about this work around.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.&lt;br&gt;&lt;/p&gt;</description></item><item><title>How to Show/Hide/Enable/Disable WebAccordionItem</title><link>http://www.intersoftsolutions.com/Community/WebEssentials/How-to-ShowHideEnableDisable-WebAccordionItem/</link><pubDate>Thu, 28 Aug 2014 09:31:36 GMT</pubDate><dc:creator>roiu@a-g-r-e.com</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;&lt;p&gt;Could you please tell me how to set&amp;nbsp;WebAccordionItem Visible/Hidden/Endabled/Disabled via javascript + server side code (C#)&lt;/p&gt;&lt;p&gt;Thank you&lt;/p&gt;</description></item></channel></rss>