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.
Hi, this works for me.
public MultiPageEdit usercontrol = new MultiPageEdit();
public override void CreateEditControls()
{
usercontrol = (MultiPageEdit)Page.LoadControl("~/somepath/MultiPageEdit.ascx");
Controls.Add(usercontrol);
}
hi,
I want to implement a custom property, which functions is: provide a input box to add list item and a repeater to render the list item. I want to use asp.net web user control to wrap the input box, add button and repeater. So I need add this user control to the custom property control. I have tried
this.Controls.Add(myusercontrol) in CreateEditControls(), but it didn't work. I can't see any content when I use this custom property in edit mode.