Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

combining radio button list with Balloon popup extender.

$
0
0

Hi all, I'm using linq to sql server to populate a radio button list. I would like to make a balloon popup based on which choice the user hovers over. Can anyone advise me on creating this? Below is the main part of the code I'm making the rbl with. The database has a field for making the radio buttons and also a description field. Any way to popup that field? I know the part BalloonPopupControlID="ldsDsp.description" is wrong, just the last thing I played with before coming back here.

Thank you :)

<asp:RadioButtonList ID="rblDsp"  runat="server" CellPadding="10" CellSpacing="10" DataSourceID="ldsDsp" DataTextField="DspName" DataValueField="dspID" EnableTheming="True" RepeatColumns="2" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px"></asp:RadioButtonList><ajaxToolkit:BalloonPopupExtender ID="rblDsp_BalloonPopupExtender" runat="server"  Enabled="True" ExtenderControlID="" TargetControlID="rblDsp" DisplayOnMouseOver="True" BalloonSize="Medium" BalloonStyle="Rectangle" DisplayOnClick="False" BalloonPopupControlID="ldsDsp.description"></ajaxToolkit:BalloonPopupExtender><ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></ajaxToolkit:ToolkitScriptManager><asp:LinqDataSource ID="ldsDsp" runat="server" ContextTypeName="xxxxx.Data.DataClassesCallDataContext" EntityTypeName="" OrderBy="sortorder, DspName" TableName="Dsp" Where="active == @active"><WhereParameters><asp:Parameter DefaultValue="True" Name="active" Type="Boolean" /></WhereParameters></asp:LinqDataSource>




Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>