-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Crazy_Kapil
Message 8 in Discussion


Hi,
 
Button1.Text = "Line1\nLine2" will work in the Windows 
Application.
 
Thanks and Regards,
Kapil 



From: alladin [mailto:[EMAIL PROTECTED] 

Sent: Tuesday, June 07, 2005 11:43 AM
To: 
BDOTNET
Subject: Re: have text on multiple lines in a 
Button




  
  
    
    New Message on BDOTNET
  
    

have text 
  on multiple lines in a Button


  
    
    
      Reply

      
        
          
          
             
            Reply to Sender   Recommend 
            Message 6 in Discussion 
            
    
      
        
          
          
            From: alladin 
          
            

              Hi,
               
              Button1.Text = �Line1\nLine2� will display the same output on 
              the browser coz \n is a linebreak keyword used my C# and not any 
              browser engine. 
               
              you have to understand one thing that Server Control render 
              on the client as HTML controls so Button1.Text = �Line1\nLine2� 
              would be nothing but <input type="submit" name="button1" 
              value="Line1\nLine2"> know you check it out your self and tell 
              me how this would display on the browser.
               
              If you use a LinkButton you will get the same control in code 
              behind and also achieve your task coz it would render a <A 
              Href>For Multiple Line Text Use <BR> 
              tag</A> .
               
              Hope you understand what I am tring to say.
               
              Happy Programing
               
              Yasin 
  Alladin
View other groups in this 
  category. 



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to