Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Unassigned: Adding/Removing Header Click Handler in Ajax Accordion Pane [27710]

$
0
0
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

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>