开发者

Is it possible to trigger AJAX CollapsiblePanelExtender animation from code behind?

开发者 https://www.devze.com 2023-01-16 03:45 出处:网络
I am using an AJAX CollapsiblePanelExtender for several sections of a form. I can collapse a panel programatically using the following 2 lines:

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

0

精彩评论

暂无评论...
验证码 换一张
取 消