Required property in User Control

Sanosake

New Member
I just made an User Control with some parameters to be filled.\[code\]<uc1:Graph ID="uc1Graph" runat="server" property1="Name" property2="XValue" />\[/code\]Now, my question is:
  • How to make the property1 be a required field?
The developer must fill the Name of graph(property1), otherwise it must not work and some error message should appear in runtime, ooor even better, in the design modeThank you for your time ! :D
 
Back
Top