我有一个用户控件,它接受一个 title 属性。我也希望在该用户控件标记内部包含输入的 HTML(还包括 ASP 控件),如下所示:
我该如何实现这个?我的title属性已经正常工作。
谢谢。
<uc:customPanel title="My panel">
<h1>Here we can add whatever HTML or ASP controls we would like.</h1>
<asp:TextBox></asp:TextBox>
</uc:customPanel>
我该如何实现这个?我的title属性已经正常工作。
谢谢。