How to expand or collapse when we click on the header text of Webpanel?
The panel has the ability to expand/collapse when you doubleclick on the header. If you want to have it close on a single click, you'll need to add a click event handler to the header element, and use the client-side object model to collapse the panel.
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/WebPanel_CSOM.html
-Tony
This information is unavailable. As a matter of fact, I can't find any examples of coding the even handler for the WebPanel expand/collapse functionality. I am writing a web part and using the webpanel but I can't get to any information on the collapse funtionality except to use the CSOM element. How do you do that?
Hi Tony
Sorry if this is a dumb question, but how do I add an onclick event handler to the text header of the webpanel? From there I can definitely use the CSOM object which I am familiar but I am completely stuck as to how to create this on click handler since its not listed as a client event in the attributes of the webpanel or header
Many thanks for your excellent support
Regards
Richard