Insus.NET实现两行文字水印,其实也没有什么技术含量,即是加了几个空格而已。
代码如下:
<asp:TextBox ID="txtCCEmail" runat="server" TextMode="MultiLine" Height="50" CssClass="textbox"
Width="250"></asp:TextBox><br />
<ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender3" runat="server"
TargetControlID="txtCCEmail" WatermarkText="sample1@yourcompany.com; sample2@yourcompany.com;"
WatermarkCssClass="watermarked">
</ajaxToolkit:TextBoxWatermarkExtender>