Click here to Skip to main content
12,700,957 members (28,360 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET Ajax
i have a txt_Search
and attached a BalloonPopupExtender(ajax control) to this tct search
i want whern click on the txt_search show a balloon with this text:
in propery of this ajax control is Animations
but a dont know how insert text on this property to show in balloon when click on the text
TxtSearch_BalloonPopupExtender.Animations = ?????????
Posted 24-Jun-12 4:42am
Updated 24-Jun-12 4:47am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you need to show Text on BalloonPopup, you need to set BalloonPopupControlID (The ID of the control to display.)


<form id="form1" runat="server">
    <Ajax:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">

<i>TextBox:</i> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <asp:Panel ID="Panel1" runat="server">
    <Ajax:BalloonPopupExtender ID="BalloonPopupExtender1" runat="server" BalloonPopupControlID="Panel1" BalloonSize="Small"BalloonStyle="Cloud" UseShadow="true" DisplayOnClick="true" DisplayOnFocus="false" DisplayOnMouseOver="true" TargetControlID="TextBox1"Position="BottomRight">



If you need to show animation on model popup add animation tag inside the popup as

<ajaxToolkit:PopupControlExtender ID="PopupControlExtender2" runat="server"
    TargetControlID="Label12" PopupControlID="popPanel"
    BehaviorID="PopupBehavior" Position="top" OffsetX="-10" OffsetY="-40" >
                <HideAction Visible="true" />
                <FadeIn Duration=".5" Fps="20" />
                <Color Duration=".2" PropertyKey="color" StartValue="#FFFFFF" EndValue="#FF0000" />
          <FadeOut Duration=".5" Fps="20" />
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

You can see a very simple example for Balloon POPUP Extender in AJAX in the below mentioned link. They already discussed all possible ways of implementing Balloon POPUP Extender in ASP.Net.

You can download demo project from here.

How to implement BalloonPopupExtender in ASP.Net/C# OR Ballon Popup Extender Sample in ASP.Net/C#[^]

Link Text Added.
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Here is the link from the official ajax toolkit website
it shows how to implement balloon popup controller[^]

But before that make sure that you drag and place the ToolScriptManager in your page and also refer the ajax in the top of your page like this.

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
TagPrefix="ajax" %>

Hope it helps.
ErBhati 14-Feb-14 9:20am
this control cannot be displayed because its tagprefix is not registered in this web form

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 19 Jul 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100