<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Tab Control Breaking Causing Validation</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Tab Control Breaking Causing Validation]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:31:56 +0000</pubDate>
  <lastBuildDate>Mon, 05 Nov 2012 11:27:21 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=20266</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Tab Control Breaking Causing Validation : Hi,This is related to the issu...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20266&amp;PID=69160&amp;title=tab-control-breaking-causing-validation#69160</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7709">DMoreland</a><br /><strong>Subject:</strong> 20266<br /><strong>Posted:</strong> 05 November 2012 at 11:27am<br /><br />Hi,<div><br></div><div>This is related to the issue&nbsp;</div><div><br></div><div><a href="http://forum.codejock.com/forum_posts.asp?TID=19248&amp;KW=&amp;PID=66974&amp;title=solved-groupbox-breaking-causesvalidati&#111;n#66974" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=19248&amp;KW=&amp;PID=66974&amp;title=solved-groupbox-breaking-causesvalidation#66974</a></div><div><br></div><div>If i place a user control in a tab control when i click the tab headers the validation events do not fire correctly allowing me to change tab. This happens if i host a user control inside the tab page or inside a group box in the tab page. This doesn't happen if i place the user control inside a frame on the tab page.&nbsp;</div><div><br></div><div>When a user control is inside a group box the event order is&nbsp;</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: n&#111;ne; padding: 0px;"><div><div>TestControlGroupTab:txtData_Validate</div></div><div><div>TestControlGroupTab:UserControl_ExitFocus</div></div><div><div>TestControlGroupTab:txtData_LostFocus</div></div></blockquote><div><br></div><div>When the User Control is in a frame the event order is&nbsp;</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: n&#111;ne; padding: 0px;"><div>TestControlFrameTab:txtData_Validate</div></blockquote><div><br></div><div>When the user control is not in a frame or group box the event order is.&nbsp;</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: n&#111;ne; padding: 0px;"><div><div>TestControlNoParentTab:txtData_LostFocus</div></div><div><div>TestControlNoParentTab:txtData_Validate</div></div><div><div>TestControlNoParentTab:UserControl_ExitFocus</div></div><div><div>TestControlNoParentTab:UserControl_ExitFocus</div></div><div><br></div></blockquote>I have attached an example appliction of this behaviour in action.&nbsp;<a href="http://forum.codejock.com/uploads/7709/C&#111;ntrolValidati&#111;nIssue.zip" target="_blank">uploads/7709/ControlValidationIssue.zip</a><div><br></div><div><div style=": rgb248, 248, 252; ">Note. Do not click between the user controls as this will get stuck in a validation loop.</div><div style=": rgb248, 248, 252; ">Note. The user control and app must be compiled (and run using this) to correctly highlight the issue.</div></div><div><br><div><br></div><div><br><blockquote style="margin: 0 0 0 40px; border: n&#111;ne; padding: 0px;"><div><br></div></blockquote></div></div>]]>
   </description>
   <pubDate>Mon, 05 Nov 2012 11:27:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20266&amp;PID=69160&amp;title=tab-control-breaking-causing-validation#69160</guid>
  </item> 
 </channel>
</rss>