advanced user control topic
I’m trying to develop a user control that accepts HTML content and other user
controls within the tags. I have a standard look and feel for a web application
that I’m working on, it basically looks like a Windows form. It has a title
bar with a caption and a frame, but the content varies. I’d like to be able
to do something like:
<MyControls:StandardForm caption=”My Form”>
<asp:input id="blah"></asp:input>
</MyControls:StandardForm>
I get an error when I try to do this. I can’t find ANY example of a user
control with content between the open and close tag. Does anyone know if
a user control can accept content like this? Must I develop a custom server
control for this?
Thanks
Ian Drake