Tech Off Thread

2 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

How do I nest user controls in ASP.NET?

Back to Forum: Tech Off
  • User profile image
    Tom Servo

    For the life of me, I can't figure this out, and sifting through the documentation makes me want to hit something. Everytime I try to nest controls in my own user controls, it tells me something about a missing public property.

    What am I doing wrong?

  • User profile image
    Tom Servo

    I finally found out that I needed to specify the ParseChildren attribute on the user control class. It's sure nice that trying to find that answer on Google is nigh impossible when looking for "nested user controls", and also requires browsing the MSDN library up and down for quite some time.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.