all groups > asp.net building controls > april 2005 >
You're in the

asp.net building controls

group:

Limiting number of control instances?


Limiting number of control instances? lisa NO[at]SPAM starways.net
4/21/2005 8:42:44 AM
asp.net building controls:
Hey all,

Is there a way of limiting the number of instances of a server control
that the user can put on a form?

I'm writing an interfaceless server control, and I want to make it
impossible for the user to put more than one of them on a page.

Is that possible? If so, how?

Thanks,
Lisa
Re: Limiting number of control instances? Zarko Gajic
4/26/2005 12:00:00 AM
Lisa, see my thread "Only one instance of my control per Page" from
04/25/2005.

~Zarko Gajic
[quoted text, click to view]

AddThis Social Bookmark Button