I am using ddaccordion for replacing Ajax CollapsiblePanelExtender. I want to achieve same behaviour as Ajax CPE using ddaccordion.
I have two requirements:
1) I need to check some conditions on code behind based on that expand/collapse the panel. How can I do it?
2) I have set persiststate: true, //persist state of opened contents within browser session?
Its clearly mentioned here the state persists untill the broswer get closed but I need to keep the state within the postbacks only.
Please help.
I solved the problem myself.
Just sharing solution to the second problem.
On master aspx page I have put this javascript code.