Hi
I got stuck with the issue while using accordion wat i want to do is i want to add and remove header click handler of accordion pane based on the buttton click outside the accordion
I am using a function to remove handler when it is called form pageload it disables the header click but when u call this function from onclientclick() of button it is not working.Please help in resolving the issue.
function RemoveHandlerAtRuntime() {
debugger;
var acc = document.getElementById('<%=accrdCountry.ClientID %>').AccordionBehavior;
var c = acc.get_Pane(0);
$removeHandler(c.header, "click", acc._headerClickHandler);
}
Thanks in advance
I got stuck with the issue while using accordion wat i want to do is i want to add and remove header click handler of accordion pane based on the buttton click outside the accordion
I am using a function to remove handler when it is called form pageload it disables the header click but when u call this function from onclientclick() of button it is not working.Please help in resolving the issue.
function RemoveHandlerAtRuntime() {
debugger;
var acc = document.getElementById('<%=accrdCountry.ClientID %>').AccordionBehavior;
var c = acc.get_Pane(0);
$removeHandler(c.header, "click", acc._headerClickHandler);
}
Thanks in advance