Hi Ken,
here's my sample code
StringBuilder marq = new StringBuilder();
marq.Append("<marquee direction=\\" + this.drpdirection.SelectedValue + "\" behavior=\\" + this.drpbehavior.SelectedValue + "\" >sample</marquee> ");
Editor1.Text+=marq.ToString();
my problem is I have a dialog where I can select the direction and behavior
if I want to modify the behavior or direction it will create a new marquee with the changes.
It won't overwrite the old properties of the text sample.
even if I select the text sample and click the button to show the dialog.
Thanks,
pilotsredlix