S
STech
I would like to add *designtime* and *runtime* checks to two properties in a
custom webcontrol
1) I would like to check the value of the property (int) and make sure it is
in a certain range.
2) I would like to compare two properties on the control anytime one
property is changed and make sure one is greater than the other.
The properties are similar to the minvalue, maxvalue properties of the range
validator.
What is the recommended way of doing this? I could add the check during the
"get" of a property but that does not work in design time.
Thanks.
custom webcontrol
1) I would like to check the value of the property (int) and make sure it is
in a certain range.
2) I would like to compare two properties on the control anytime one
property is changed and make sure one is greater than the other.
The properties are similar to the minvalue, maxvalue properties of the range
validator.
What is the recommended way of doing this? I could add the check during the
"get" of a property but that does not work in design time.
Thanks.