Last post Oct 21, 2011 06:59 AM by ksureshh_pk
Oct 21, 2011 06:59 AM|ksureshh_pk|LINK
Am creating the textbox control with required field validator.
<CC:TextboxWithValidation ID="txtusername" ValidationGroup="test" Display="none"
runat="server" IsRequireCheck="true" RequireErrorMessage="test"></Pixint:TextboxWithValidation>
Here the display property will accept string value. I want to make this property with a suitable predefined values.
ie. In normal asp.net requiredfieldvalidator when you type display property , system will ask the user to select from the enum STATIC,DYNAMIC,NONE fields (Which is predefined for this properties, user can select only one from this).
How should i make my display field like asp.net requiredfieldvalidator display property? What should i change in my custom control class for this property?