i will be very happy if someone finds me a solution. i have a Windows presentation foundation user control inside a windows form. the user control has a tab control which has four tab items. in one tab i have text boxes on which i have done some validation. when i move across tabs the validation error message disappears. does someone know why is it disappearing?. below is the code for the tab items
<Grid><TabControl><TabItemHeader="Estimate Search"MinWidth="131"></TabItem><TabItemHeader="Import Estimates"MinWidth="131"></TabItem><TabItemHeader="Add Individual Estimate"MinWidth="131"><my:AddIndividualEstimatex:Name="AddIndividualEstimateView"/></TabItem><TabItemHeader="Reports"MinWidth="131"></TabItem></TabControl></Grid>
below is the text box code that im validating
<TextBoxGrid.Row="1"Grid.Column="1"Name="_productID"Margin="5,3,5,3"Width="150"HorizontalAlignment="Left"><TextBox.Text><BindingPath="Product"><Binding.ValidationRules><model:ProductIDValidation/></Binding.ValidationRules></Binding></TextBox.Text></TextBox>