문제

I want to break line in persian text of tool tip,so I used this in ASP.NET:

<asp:TextBox ID="cut" runat="server" ToolTip="یک ;13#& دو"/>

but in returned html tool tip text changing to:

title="یک ;13#&amp; دو"

that cause line break to not work.How can I fix this?

도움이 되었습니까?

해결책

Are you sure you're typing &#13; correctly? I have added a text box and set a line break in its tooltip and it worked correctly: (ASP.Net 4.0 Webforms)

<asp:TextBox ID="TextBox1" runat="server" ToolTip="خط اول &#13; خط دوم"></asp:TextBox>  

Copy and paste the line above and it should work correctly.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top