Sunday, March 11, 2012

DropDownExtender and ImageButton

Hi,

I'm not able to fully reproduce this issue, but I think it's very likely to be caused by the event bubbling. That's in Javascript, an inner element's click event will cause its parent's event to be fired too. You may change this default behavior by attaching the following method as the click event handler for the element.

function doSomething(e)
{
if (!e) var e = window.event;
e.cancelBubble = true;
if (e.stopPropagation) e.stopPropagation();
}
 
Hope this helps. 

No comments:

Post a Comment