TabControl doesn't display Validation error information correctly when switching tabs back and forth. - by David Brenchley

Status : 

  Won't Fix<br /><br />
		Due to several factors the product team decided to focus its efforts on other items.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


36
0
Sign in
to vote
ID 295933 Comments
Status Closed Workarounds
Type Bug Repros 17
Opened 8/30/2007 2:50:36 PM
Access Restriction Public

Description

TabControl doesn't display Validation error information correctly when switching tabs back and forth. Setting the Validation.ErrorTemplate on textboxes in a tabitem, then causing a validationrule to fire, the errortemplate displays correctly, however
After tabbing to another tab, then back, the controls in the error template no longer display.
Sign in to post a comment.
Posted by CristianKa on 4/29/2011 at 7:31 AM
.Net 4.0 has been out for a while now.. Could this be fixed to next version?
Posted by Heraclito on 3/15/2011 at 10:34 AM
Microsoft please fix this bug, tabbed interfaces are so common, how can wpf not support it when data requires validation. I would give this bug a top priority!
Posted by SimonCropp on 12/7/2010 at 4:05 PM
This bug does not just affect TabContols. It will also manifest itself when you add and remove controls from a parent control. So it seems to be more to do with "losing focus" than "changing tabs"
Posted by Gerhard Jarusch on 9/23/2010 at 7:46 AM
The workaround with AdornerDecorator does not work when the tab page is initially invisible (not selected).

PLEEEAAASEEE FIX THIS ISSUE!!!!
Posted by Qnomad on 8/20/2010 at 2:00 AM
The AdornerDecorator workaround may not be acceptable since the error adorner will be clipped at the AdornerDecorator's boundary. This is a BUG that needs to be FIXED, please.
Posted by Roger hill on 12/16/2009 at 2:28 AM
I had a similar issue with a TabControl with data bound controls on various tab panes.
The data bound controls were not always displaying as expected when switching between Tabs. (i.e. combo boxes were blank/greyed out when they should not have been)
Adding an AdornerDecorator to my Tab Pane template got rid of the problem.
Posted by Microsoft on 3/12/2009 at 3:43 PM
Thank you for reporting this issue. Though this issue is under investigation, we will likely not have a fix available in .NET 4.0. We will update this bug again when we are able to fix the issue in a future release. Thanks!
Posted by Microsoft on 8/31/2007 at 3:27 AM
Thanks for your feedback. We have reproduced this bug on Visual Studio 2008 Beta 2, and we are sending this bug to the appropriate group within the VisualStudio Product Team for triage and resolution.

Thank you,
Visual Studio Product Team.
Posted by Microsoft on 8/30/2007 at 6:12 PM
Thank you for your feedback. We are currently investigating. If this issue is urgent, please call support directly (see http://support.microsoft.com). Thank you, Visual Studio Product Team.