Formatting highlighted text in textbox

shahab

Junior Contributor
Joined
Aug 14, 2003
Messages
206
Location
Iran(Middle East)
I want to change many aspects of a TextBox1.Text that has been highlighted by a user. Like a HTML editor but in ASP.NET,FOR EXAMPLE USER CHOOSES A PART OF THE TEXT HAS BEEN SHOWN IN TEXTBOX, Then he press a button finally he has a bold or …(formatted) text.
Code:
private void ImageButton1_Click(object sender, System.Web.UI.ImageClickEventArgs e)
{
TextBox1.Text="<strong>"+TextBox1.Text+"</strong> ";
}
What are your suggestions?
Thanks.
 
Dear PlausiblyDamp,
This is the CSS Powe but Editor is sth else!
I like to program an editor exactly like this site but in asp.net not php.
Thanks to your help
 
Back
Top