How to close DropDownExtender's Panel manually?
Web Development
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a nested DIV structure (not shown here) where both have an onclick event, hence I am cancelling the event from bubbling up to the outer DIV, but this has caused the Panel to remain opened when I click on another dropdown (in another item within my repeater) or anywhere else on the page, and I am wondering if anyone knows how to close the panel manually using the AjaxControlToolkit.DropDownBehavior? Here is some source code: <%# Eval("Text") %>
The JavaScript:
function cancelEvent(e) { //var test = AjaxControlToolkit.DropDownBehavior.get_isOpen(); //src.onclick(); alert('cancel');