3 Answers, 1 is accepted
0
Hello Michele,
Yes, you display an aspx page inside RadToolTip by setting an IFRAME element with SRC pointing to that ASPX between the RadToolTip tags, e.g.
<telerik:RadToolTip ManualClose="true" Position="BottomRight" runat="server" ID="RadToolTip1" TargetControlID="link1" Width="250px" Height="300px" >
<iframe src="Default2.aspx" style="width:100%;height:100%" frameborder="0" id="externalPage"></iframe>
</telerik:RadToolTip>
For your convenience I have attached my test project that demonstrates how to pass info between the main page with the tooltip and the page loaded in the tooltip.
All the best,
Rumen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Yes, you display an aspx page inside RadToolTip by setting an IFRAME element with SRC pointing to that ASPX between the RadToolTip tags, e.g.
<telerik:RadToolTip ManualClose="true" Position="BottomRight" runat="server" ID="RadToolTip1" TargetControlID="link1" Width="250px" Height="300px" >
<iframe src="Default2.aspx" style="width:100%;height:100%" frameborder="0" id="externalPage"></iframe>
</telerik:RadToolTip>
For your convenience I have attached my test project that demonstrates how to pass info between the main page with the tooltip and the page loaded in the tooltip.
All the best,
Rumen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Smiely
Top achievements
Rank 1
answered on 29 Mar 2011, 08:08 PM
I am facing the same condition. I want to show a tooltip on click on RadToolBar.
where the Buttons don't have an ID. How do I do it?
Please help,
Smiely
<
telerik:RadToolBarSplitButton
Enabled='<%# myUser.IsTaskManager(Request.QueryString["taskSTN"]) %>' Visible='<%# !taskRadGrid.MasterTableView.IsItemInserted && taskRadGrid.EditIndexes.Count == 0 %>' >
<
Buttons
>
<
telerik:RadToolBarButton
Text
=
"Close Task"
ToolTip
=
"Close Task"
ImageUrl
=
"~/images/icons/gif/drawer.gif"
CommandName
=
"CloseTask"
> </
telerik:RadToolBarButton
>
<
telerik:RadToolBarButton
Text
=
"No Action Required"
CommandName
=
"NoActionRequired"
></
telerik:RadToolBarButton
>
<
telerik:RadToolBarButton
Text
=
"Accomplished"
CommandName
=
"Accomplished"
></
telerik:RadToolBarButton
>
<
telerik:RadToolBarButton
Text
=
" Accomplished w Current Time"
CommandName
=
"AccomplishedWTime"
></
telerik:RadToolBarButton
>
</
Buttons
>
</
telerik:RadToolBarSplitButton
>
where the Buttons don't have an ID. How do I do it?
Please help,
Smiely
0
Hello Michele,
Svetlina
the Telerik team
Indeed, the RadToolBar's items does not actually have a default ID and thus this manner of tooltipifying will not work for this case. In order to achieve the desired result you should associate IDs on the server or create the tooltips on the client. Both the server and the client approaches are shown in the following demos:
http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltiptreeview/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltipcalendar/defaultcs.aspx
The demos are not using a RadToolBar in particular but you should follow the same logic.
Svetlina
the Telerik team