Balloon Popup Extender Control is an extender control and it is required to control the work. The basic purpose of the Balloon Popup Control is to show some information or direction while filling out a form, or it can be used with some text and show information on the click of that text.

It has three different styles: Balloon, Rectangle and Custom type. In addition to the three different types, it also supports three sizes which are small, medium, and large for the best user experience.

If you have used custom Balloon Popup then the custom style can be overridden using the custom css URL.

It can be set to five positions, which are TopLeft, TopRight, BottomLeft, BottomRight, and Auto. If you have set auto, then it can align itself according to the available space.

The Balloon Extender Control works on MouseOver, Click, and Focus events. If the Balloon is shown on any of the events, you don’t have to worry about hiding the popup, the Extender Control automatically takes care of it.

Let’s have a look at the initial setup, as follows:

  1. <asp:Panel ID="Panel2" runat="server"></asp:Panel>
  2. <asp:TextBox ID="myTextBox" runat="server"></asp:TextBox>
  3. <div class="row">
  4. <div id="ajaxcontroltoolkitplaceholder">
  5. <ajaxToolkit:BalloonPopupExtender ID="PopupControlExtender2" runat="server" TargetControlID="myTextBox" BalloonPopupControlID="Panel2" Position="BottomRight" BalloonStyle="Cloud" BalloonSize="Small" CustomCssUrl="CustomStyle/BalloonPopupOvalStyle.css" CustomClassName="oval" UseShadow="true" ScrollBars="Auto" DisplayOnMouseOver="true" DisplayOnFocus="false" DisplayOnClick="true" />
  6. </div>
  7. </div>
Initial Output

Output