When I amusingradtooltip100%widthon the leftandrightappearsmallerspaces, whichcan notoccupythe entirewidthofthe page.Howdo Iremove thesespaces?
Thanks
2 Answers, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 11 May 2011, 04:49 PM
Hi Klayton,
Setting the RadToolTip's size in percent is not valid and is not supported. If you wish to modify its size dynamically I can suggest that you use the OnClientBeforeShow event and modify the content element. For example:
functionOnClientBeforeShow(sender, args)
{
sender.set_width(1000);
}
Please note that I have hardcoded a value of 1000 pixels, but you can detect the browsers window's dimensions and use them instead.
The spaces you are referring to are most likely the padding and/or margin that the html, body and form elements have by default in the browser and you might want to reset them in your CSS.