Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
protected override void AddedControl(System.Web.UI.Control control, int index)
{
base.AddedControl(control, index);
switch(this.InnerProperty.Type)
{
case PropertyDataType.String :
Label lbl = control as Label;
if(lbl != null)
{
lbl.Text = System.Web.HttpContext.Current.Server.HtmlEncode(lbl.Text);
}
break;
}
}
Code not verified!
/HAXEN
&ealig;
. It would be nice to do this job in the database on the property values, and also make the HTML editor in Edit mode convert these characters automatically when saving pages. Give me a note if you've done this kind of work. Frank :)