Last post Oct 26, 2009 12:25 PM by kevcpu_1
Oct 23, 2009 06:35 PM|kevcpu_1|LINK
I am trying to make a series of controls, 1 parent custom control which will house a specific child control.
kind of like the relationship between the asp dropdown control and the dropdown items control where you can add individual items.
Here my question: How do you make the child control mandatory within the parent control. Is this done by setting an attribute like [....] on the control?
Can someone let me know asap. I am currently working on a project and the deadline is tight.
Oct 23, 2009 09:15 PM|rtpHarry|LINK
Is it an option to just check the controls at run time and throw an exeption if you dont find what you want?
You are making a full blown server control not just a webusercontrol right?
Oct 25, 2009 01:12 AM|kevcpu_1|LINK
First, yes this is a full blown server control. Well, I actually want the error to show up when the control is dropped on the page from the designer.
Oct 26, 2009 05:06 AM|Allen Chen – MSFT|LINK
Please refer to:
Oct 26, 2009 12:25 PM|kevcpu_1|LINK
Thank you. This should do it.