I read in MSDN InamingContainer is a marker interface for creating unique name. When is it really necessary ?
I read in MSDN InamingContainer is a marker interface for creating unique name. When
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Frankly, it’s required when your control has a child with an id. Whereas you can use multiple instances of your control on a single page, you have to mark your control with
INamingContainerinterface. This is the most senario forCompositeControls, thus it has derivedINamingContainerby default.