shahab
Junior Contributor
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.
Code:
private void ImageButton1_Click(object sender, System.Web.UI.ImageClickEventArgs e)
{
TextBox1.Text="<strong>"+TextBox1.Text+"</strong> ";
}
What are your suggestions?
Thanks.