Make some properties mandatory

Jan 13 2010 11:07 AM

Hi,
I have a C# custom control in wich I would like to make some properties mandatory (control ID for example). Is there a way do this? Here is my control code :
[
ToolboxBitmap(typeof(Button))]
[
ToolboxData("<{0}:UtlCWButton runat=\"server\"></{0}:UtlCWButton>")]
public class UtlCWButton : Button
{
}
Thanks