Hello,
I'm wondering if is there any control that display a balloon over another control to display information. Something similar to the notices of windows SO system tray but in our aplication and over a button for example, and of course more powerfull than a simple tooltip. Where I can insert controls like buttons, textbox, etc...
Thanks!
I'm wondering if is there any control that display a balloon over another control to display information. Something similar to the notices of windows SO system tray but in our aplication and over a button for example, and of course more powerfull than a simple tooltip. Where I can insert controls like buttons, textbox, etc...
Thanks!
9 Answers, 1 is accepted
0
Accepted
Hi Iván Tajes,
Yes, this is possible for all rad elements by using screen tips. For RadButton for example you have to handle ScreenTipNeeded event. Here is a sample:
Screen tips are rad controls and you can place any rad element inside. I hope this helps. If you need further assistance, I will be glad to help.
All the best,
Jack
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Yes, this is possible for all rad elements by using screen tips. For RadButton for example you have to handle ScreenTipNeeded event. Here is a sample:
button1.ScreenTipNeeded +=
new
ScreenTipNeededEventHandler(button1_ScreenTipNeeded);
void
button1_ScreenTipNeeded(
object
sender, ScreenTipNeededEventArgs e)
{
RadOffice2007ScreenTipElement screenTip =
new
RadOffice2007ScreenTipElement();
screenTip.CaptionLabel.Margin =
new
Padding(3);
screenTip.CaptionLabel.Text =
"Sample"
;
screenTip.MainTextLabel.Text =
"description"
;
e.Item.ScreenTip = screenTip;
}
Screen tips are rad controls and you can place any rad element inside. I hope this helps. If you need further assistance, I will be glad to help.
All the best,
Jack
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Tajes
Top achievements
Rank 1
answered on 23 May 2010, 10:07 PM
Thank you Jack, great job.
0
Tajes
Top achievements
Rank 1
answered on 24 May 2010, 08:49 AM
Hi Jack,
But How can I clic inside the screenTip and put a little button to close it?
Thanks for your time.
But How can I clic inside the screenTip and put a little button to close it?
Thanks for your time.
0
Accepted
Hi Iván Tajes,
By specification RadScreenTip/RadToolTip is shown only when you hover an item that has a RadScreenTip/RadToolTip assigned. If you try to hover the tooltip itself, normally it will become hidden, because your mouse is not on the item of interest anymore. Considering this information, you cannot click a button, even though you can insert a button element in RadScreenTip.
We will consider implementing a generic popup control that will be suitable for your needs. However, I am not able to provide you with any specific time frame about it.
All the best,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
By specification RadScreenTip/RadToolTip is shown only when you hover an item that has a RadScreenTip/RadToolTip assigned. If you try to hover the tooltip itself, normally it will become hidden, because your mouse is not on the item of interest anymore. Considering this information, you cannot click a button, even though you can insert a button element in RadScreenTip.
We will consider implementing a generic popup control that will be suitable for your needs. However, I am not able to provide you with any specific time frame about it.
All the best,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Sandeep Nair
Top achievements
Rank 1
answered on 22 Jun 2011, 08:26 AM
I have 2009 version of RAD Controls. Is there some way to fasten teh tooltip display. Currenty the tooltip takes long time to display the text.
0
Hello Sandeep,
You can subscribe to the ScreenTipNeeded event of a RadControl and set the Delay in the event handler, for example:
This will show a ScreenTip in the specified time frame. The same customization is not available for RadToolTip though.
I hope this helps.
Greetings,
Nikolay
the Telerik team
You can subscribe to the ScreenTipNeeded event of a RadControl and set the Delay in the event handler, for example:
privatevoidradButton1_ScreenTipNeeded(objectsender, ScreenTipNeededEventArgs e)
{
RadOffice2007ScreenTipElement screenTip = newRadOffice2007ScreenTipElement();
screenTip.CaptionLabel.Margin = newPadding(3);
screenTip.CaptionLabel.Text =
"Sample"
;
screenTip.MainTextLabel.Text =
"On the Insert tab, the galleries include items that are designed to "
+
"coordinate with the overall look of your document. You can use these galleries to insert tables,"
+
"headers, footers, lists, cover pages, and other document building blocks. When you create pictures, charts, or"
+
"diagrams, they also coordinate with your current document look"
;
e.Delay = 50;
radButton1.ButtonElement.ScreenTip = screenTip;
}
This will show a ScreenTip in the specified time frame. The same customization is not available for RadToolTip though.
I hope this helps.
Greetings,
Nikolay
the Telerik team
0
Richard Slade
Top achievements
Rank 2
answered on 01 Jul 2011, 10:06 AM
Hi All,
In addition to the answers here, you might also want to take a look at my Code Library Article which gives a sort of Tool Tip manager where you can change tooltips to a baloon style.
Hope that also helps
Richard
In addition to the answers here, you might also want to take a look at my Code Library Article which gives a sort of Tool Tip manager where you can change tooltips to a baloon style.
Hope that also helps
Richard
0
Karl
Top achievements
Rank 1
answered on 22 May 2012, 10:15 AM
Hi,
Is there any way to get more information to the to the tool tip? Ie I have more information in the "Descrtiption" field and would like to show it in the tool tip as it would be to big for the appointment area itself.
Thanks
Is there any way to get more information to the to the tool tip? Ie I have more information in the "Descrtiption" field and would like to show it in the tool tip as it would be to big for the appointment area itself.
Thanks
0
Karl
Top achievements
Rank 1
answered on 22 May 2012, 10:40 AM
Hi,
Found it:
Found it:
AppointmentElement
appointmentElement = e.Item as AppointmentElement;
if (appointmentElement != null)
{
screenTip.MainTextLabel.Text = appointmentElement.Appointment.Description;
appointmentElement.ScreenTip = screenTip;
}