Welcome Guest Search | Active Topics | Sign In | Register

eo_CancelBubble(event) Options
John Valine
Posted: Wednesday, July 27, 2011 2:41:49 PM

Rank: Member
Groups: Member

Joined: 7/20/2011
Posts: 10
I am trying to use the eo_CancelBubble(event) method to close a flyout.

<eo:Flyout ID="Flyout1" runat="server" For="f1" ExpandDirection="TopRight" >
<ContentTemplate>
<div onclick="eo_CancelBubble(event);">
<div class="popupPhoto shadowBox">
<asp:Image ID="fImage1" runat="server" ImageUrl="/events/201011-guardians-freedom/guardians-of-freedom01.jpg" />
</div>
</div>
</ContentTemplate>
</eo:Flyout>
When I click the flyout, nothing happens, the flyout remains. Also, where can I find documentation on the use of eo_CancelBubble(event) and other methods.

Thanks,
John
eo_support
Posted: Wednesday, July 27, 2011 3:14:54 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

A flyout will be closed on mouse click by default. eo_CancelBubble can be used to cancel the mouse click event thus prevent it from closing. So you should not use eo_CancelBubble if you wish the flyout to close.

You can find more information about our client side API here:

http://doc.essentialobjects.com/library/1/clientapi_howto.aspx

Hope this helps.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.