<feed version="0.3" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns="http://purl.org/atom/ns#" xml:lang="en-US"><title>Langleyben Leon</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/default.aspx" /><tagline type="text/html">A .NET Blog</tagline><id>http://dotnetjunkies.com/WebLog/leon/default.aspx</id><author><url>http://dotnetjunkies.com/WebLog/leon/default.aspx</url></author><generator url="http://communityserver.org" version="1.0.1.50214">Community Server</generator><modified>2006-03-02T11:28:00Z</modified><entry><title>TFS SP1 Beta Released</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/09/26/148424.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:148424</id><created>2006-09-26T05:25:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;Almost a year after TFS release in last november, TFS SP1 beta is finaly&amp;nbsp;available. It is available through &lt;A href="https://connect.microsoft.com/"&gt;Microsoft Connect&lt;/A&gt; center. It is very important that this&amp;nbsp;release include not only bug fixes. Among main improvements: 
&lt;UL&gt;
&lt;LI&gt;Performance improvements 
&lt;LI&gt;Basic authentication suppotr (for extranet access scenarios) 
&lt;LI&gt;Customer contros support in WI forms 
&lt;LI&gt;Better merge history information 
&lt;LI&gt;Separated OLAP server installation support 
&lt;LI&gt;Office 2007 (Project and Excel only for now) support&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Thanks &lt;A href="http://blogs.msdn.com/bharry/archive/2006/09/26/772371.aspx#772417"&gt;Brian Harry&lt;/A&gt; for update.&lt;/P&gt;Cross-Posted from &lt;A href="http://blogs.microsoft.co.il/blogs/srlteam/archive/2006/09/26/3375.aspx"&gt;here&lt;/A&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=148424" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=148424</wfw:commentRss></entry><entry><title>Our Team System Blog</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/09/26/148423.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:148423</id><created>2006-09-26T05:20:00Z</created><content type="text/html" mode="escaped">Our group, which specilised in Team System consulting and implementation finaly start to &lt;A href="http://blogs.microsoft.co.il/blogs/srlteam/default.aspx"&gt;blog&lt;/A&gt;. From now on I will post my VSTS related entries there. And today, read &lt;A href="http://blogs.microsoft.co.il/blogs/srlteam/archive/2006/09/26/3367.aspx"&gt;VSS to Team System Migration Checklist&lt;/A&gt;. Cross-Posted from &lt;A href="http://blogs.microsoft.co.il/blogs/leon/archive/2006/09/26/3368.aspx"&gt;here&lt;/A&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=148423" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=148423</wfw:commentRss></entry><entry><title>InteropForm Toolkit - .NET - VB6 bridge part 2</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/09/24/148218.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:148218</id><created>2006-09-24T03:36:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;Ok, &lt;A href="http://blogs.microsoft.co.il/blogs/leon/archive/2006/09/23/3323.aspx"&gt;as promised&lt;/A&gt;, I finished C# project and item templates to be used with &lt;A href="http://msdn.microsoft.com/vbasic/downloads/powerpacks/interopforms/default.aspx"&gt;Interop Form Toolkit&lt;/A&gt;. In addition I extended Interop Wrapper Add-In to support C# code generation. You can download template, Add-In and full source code &lt;A href="http://www.codeproject.com/useritems/VB6_-_C__Interop_Form.asp"&gt;from here&lt;/A&gt;. I be glad to here what do you think.&lt;/P&gt;
&lt;P&gt;Cross-Posted from &lt;A href="http://blogs.microsoft.co.il/blogs/leon/archive/2006/09/24/3337.aspx"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=148218" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=148218</wfw:commentRss></entry><entry><title>InteropForm Toolkit - .NET - VB6 bridge</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/09/22/147952.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:147952</id><created>2006-09-22T10:30:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;Do you have existing VB6 system?&lt;BR&gt;Would you like to gradually migrate them into .NET world?&lt;BR&gt;Can you afford "all or nothing" migration?&lt;/P&gt;
&lt;P&gt;After a long period of talking and expectation &lt;A href="http://msdn.microsoft.com/vbasic/downloads/powerpacks/interopforms/default.aspx"&gt;Interop Form Toolkit &lt;/A&gt;is finally released. It is VS2005 Add-In together with project template and documentation, which allows to easy creating mixed VB6/VB.NET application. Toolkit automates interop objects generation and provides an easy way of VB6 - .NET communication through events and shared state. Toolkit is surprisingly fare documented and came with two sample project. &lt;/P&gt;
&lt;P&gt;After couple of hours playing with new toy, one thing I could not understand is "why it supports VB.NET only?" It happens that I personally prefer C# these days... So with a little help of my &lt;A href="http://www.denisbauer.com/NETTools/FileDisassembler.aspx"&gt;File Disassembler&lt;/A&gt; buddy I translated project template into C#. Existing Add-In generates wrapper classes in VB.NET, and it should be translated also. Now I have simple, fully functioning, combined C#-VB6 sample. It is about 2:30 in the morning on my clock, so I'll recreate Add-In tomorrow (and will, hopefully, post it along with C# project template).&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Cross-Posted from &lt;A href="http://blogs.microsoft.co.il/blogs/leon/archive/2006/09/23/3323.aspx"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=147952" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=147952</wfw:commentRss></entry><entry><title>Atlas Control Toolkit Refresh Released</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/05/06/137960.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:137960</id><created>2006-05-05T19:15:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;First &lt;A href="http://atlas.asp.net/atlastoolkit/"&gt;refresh of "Atlas" Control toolkit &lt;/A&gt;is out. You wiil found four new controls there, some new helpers and fixes. You can download it from &lt;A href="http://download.microsoft.com/download/b/8/1/b8176a86-5d85-41b8-819b-19a9acf1ce8c/AtlasControlToolkit.exe"&gt;here&lt;/A&gt;. Go for it!&lt;/P&gt;
&lt;P&gt;Cross-Posted from &lt;A href="http://blogs.microsoft.co.il/blogs/leon/archive/2006/05/06/329.aspx"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=137960" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=137960</wfw:commentRss></entry><entry><title>Atlas Controls Toolkit Next Drop on Its Way</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/04/29/137578.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:137578</id><created>2006-04-28T18:33:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;Next version of &lt;A href="http://atlas.asp.net/default.aspx?tabid=47&amp;amp;subtabid=477"&gt;Atlas Controls Toolkit&lt;/A&gt; will be out (probably) during next week. It will include Safari support, existing controls improvement and new extenders. Thanks &lt;A href="http://blogs.msdn.com/sburke/archive/2006/04/28/586095.aspx"&gt;Shawn&lt;/A&gt;&amp;nbsp;for update (teaser :)).&lt;/P&gt;
&lt;P&gt;Cross-Posted from &lt;A href="http://blogs.microsoft.co.il/blogs/leon/archive/2006/04/29/177.aspx"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=137578" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=137578</wfw:commentRss></entry><entry><title>Visual Studio Express Editions will Stay Free</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/04/29/137576.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:137576</id><created>2006-04-28T18:21:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;If you missed it &lt;A href="http://forums.asp.net/thread/1262185.aspx"&gt;here&lt;/A&gt;, it is a great news. Originally Express edition were announced as free for on year. After 5 million downloads, Microsoft decide to make those editions permanently free. You&amp;nbsp;can consult &lt;A href="http://msdn.microsoft.com/vstudio/products/compare/default.aspx"&gt;this comparison table&lt;/A&gt; to decide if Express edition is good enough for you.&lt;/P&gt;
&lt;P&gt;Cross-Posted from &lt;A href="http://blogs.microsoft.co.il/blogs/leon/archive/2006/04/29/175.aspx"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=137576" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=137576</wfw:commentRss></entry><entry><title>Team System Licensing</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/04/18/136854.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:136854</id><created>2006-04-17T18:48:00Z</created><content type="text/html" mode="escaped">I am frequently asked lately by client about Team System pricing and licensing. So just to summarize correct links in one place:&lt;BR&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=55933"&gt;Team system Licensing Overview&lt;/A&gt;&lt;BR&gt;&lt;A href="http://msdn.microsoft.com/vstudio/howtobuy/default.aspx"&gt;Pricing&lt;/A&gt;&lt;BR&gt;&lt;A href="http://download.microsoft.com/download/6/8/9/68964284-864d-4a6d-aed9-f2c1f8f23e14/VS_%20System_Guide.doc"&gt;Team System in Volume Licensing&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;Cross-Posted from &lt;A href="http://blogs.microsoft.co.il/blogs/leon/archive/2006/04/18/107.aspx"&gt;here&lt;/A&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=136854" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=136854</wfw:commentRss></entry><entry><title>Atlas Talk at Tech-Ed Israel</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/04/16/136824.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:136824</id><created>2006-04-16T03:04:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;I am going to speak at &lt;A href="http://www.microsoft.com/israel/teched/default.aspx"&gt;Tech-Ed Israel&lt;/A&gt; about Atlas. It is planned to be the only lecture at Tech-Ed related to ASP.NET. Anybody, who would like to attend (or just planning to download presentation and demos later), the time for suggestions is now. &lt;/P&gt;
&lt;P&gt;What would you like to hear? What do you think is wrong with ASP.NET today?&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;What feature you missing most? &lt;/P&gt;Cross-Posted from &lt;A href="http://blogs.microsoft.co.il/blogs/leon/archive/2006/04/16/91.aspx"&gt;here&lt;/A&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=136824" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=136824</wfw:commentRss></entry><entry><title>Microsoft Going Open-Source with Atlas Control Toolkit</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/04/16/136823.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:136823</id><created>2006-04-16T02:34:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;Finally first drop of Atlas Control Toolkit is out. If you are interested to play with it, you can get it &lt;A href="http://atlas.asp.net/default.aspx?tabid=47&amp;amp;subtabid=477"&gt;here&lt;/A&gt;. It contains bunch of controls together with set of VSI templates for new controls development. It not even beta, just little preview of direction, but is worth trying. There are many more controls planed. &lt;/P&gt;
&lt;P&gt;More interesting is that MS guys are planning to setup open-source environment for toolkit development. Way to go! There is so much to do (starting with decent design time support, for example), and we are &lt;STRONG&gt;REALLY &lt;/STRONG&gt;like to help!&lt;/P&gt;Cross-Posted from &lt;A href="http://blogs.microsoft.co.il/blogs/leon/archive/2006/04/16/88.aspx"&gt;here&lt;/A&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=136823" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=136823</wfw:commentRss></entry><entry><title>Finally Moving</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/04/16/136822.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:136822</id><created>2006-04-16T02:31:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;My Blog located at &lt;a href="http://www.dotnetjunkies.com/blogs"&gt;dotnetjunkies&lt;/A&gt;&amp;nbsp;for about a year already. It is a place for my findings about .NET dark places, technology news, web development etc. It is time to move now. From now on you will find me at &lt;a href="http://www.dotnetjunkies.com/blogs/leon/"&gt;here&lt;/A&gt;. &lt;BR&gt;Please come to visit, bring your thoughts and comments. &lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;PS&lt;/FONT&gt;. I'll cross post for a wile to both places. &lt;/P&gt;Cross-Posted from &lt;A href="http://blogs.microsoft.co.il/blogs/leon/archive/2006/04/16/79.aspx"&gt;here &lt;/A&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=136822" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=136822</wfw:commentRss></entry><entry><title>WinForm TextBox.AppendText</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/04/05/136643.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:136643</id><created>2006-04-05T02:59:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;Apparently this point is commonly overlooked:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Avoid using TextBox.Text += ... construct to build long content.&lt;/STRONG&gt;&lt;BR&gt;Use TextBox.AppendText instead. AppendText internally set selection after last character in Textbox and then replace selection with supplied text using SendMessage API. This method is more effective by order of multitude. Note that after AppendText invocation textbox scrolled down to the last line. This is making difference in textboxes with long content (and scrollbar).&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=136643" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=136643</wfw:commentRss></entry><entry><title>Some GC Mode Issues</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/03/29/136436.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:136436</id><created>2006-03-29T01:25:00Z</created><content type="text/html" mode="escaped">.NET Garbage Collector design to support two distinct modes: server and workstation. &lt;BR&gt;In server mode GC creates one GC heap and one relative GC thread for each processor. Each one of these threads performs collection in parallel. Server mode available on multi-processor machines only and shows good throughput and scalability. &lt;BR&gt;Workstation mode is default and only one available on single processor machine. In FW 1.0 and 1.1 server mode can be used only in unmanaged hosting environment. ASP.NET for example loads web applications in server mode. In FW1.1 and 2.0 GC mode could be controlled by configuration file entry. &lt;BR&gt;Following node in configuration mode switches GC into server mode: &lt;BR&gt;&amp;lt;CONFIGURATION&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;RUNTIME&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;GCSERVER enabled="true" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/RUNTIME&amp;gt;&lt;BR&gt;&amp;lt;/CONFIGURATION&amp;gt;&lt;BR&gt;The first challenge is to recognize in what mode our server application GC is actually running. In FW1.x it is easy. Workstation mode GC loaded from mscorwks.dll, server mode GC will use mscorsrv.dll. You can use Task Manager or Process Explorer from www.sysinternals.com to check this. In FW 2.0 it is trickier. Both GC modes combined in mscorwks.dll. &lt;BR&gt;Now we have new property GCSettings.IsServerGC which is return true in case that GC running in server mode. &lt;BR&gt;The last tip is: be careful with your configuration file if you want to activate GC in server mode. If you'll try to use any non ASCII characters GC will be loaded gracefully in workstation mode regardless of gcServer tag. See this issue http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=55947061-2b06-4325-b1ef-bdfa9f0af9ec&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=136436" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=136436</wfw:commentRss></entry><entry><title>Client Side ''onsubmit'' Action</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/03/14/135942.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:135942</id><created>2006-03-13T22:06:00Z</created><content type="text/html" mode="escaped">There are two ways to add some client-side processing before ASP.NET 2.0 page submitted.&lt;BR&gt;1. Add onsubmit attribute to Form tag in aspx file&lt;BR&gt;2. Use this.Page.ClientScript.RegisterOnSubmitStatement method &lt;BR&gt;Is there any difference? &lt;BR&gt;The answer is &lt;STRONG&gt;processing order&lt;/STRONG&gt;. &lt;BR&gt;When aspx page being processed internal collection (_registeredOnSubmitStatements) created which holds all submit statements in order of RegisterOnSubmitStatement calls. Value of onsubmit attribute from aspx added at the end. Client side script created from this collection as statements of WebForm_OnSubmit function. &lt;BR&gt;Now, when the order is particulary importemnt? It will be if we will use validator controls. Validator controls that allows client side script also register submit statement (through BaseValidator class) at PreRender stage. If client side validation fails, any submit statement that follows will not be executed. This behavior is very useful in some scenarios but unwanted in others.&lt;BR&gt;&lt;STRONG&gt;The suggestion is:&lt;/STRONG&gt; &lt;BR&gt;- If you need to execute client script on page submit regardless of validation result (submit attempt), use RegisterOnSubmitStatement method &lt;U&gt;before PreRender&lt;/U&gt; (for example in Page_Load). &lt;BR&gt;- If you want to execute script only after successful validation, use onsubmit attribute.&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=135942" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=135942</wfw:commentRss></entry><entry><title>HowTo Skip Server Side Validation</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/leon/archive/2006/03/02/135703.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:135703</id><created>2006-03-02T01:28:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;ASP.NET button have nice property CausesValidation which allows to prevent &lt;U&gt;client side&lt;/U&gt; validation when button clicked. Common, recomended pattern states that any validation performed on client should be done again at server. Suppose we use CustomValidator control with both client and server validation functions. We can bypass client validation using CausesValidation property, but we will be stoped by server validation. Would it be nice (logical)&amp;nbsp;to bypass all validation on postback event raised by button with CausesValidation property set to false? Let's see how can we make this happen. The direct approach is to override Page.Validate method. in this method we'll check if event raised by button with CausesValidation=false and will call real Validate only if not. I probably could reproduce ASP.NET code used to retrieve from Request event source control, but here I am taking shortcut. We'll use private property of Page _registeredControlThatRequireRaiseEvent which is instantiated by ASP.NET. A bit of reflection at it's done:&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;public override void&lt;/FONT&gt;&lt;FONT&gt; Validate()&lt;BR&gt;{&lt;BR&gt;&lt;/FONT&gt;&lt;FONT&gt;&amp;nbsp;&amp;nbsp; Button&lt;/FONT&gt;&lt;FONT&gt; btn = &lt;/FONT&gt;&lt;FONT&gt;typeof&lt;/FONT&gt;&lt;FONT&gt;(&lt;/FONT&gt;&lt;FONT&gt;Page&lt;/FONT&gt;&lt;FONT&gt;).InvokeMember(&lt;/FONT&gt;&lt;FONT&gt;"_registeredControlThatRequireRaiseEvent"&lt;/FONT&gt;&lt;FONT&gt;,&lt;BR&gt;&lt;/FONT&gt;&lt;FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BindingFlags&lt;/FONT&gt;&lt;FONT&gt;.GetField | &lt;/FONT&gt;&lt;FONT&gt;BindingFlags&lt;/FONT&gt;&lt;FONT&gt;.NonPublic | &lt;/FONT&gt;&lt;FONT&gt;BindingFlags&lt;/FONT&gt;&lt;FONT&gt;.Instance, &lt;/FONT&gt;&lt;FONT&gt;null&lt;/FONT&gt;&lt;FONT&gt;, &lt;/FONT&gt;&lt;FONT&gt;this&lt;/FONT&gt;&lt;FONT&gt;, &lt;/FONT&gt;&lt;FONT&gt;null&lt;/FONT&gt;&lt;FONT&gt;, &lt;/FONT&gt;&lt;FONT&gt;null&lt;/FONT&gt;&lt;FONT&gt;) &lt;/FONT&gt;&lt;FONT&gt;as&lt;/FONT&gt;&lt;FONT&gt; &lt;/FONT&gt;&lt;FONT&gt;Button&lt;/FONT&gt;&lt;FONT&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT&gt;&amp;nbsp;&amp;nbsp; if&lt;/FONT&gt;&lt;FONT&gt; (btn != &lt;/FONT&gt;&lt;FONT&gt;null&lt;/FONT&gt;&lt;FONT&gt; &amp;amp;&amp;amp; !btn.CausesValidation)&lt;BR&gt;&lt;/FONT&gt;&lt;FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;/FONT&gt;&lt;FONT&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT&gt;&amp;nbsp;&amp;nbsp; base&lt;/FONT&gt;&lt;FONT&gt;.Validate();&lt;BR&gt;}&lt;BR&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=135703" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/leon/commentrss.aspx?PostID=135703</wfw:commentRss></entry></feed>