|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
asp:button Text=Hi
This is probably a really simple question, but with the asp:button control is there any way to give it multi-line text? For example I have text="check villa availability" and I would like the word availability to be on a second line on the button. HELP! -------------------------------- From: Steve Houghton-Burnett ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>VzEabC+89Uewa5+wK5lGsg==</Id> "Steve Houghton-Burnett via .NET 247" <anonym***@dotnet247.com> wrote in is there any way to give it multi-line text?message news:O$jS1ztOFHA.2144@TK2MSFTNGP09.phx.gbl... > Hi > > This is probably a really simple question, but with the asp:button control > word availability to be on a second line on the button.> For example I have text="check villa availability" and I would like the > Try some like this> HELP! > -------------------------------- > From: Steve Houghton-Burnett > > ----------------------- > Posted by a user from .NET 247 (http://www.dotnet247.com/) > > <Id>VzEabC+89Uewa5+wK5lGsg==</Id> yourbuttonid.text = "Test of carriage " & chr(13) & chr(10) & "on button" Mike I JUST figured this out today. (I tried Wrap="true" but that did not work
for me.) Drop this in your asp:textbox tag textmode="MultiLine" Ex: <td bgcolor="blue" width="50%"><asp:textbox textmode="MultiLine" id="txtRisks" runat="server" width="340" height="75"></asp:textbox></td> "Steve Houghton-Burnett via .NET 247" <anonym***@dotnet247.com> wrote in is there any way to give it multi-line text?message news:O$jS1ztOFHA.2144@TK2MSFTNGP09.phx.gbl... > Hi > > This is probably a really simple question, but with the asp:button control > word availability to be on a second line on the button.> For example I have text="check villa availability" and I would like the Show quote > > HELP! > -------------------------------- > From: Steve Houghton-Burnett > > ----------------------- > Posted by a user from .NET 247 (http://www.dotnet247.com/) > > <Id>VzEabC+89Uewa5+wK5lGsg==</Id> ACK! I got ahead of myself. Sorry, I just noticed you're asking about a
button, not textbox. Nope, I never figured the button word-wrap out. So sorry!!! "Steve Houghton-Burnett via .NET 247" <anonym***@dotnet247.com> wrote in is there any way to give it multi-line text?message news:O$jS1ztOFHA.2144@TK2MSFTNGP09.phx.gbl... > Hi > > This is probably a really simple question, but with the asp:button control > word availability to be on a second line on the button.> For example I have text="check villa availability" and I would like the Show quote > > HELP! > -------------------------------- > From: Steve Houghton-Burnett > > ----------------------- > Posted by a user from .NET 247 (http://www.dotnet247.com/) > > <Id>VzEabC+89Uewa5+wK5lGsg==</Id> |
|||||||||||||||||||||||