Can i have a line-break in RadToolTip to work with line-feed "\n" instaed of "<br/>"
1 Answer, 1 is accepted
0
Accepted
Marin Bratanov
Telerik team
answered on 04 May 2012, 03:30 PM
Hi Abhijit,
The RadToolTIp takes an HTML string for its content, therefore the new lines must be configured for this environment. New line characters differ in many programming languages, yet usually a simple replace is sufficient to change line feeds and line breaks to <br /> tags. The replace() method in JavaSCript is a bit peculiar in the way that it replaces only the first occurrence, yet this google search can get you started on various methods for performing a full replacements.
Kind regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.