I have programmed a Validator control that besides ControlToValidate property I added a ControlToValidateDV property which will contain the ID of another TextBox control.
I marked that property with TypeConverter(typeof(ValidatedControlConverter)) which provides a list of ID's of all the controls in the page.
Whether I use IDReferenceProperty or not, that list is shown corrrectly, so I am wondering what is the real importance of that attribute.
jstuardo
Member
236 Points
77 Posts
Is IDReferencePropertyAttribute really important?
Mar 29, 2010 01:12 PM|LINK
Hello...
I have programmed a Validator control that besides ControlToValidate property I added a ControlToValidateDV property which will contain the ID of another TextBox control.
I marked that property with TypeConverter(typeof(ValidatedControlConverter)) which provides a list of ID's of all the controls in the page.
Whether I use IDReferenceProperty or not, that list is shown corrrectly, so I am wondering what is the real importance of that attribute.
Thanks
Jaime