This validation will take effect when the CellValidating event is raised. It will be raised for a cell when you commit editing a cell. Therefore, this code will not be executed initially.
You can implement the IDataErrorInfo interface to get the validation initially.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.