E
Earl Teigrob
I have a custom control that creates a textarea child control and diplays it
to the user. The control is defined as follows
System.Web.UI.HtmlControls.HtmlTextArea TextArea1;
I have a property called "Text" that sets and getis it value, as follows:
[Bindable(true),
Category("Appearance"),
DefaultValue("")]
public string Text
{
get
{
EnsureChildControls();
return TextArea1.Value;
}
set
{
EnsureChildControls();
TextArea1.Value = value;
}
}
The problem is that when I gete the contents of the textarea bos from the
"Text" property, if the text contains html tags, they are changed into their
html equivelents (< becomes < etc)
Why is this happening ahd how can I stop it???
Thanks
Earl
to the user. The control is defined as follows
System.Web.UI.HtmlControls.HtmlTextArea TextArea1;
I have a property called "Text" that sets and getis it value, as follows:
[Bindable(true),
Category("Appearance"),
DefaultValue("")]
public string Text
{
get
{
EnsureChildControls();
return TextArea1.Value;
}
set
{
EnsureChildControls();
TextArea1.Value = value;
}
}
The problem is that when I gete the contents of the textarea bos from the
"Text" property, if the text contains html tags, they are changed into their
html equivelents (< becomes < etc)
Why is this happening ahd how can I stop it???
Thanks
Earl