Is it possible to trigger AJAX CollapsiblePanelExtender animation from code behind?
I am using an AJAX CollapsiblePanelExtender for several sections of a form. I can collapse a panel programatically using the following 2 lines:
ajaxCollapsiblePanelExtender1.Collapsed = true;
ajaxCollapsiblePanelExtender1.ClientState = "true";
However, the expand/colla开发者_开发技巧pse animation does not play as when the Expand/CollapseControlID is clicked. It simply appears in the collapsed state. Is it possible to trigger this animation programatically?
You could open it by clicking the object with javascript/jQuery when you return from the server
I think this may be the only way to get what you want
精彩评论