使ToolTip里面的内容换行。
效果如下图:
只需要在代码行ToolTip的内容重插入:
只需要在代码行ToolTip的内容重插入:
<body>
<form id="form1" runat="server">
<asp:Button ID="Button1" runat="server" CommandName="a1" OnCommand="Button2_Command"
Text="Button" />
<asp:Button ID="Button2" runat="server" CommandName="a2" OnCommand="Button2_Command"
Text="Button" />
<br />
<br />
<br />
<asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="Button" ToolTip="11111111111111111111111 111111111111111111111111111" />
</form>
</body>
<form id="form1" runat="server">
<asp:Button ID="Button1" runat="server" CommandName="a1" OnCommand="Button2_Command"
Text="Button" />
<asp:Button ID="Button2" runat="server" CommandName="a2" OnCommand="Button2_Command"
Text="Button" />
<br />
<br />
<br />
<asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="Button" ToolTip="11111111111111111111111 111111111111111111111111111" />
</form>
</body>