Wrap Text
Hi,
I want to wrap text in an asp:button.
The text to be shown on the button is done simply though the given code:
set
{
button1.text=value;
}
The foll. code works but uses an HTML button:
<BUTTON id="btnWrap" type="button" runat="server">
<div style="WIDTH: 70px; WORD-WRAP: break-word">
this is a casfdsfdsfsdfsdfsfsdfdsfsft two
</div>
</BUTTON>
Moreover the text within the DIV tag must be set at runtime.
Please help me.
|