This could also be achieved using button1.Text = "Multiline text\r\non a button";
But I think you probably already knew that and were looking for a way to add it via the Properties Panel. I think the only way is to manually adjust the width of the button to force the text to the next line. Greg _____ From: [email protected] [mailto:[email protected]] On Behalf Of Aravindh Kathir Sent: Saturday, July 24, 2010 4:58 PM To: [email protected] Subject: Re: [DotNetDevelopment] Multiline text in button in ASP.net 1.1 Thanks On Wed, Jul 21, 2010 at 10:18 PM, Prabhjot Singh <[email protected]> wrote: Hi, This can be achieved by using code Button1.Text = "Multiline text" + Environment.NewLine + "on a button"; for more details visit http://codingdigest.blogspot.com <http://codingdigest.blogspot.com/2010/07/how-to-display-multiline-text-on-b utton.html> Thanks, Prabhjot Singh On Wed, Jul 21, 2010 at 3:04 AM, Ramesh Konduri <[email protected]> wrote: Hi aravindh, I don't know wether it is applicable or not, we can put an image with replacing the text with the required formatting. Thanks, Ramesh Konduri. On Jul 20, 2010, at 5:22 PM, Aravindh Kathir <[email protected]> wrote: > Hi, > > I need to display a button with multiline text as below > > // > Save > Content > // > > I tried to " " as > > Button1.Text=" Save Content" > > It works fine for my desktop, but for others it is slightly shrinking with its width and height as well. > > Currently i have no way to change to image button. > > is there any other way to solve this issue? > > Thanks > > Regards, > Aravindh.K > -- Prabhjot Singh http://www.mashana.info <http://www.mashana.info/>
