ASP.NET Flyout - Knowledge Base

« Back to Knowledge Base list

Attach to OboutButton

Q:

How can I attach a Flyout to an OboutButton?

A:

You need to set the AttachTo property of the Flyout to the client-side ID of the main DIV element of the button:

<obout:OboutButton runat="server" Text="Open Flyout" ID="Button1" />

<obout:Flyout runat="server" ID="Flyout1"  AttachTo="ob_iBButton1Container">
...
</obout:Flyout>