iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
Could you please tell me how to set WebAccordionItem Visible/Hidden/Endabled/Disabled via javascript + server side code (C#)
Thank you
Hello,I found a work around to hide the WebAccordion’s item via JavaScript & Server Side code.Here’s the example snippet code to hide the first WebAccordion’s item:
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); }
Please kindly have review on the attached sample to see the result about this work around.Regards,Hans K.
This is surely a work around... It works, but why isn't it API'ed?
Hello,Currently, there is no API to hide/show the WebAccordion’s item.I will forward this scenario as a feature request to the developer team, if your want to.I apologize for the inconvenience.Regards,Hans K.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname