Bug with CustomValidator without ControlToValidate property

If you set a CustomValdiator on a Rad control (any one), but do NOT set a ControlToValidate property (this is perfectly legal per MS: http://msdn.microsoft.com/en-us/library/9eee01cx(VS.80).aspx) but you DO set SetFocus = "true," it will throw a Javascript error when executed because it is trying to resolve a reference to the ControlToValidate without first checking if the property was set.

Here's a snippet of the file. The error occurs on the last line where it attempts to get the style of object "g."

Dimo

Thanks for the feedback. Surely, we can easily fix this, in fact we already have, however, I am curious in what scenario do you need both SetFocusOnError="true" with no ControlToValidate specified?

Regards,
Dimo
the Telerik team

Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items

Clearly, I don't actually need SetFocus="true", but I originally had a ControlToValidate but removed it for other reasons, which is when I found the bug. I did spend a few hours tracking it down. Aren't there some Telerik points for finding confirmed bugs?

Dimo

Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.