ASP.NET Custom Control - Default Template?
- by Bob Fincheimer
I know this is really picky, but can I have one template inside a user control:
<uc:MyUserControl runat="server" ID="test">
<div><b>Test</b></div>
<asp:PlaceHolder runat="server" id="pH" />
</uc:MyUserControl>
Instead of what I have now which requires me to:
<uc:MyUserControl runat="server" ID="test">
<Content>
<div><b>Test</b></div>
<asp:PlaceHolder runat="server" id="pH" />
</Content>
</uc:MyUserControl>
Basically I want my control to have only one ITemplate inside of it.