Click here to Skip to main content
15,904,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I am going to display the new line in ToolTip.
The messages are in one Resources.resx file.
However, below ways are not work:
\n
\r\n
<code><br /></code>

Look for help, thanks.
Posted

Do not write \n or \r\n in your resx file. It will not work. To enter a new line char in your text just press Shift+Enter in your resx editor.
 
Share this answer
 
Excellent!!! :rose:

In the Resources.resx, I have tried with Ctrl + Enter, Alt + Enter, Enter. It doesn't work. By luckly see your comment (Shift + Enter :thumbsup:)
 
Share this answer
 
Hi,

Actually you can not do it. you can not make a new line tooltip. for that you have to use javascript tool tip.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900