Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
AI OnAI Off
Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
IPropertyControl control = PropertyControlClassFactory.Instance.
CreatePropertyControl(property);
if (control != null)
{
control.PropertyData = myPage.Property["YourProperty"];
control.Properties = myPage.Property;
control.RenderType = RenderType.Edit;
myPanel.Controls.Add((Control) control);
}
It is also possible to put your PropertyDataControl subclass in your aspx/ascx file as a web control and assign the values above.
Note that the XHtmlEditor assumes a lot about it's sorrundings. Like that is is placed on a subclass of PageBase, etc.
Is it possible to use the XHTML Editor on an admin mode plugin?
Does anyone have a sample?
Thanks