M
Marc Robitaille
Hello,
I built myself a calendar control. I want the control to be able to be
validated by .NET validation controls. So I added the
ValidationPropertyAttribute("Text") to my class declaration of my calendar
control. It is the Text property of my control which must be validated. I
add a CompareValidator control to my web page and I adjust the properties of
this control to validate my calendar control. I use a CompareValidator to
ensure me that it is well a date which is seized in my control. When I
seized a date, that seems to function but if I seized anything other that a
date, the error message of the compareValidator is not showing on my web
page. What do I have to do so my calendar control can be validated by .NET
validation controls?
excuse my bad english
Thank you
I built myself a calendar control. I want the control to be able to be
validated by .NET validation controls. So I added the
ValidationPropertyAttribute("Text") to my class declaration of my calendar
control. It is the Text property of my control which must be validated. I
add a CompareValidator control to my web page and I adjust the properties of
this control to validate my calendar control. I use a CompareValidator to
ensure me that it is well a date which is seized in my control. When I
seized a date, that seems to function but if I seized anything other that a
date, the error message of the compareValidator is not showing on my web
page. What do I have to do so my calendar control can be validated by .NET
validation controls?
excuse my bad english
Thank you