asp.net - Required property in User Control -


i made user control parameters filled.

<uc1:graph id="uc1graph" runat="server" property1="name" property2="xvalue" /> 

now, question is:

  • how make property1 required field?

the developer must fill name of graph(property1), otherwise must not work , error message should appear in runtime, ooor better, in design mode

thank time ! :d


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -