C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

formated text box in asp.net


Posted Date: 29 Aug 2008      Posted By: Avinash Jadhav      Member Level: Bronze     Points: 1   Responses: 2



hi,
i want to show html formated data from multiline textbox to lable
or textbox in asp.net.

multiline textbox contains the html tags like </br>,<b> etc.
i want to show this text in to lable.






Responses

Author: Anil Kumar Pandey    29 Aug 2008Member Level: DiamondRating: 2 out of 52 out of 5     Points: 4

hi,


Hello,

no problem u can take the data as it is from the text box and assign to the label.

The browser will automatically inter prates the TAGS present in the string.. and will display the data in the LABEL according to the TAGS specified in the string;

u just store it in the string variable ans u can assign to the label.

Thanks
Anil

Thanks & Regards
Anil Kumar Pandey



Author: manjunatha    29 Aug 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

hi
lable.Text = TextBox.text;
this will assign the text in your multiline text box to label.

manjunath Y.D



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Crystal Reports Problem...........
Previous : Very useful for all (Dynamic creation of textbox,button etc in asp.net 2005)
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use