Sunday, March 11, 2012

Dropdown Panel - stop mouseover!

Hi,

I think you may explicitly call show function on the behavior to show it. But this may not fulfill all your requirements. Because it will still be hidden when click anywhere else on your page.

Here is a code snippet illustrates my idea:

<script type="text/javascript">
function pageLoad()
{
$find("DDE").show();
}
</script>

<ajaxToolkit:DropDownExtender runat="server"ID="DDE"
TargetControlID="TextLabel"
DropDownControlID="DropPanel" />
<br />

My personal idea is that this extender may not be the best choice to fit your requirements, since it internally attach hover / mouseleave handlers to the element it extends.

Anyway, hope this can help you.

No comments:

Post a Comment