I success show the full length ddl.item.text(selected choice) in limited length ddl. But I want to use it in ddl items too, what should I do?
Form.aspx
<tr>
<td>
<asp:Label ID="lblFolderPath" runat="server" Width="75px" Text="Folder Path: " ></asp:Label>
<ToolTip1>
<telerik:RadDropDownList ID="ddlFolderPath" runat="server" Skin="Windows7"
Width="650px" Height="23px" AutoPostBack="True"
onClientSelectedIndexChanged="loadingAnimation">
<Items>
<telerik:DropDownListItem runat="server" DropDownList="ddlFolderPath " Text="" />
</Items>
</telerik:RadDropDownList>
</ToolTip1>
</td>
</tr>
Form.aspx.vb
Select Case GetMMRCode("CueSheetImportSegmentRoot", CurrentSide, ReturnTable) 'CurrentSide = DEV Case 0 '// Get ddl choices from DB ddlFolderPath.Items.Clear() 'Prevent do items.add multiple times For Each row As DataRow In ReturnTable.Rows ddlFolderPath.Items.Add(New DropDownListItem(CType(row.Item("Opt1"), String), CType(row.Item("Code"), String))) Next End Select
Hi,
My situation: I have a Radgrid with TooltipManager setup which works fine.
Now I have to place another RadGrid in the Tooltip which has an update button per row.
How would one configure so, that the Tooltip's RadGrid is updated in the Tooltip.
Please see attached screenshot...
Thanks for any pointers.
Marc
RadWindow is showing a tooltip with its ID in it. See attached image. How can I disable this?
I'm trying to add ToolTip content dynamically with items selected/unselected from the Multiselect control. The code seems to work with no errors. However, the tooltip doesn't show on mouse over the Multiselect control.
I also attempted to add an mouseover client attribute event on the Multiselect as well.
Code snippets attached.
Thank you for any help with this issue!
How can i make a popup on a layer click with information (name,etc...).
On Telerik Radmap Asp.net
Hello,
I'm using a RadScheduler and I have set it to display the AdvanceEditForm on click on an appointment.
I also have a RadToolTipManager to have a custom tooltip when the mouse pass over an appointment.
The problem I have is that :
- if I click on the appointment before the RadToolTipManager begin to show the tooltip
or
- if I move on another appointment after clicking on one and before the AdvanceEditForm appears
the clientappointmentclick event is cancelled by the tooltip ...
https://www.screencast.com/t/8LlJ3UTqLR
How can I do to avoid this problem ?
Best regards,
Remy Dubois.
Hi Telerik,
I'm using 2021.2.616.45 AJAX controls and I have the bubble layer working as per your example https://demos.telerik.com/aspnet-ajax/map/examples/functionality/bubble-layer/defaultcs.aspx
But I can't get the tooltip to work.
<telerik:RadMap RenderMode="Lightweight" runat="server" ID="rmDeliveryHeatmap" Zoom="3" MinZoom="2" MaxZoom="16" Width="98%">
<ClientEvents OnShapeMouseEnter="onShapeMouseEnter"/>
<CenterSettings Latitude="23" Longitude="10" />
<LayersCollection>
<telerik:MapLayer Type="Tile" Subdomains="a,b,c"
UrlTemplate="https://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png"
Attribution="© <a href='https://osm.org/copyright' title='OpenStreetMap contributors' target='_blank'>OpenStreetMap contributors</a>.">
</telerik:MapLayer>
<telerik:MapLayer Type="Bubble" ClientDataSourceID="RadClientDataSource" ValueField="DeliveryCount" LocationField="Location">
<TooltipSettings Position="Top" Template="<p>#= marker.dataItem.ItemCount #</p>" />
<StyleSettings>
<FillSettings Opacity="0.4" Color="#00cc66"/>
<StrokeSettings Width="0" />
</StyleSettings>
</telerik:MapLayer>
</LayersCollection>
</telerik:RadMap>
I'm guessing that the object name in the Template attribute is wrong.
<TooltipSettings Position="Top" Template="<p>#= marker.dataItem.ItemCount #</p>" />
Please can you provide a working example.
Cheers,
Matt
I have a RadToolTipManager in place and logic to create tooltips on certain elements.
When hovering over an element and its tooltip is visible, when I then hover over another element that contains its own tooltip, I want the current tooltip to hide after a certain amount of ms instead of hiding immediately. After which, the element I'm hovering on will show its tooltip.
Almost like a delay between hiding the current tooltip and showing a new tooltip from a element being hovered on.
I used .set_hideDelay(1000) on each of these tooltips, but that seems to be when the cursor is idle for that long.
Is there an implementation for what I describe?
protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e) |
{ |
if (e.Row.RowType == DataControlRowType.DataRow) |
{ |
if (e.Row.DataItem != null) |
{ |
if (e.Row.DataItemIndex == 0) |
{ |
System.Web.UI.WebControls.Label L1 = (System.Web.UI.WebControls.Label)e.Row.FindControl("lblViews"); |
DataRowView curRow = (DataRowView)e.Row.DataItem; |
L1.ID = curRow.Row["CDNStreams"].ToString(); |
this.RadToolTipManager1.TargetControls.Add(L1.ClientID, true); |
} |
} |
} |
} |
protected void RadToolTipManager1_AjaxUpdate(object sender, Telerik.Web.UI.ToolTipUpdateEventArgs e) |
{ |
e.UpdatePanel.ContentTemplateContainer.Controls.Add(new HtmlGenericControl("HR")); |
} |
<asp:TemplateField HeaderText="Views Total" HeaderStyle-BorderWidth="1px" ItemStyle-Wrap="true" |
HeaderStyle-BorderColor="Black"> |
<ItemTemplate> |
<asp:Label ID="lblViews" Text='<%# Eval("Views") %>' runat="server" > |
</asp:Label> |
<telerik:RadToolTip Text='<%# "Views Breakout<br/>Database Views: " + Eval("DBViews") + "<br/>Limelight CDN Views: " + Eval("CDNStreams")%>' |
runat="server" TargetControlID="lblViews" ID="RadToolTip1" IsClientID="true"> |
</telerik:RadToolTip> |
</ItemTemplate> |
</asp:TemplateField> |
I have a RadToolTipManager coded as follows:
<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" |
OnAjaxUpdate="RadToolTipManager1_AjaxUpdate"> |
</telerik:RadToolTipManager> |
I have a RadioButtonList like this:
<asp:RadioButtonList ID="myRbl" runat="server" AutoPostBack="true">
<asp:ListItem Selected="True" Value="0">Option 0</asp:ListItem>
<asp:ListItem Value="1">Option 1</asp:ListItem>
<asp:ListItem Value="2">Option 2</asp:ListItem>
</asp:RadioButtonList>
and a ToolTipManger:
Dim controlClientID As String = myRbl.ClientID
DirectCast(Page.Master.FindControl("RadToolTipManager1"), RadToolTipManager).TargetControls.Add(controlClientID, True)
I don't know how to add a tooltip for each listed item in my RadioButtonList .
If I do something like listItemOpen.Attributes.Add("title", "Option 0") it does add a tool tip to the listed item and it doesn't work with the tooltipmanager. It work only with a tool tip at the button level.