Try our conversational search powered by Generative AI!

Property changed from XhtmlString to string


So in my PageType I have a property like this

Name = "Heading",
Description = "Title, what else?",
GroupName = SystemTabNames.Content,
Order = 0
public virtual XhtmlString Heading { get; set; }

I want to change it from XhtmlString to String, how does that work?

Nov 28, 2017 10:21

You can do it, but the strings will contain plain HTML tags as well, I believe. Then you'll need to clean them up.

Nov 28, 2017 14:44
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.