nested controls in a custom control.

P

Peter Rilling

Hi.

I would like to create some controls that allow control elements. For
instance,

<foo:MyControl ...>
<foo:SomeNestedControl .../>
</foo:MyControl>

The questions are,
1) How can I build a control that supports such control nesting?
2) How can I get the IDE to display the nested control using intellisense?
And even make it so that my nested control can only be used within it's
parent.

Kind of like the way an ASP.NET Table works.

<asp:Table>

<asp:TableRow>

<asp:TableCell>

</asp:TableCell>

</asp:TableRow>

</asp:Table>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top