Error in Web User Control with ITemplate in the Design mode
问题 I have a web user control with the following markup <table> <tr> <td> <h1> <%= this.Title %></h1> </td> </tr> <tr> <td> <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder> </td> </tr> <tr> <td> <h2> Footer</h2> </td> </tr> </table> the code behind: [ParseChildren(true, "Content"), PersistChildren(true)] public partial class WebUserControl1 : System.Web.UI.UserControl { public string Title { get; set; } [PersistenceMode(PersistenceMode.InnerDefaultProperty), TemplateContainer