ActivateItem red border appears

Jan 25, 2012 at 8:01 AM

Hi,

I have implemented a validation in my EF and my View binds to an ObservableCollection in the ViewModel. I have set the ValidatesOnDataErrors = True in the View. The view is opened via ActivateItem(New MyViewModel) and when initially loads, the View shows the correct red border with tooltip error template. But on succeeding loads/call to ActivateItem(New MyViewModel), there seems to be another red border appearing with the existing error template that I have making it appear like the border thickness is x2 than what I hae set. And when the valid values are entered, this red border does not get cleared. Am I doing something wrong? Hope someone could help me out.

Thanks.