<?xml version="1.0"?>
<!-- RSS generated by Radio UserLand v8.2.1 on Fri, 27 Jan 2006 07:58:38 GMT -->
<rss version="2.0">
	<channel>
		<title>Hannes &apos;Shorty&apos; Decorte&apos;s Blog | SharePoint, .Net 2.0, ...</title>
		<link>http://radio.weblogs.com/0132279/</link>
		<description>Bringing SharePoint, Office and .Net information</description>
		<language>en</language>
		<copyright>Copyright 2006 Hannes &apos;Shorty&apos; Decorte</copyright>
		<lastBuildDate>Fri, 27 Jan 2006 07:58:38 GMT</lastBuildDate>
		<docs>http://backend.userland.com/rss</docs>
		<generator>Radio UserLand v8.2.1</generator>
		<managingEditor>Hannes Decorte</managingEditor>
		<webMaster>Hannes Decorte</webMaster>
		<category domain="http://www.weblogs.com/rssUpdates/changes.xml">rssUpdates</category> 
		<cloud domain="radio.xmlstoragesystem.com" port="80" path="/RPC2" registerProcedure="xmlStorageSystem.rssPleaseNotify" protocol="xml-rpc"/>
		<ttl>60</ttl>
		<item>
			<title>5 invitations for Windows Live Messenger.</title>
			<link>http://radio.weblogs.com/0132279/2006/01/27.html#a106</link>
			<description>&lt;P&gt;All,&lt;/P&gt;
&lt;P&gt;I have 5 invitations for Windows Live Messenger. So if you want one, contact me at hannes_decorte at hotmail dot com.&lt;/P&gt;
&lt;P&gt;Be fast!!!&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0132279/2006/01/27.html#a106</guid>
			<pubDate>Fri, 27 Jan 2006 07:58:38 GMT</pubDate>
			<comments>http://radiocomments2.userland.com/comments?u=132279&amp;amp;p=106&amp;amp;link=http%3A%2F%2Fradio.weblogs.com%2F0132279%2F2006%2F01%2F27.html%23a106</comments>
			</item>
		<item>
			<title>CW</title>
			<link>http://radio.weblogs.com/0132279/2005/12/14.html#a105</link>
			<description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0132279/2005/12/14.html#a105</guid>
			<pubDate>Wed, 14 Dec 2005 08:54:32 GMT</pubDate>
			<comments>http://radiocomments2.userland.com/comments?u=132279&amp;amp;p=105&amp;amp;link=http%3A%2F%2Fradio.weblogs.com%2F0132279%2F2005%2F12%2F14.html%23a105</comments>
			</item>
		<item>
			<title>Regular Expressions very good website</title>
			<link>http://radio.weblogs.com/0132279/2005/11/24.html#a104</link>
			<description>&lt;P&gt;&lt;BR&gt;See it here &lt;A href=&quot;http://www.regexlib.com&quot;&gt;&lt;a href=&quot;http://www.regexlib.com&quot;&gt;http://www.regexlib.com&lt;/a&gt;&lt;/A&gt;&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0132279/2005/11/24.html#a104</guid>
			<pubDate>Thu, 24 Nov 2005 08:49:03 GMT</pubDate>
			<comments>http://radiocomments2.userland.com/comments?u=132279&amp;amp;p=104&amp;amp;link=http%3A%2F%2Fradio.weblogs.com%2F0132279%2F2005%2F11%2F24.html%23a104</comments>
			</item>
		<item>
			<title>Validating Windows Forms Child Controls in .Net 2.0</title>
			<link>http://radio.weblogs.com/0132279/2005/11/24.html#a103</link>
			<description>&lt;P&gt;There is an interesting new overloaded method in the Form class in .Net 2.0 :&lt;/P&gt;
&lt;P&gt;ValidateChildren() and ValidateChildren(ValidationConstraints validationConstraints)&lt;BR&gt;&lt;BR&gt;From the &lt;A href=&quot;http://msdn.microsoft.com&quot;&gt;MSDN&lt;/A&gt; web site:&lt;/P&gt;
&lt;P&gt;.NET Framework Class Library &amp;nbsp; &lt;/P&gt;
&lt;DIV class=title&gt;ContainerControl.ValidateChildren Method () &amp;nbsp; &lt;/DIV&gt;
&lt;DIV id=mainSection&gt;
&lt;DIV id=mainBody&gt;
&lt;DIV class=saveHistory id=allHistory onsave=&quot;saveAll()&quot; onload=&quot;loadAll()&quot;&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: red&quot;&gt;Note: This method is new in the .NET Framework version 2.0.&lt;/SPAN&gt; 
&lt;P&gt;Causes all of the child controls within a control that support validation to validate their data. &lt;/P&gt;
&lt;H4 class=subHeading&gt;Return Value&lt;/H4&gt;
&lt;P&gt;&lt;B&gt;true&lt;/B&gt; if all of the children validated successfully; otherwise, &lt;B&gt;false&lt;/B&gt;. &lt;/P&gt;
&lt;DIV class=MTPS_CollapsibleRegion&gt;
&lt;SCRIPT type=text/Javascript&gt;
var ExpCollDivStr=ExpCollDivStr;
ExpCollDivStr = ExpCollDivStr + &quot;ctl00_LibFrame_MainContent_ctl15eb15877,&quot;;
var ExpCollImgStr = ExpCollImgStr;
 ExpCollImgStr = ExpCollImgStr + &quot;ctl00_LibFrame_MainContent_ctl15img,&quot;;
&lt;/SCRIPT&gt;
&lt;A class=CollapseRegionLink onclick=&quot; if (ctl00_LibFrame_MainContent_ctl15eb15877.style.display==&apos;none&apos;) { ctl00_LibFrame_MainContent_ctl15eb15877.style.display=&apos;block&apos;;ctl00_LibFrame_MainContent_ctl15img.src=&apos;/LibraryType/Controls/CollapsibleArea/en-US/minus.gif&apos;; }else{ ctl00_LibFrame_MainContent_ctl15eb15877.style.display=&apos;none&apos;; ctl00_LibFrame_MainContent_ctl15img.src=&apos;/LibraryType/Controls/CollapsibleArea/en-US/plus.gif&apos;;} checkExpCollAll();&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/ms158374.aspx#&quot;&gt;Remarks&lt;/A&gt;&lt;BR&gt;
&lt;DIV class=section id=ctl00_LibFrame_MainContent_ctl15eb15877 style=&quot;DISPLAY: block&quot;&gt;
&lt;DIV id=ctl00_LibFrame_MainContent_ctl15&gt;
&lt;P&gt;&lt;B&gt;ValidateChildren&lt;/B&gt; will descend a control&apos;s hierarchy and examine each control to see if it supports validation. If the control can be selected by the user and its &lt;A onclick=&quot;javascript:TrackThisClick(&apos;ctl00_LibFrame_MainContent_ctl15&apos;,&apos;ctl00_LibFrame_MainContent_ctl15::ctl00_LibFrame_MainContent_ctl16&apos;,this.href);&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.causesvalidation.aspx&quot;&gt;CausesValidation&lt;/A&gt; property is &lt;B&gt;true&lt;/B&gt;, &lt;B&gt;ValidateChildren&lt;/B&gt; will cause the &lt;A onclick=&quot;javascript:TrackThisClick(&apos;ctl00_LibFrame_MainContent_ctl15&apos;,&apos;ctl00_LibFrame_MainContent_ctl15::ctl00_LibFrame_MainContent_ctl17&apos;,this.href);&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.validating.aspx&quot;&gt;Validating&lt;/A&gt; event to occur. If any of the controls cancel the &lt;B&gt;Validating&lt;/B&gt; event, this method will return &lt;B&gt;false&lt;/B&gt;; otherwise, it will return &lt;B&gt;true&lt;/B&gt;.&lt;/P&gt;
&lt;P&gt;If a control is bound to a data source, and the &lt;B&gt;Validating&lt;/B&gt; event occurs, it will cause the control to push its current data back to the data source. &lt;/P&gt;
&lt;P&gt;Calling &lt;B&gt;ValidateChildren&lt;/B&gt; is equivalent to calling &lt;A onclick=&quot;javascript:TrackThisClick(&apos;ctl00_LibFrame_MainContent_ctl15&apos;,&apos;ctl00_LibFrame_MainContent_ctl15::ctl00_LibFrame_MainContent_ctl18&apos;,this.href);&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/system.windows.forms.containercontrol.validatechildren.aspx&quot;&gt;ValidateChildren&lt;/A&gt; with a &lt;A onclick=&quot;javascript:TrackThisClick(&apos;ctl00_LibFrame_MainContent_ctl15&apos;,&apos;ctl00_LibFrame_MainContent_ctl15::ctl00_LibFrame_MainContent_ctl19&apos;,this.href);&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/system.windows.forms.validationconstraints.aspx&quot;&gt;ValidationConstraints&lt;/A&gt; of &lt;A onclick=&quot;javascript:TrackThisClick(&apos;ctl00_LibFrame_MainContent_ctl15&apos;,&apos;ctl00_LibFrame_MainContent_ctl15::ctl00_LibFrame_MainContent_ctl20&apos;,this.href);&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/system.windows.forms.validationconstraints.aspx&quot;&gt;None&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;FONT color=#800080&gt;&lt;A onclick=&quot;javascript:TrackThisClick(&apos;ctl00_LibFrame_MainContent_ctl15&apos;,&apos;ctl00_LibFrame_MainContent_ctl15::ctl00_LibFrame_MainContent_ctl19&apos;,this.href);&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/system.windows.forms.validationconstraints.aspx&quot;&gt;ValidationConstraints&lt;/A&gt;&amp;nbsp;Members&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;
&lt;DIV class=section id=ctl00_LibFrame_MainContent_ctl16f9f58b7 style=&quot;DISPLAY: block&quot;&gt;
&lt;DIV id=ctl00_LibFrame_MainContent_ctl16&gt;
&lt;TABLE cellSpacing=2 cellPadding=5 width=&quot;100%&quot;&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH&gt;&amp;nbsp;&lt;/TH&gt;
&lt;TH align=left&gt;Member name&lt;/TH&gt;
&lt;TH align=left&gt;Description&lt;/TH&gt;&lt;/TR&gt;
&lt;TR vAlign=top&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&lt;B&gt;Enabled&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;Validates child controls whose &lt;B&gt;Enabled&lt;/B&gt; property is set to &lt;B&gt;true&lt;/B&gt;.&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR vAlign=top&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&lt;B&gt;ImmediateChildren&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;Validates child controls that are directly hosted within the container. Does not validate any of the children of these children. For example, if you have a &lt;A onclick=&quot;javascript:TrackThisClick(&apos;ctl00_LibFrame_MainContent_ctl16&apos;,&apos;ctl00_LibFrame_MainContent_ctl16::ctl00_LibFrame_MainContent_ctl17&apos;,this.href);&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/system.windows.forms.form.aspx&quot;&gt;Form&lt;/A&gt; that contains a custom &lt;A onclick=&quot;javascript:TrackThisClick(&apos;ctl00_LibFrame_MainContent_ctl16&apos;,&apos;ctl00_LibFrame_MainContent_ctl16::ctl00_LibFrame_MainContent_ctl18&apos;,this.href);&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/system.windows.forms.usercontrol.aspx&quot;&gt;UserControl&lt;/A&gt;, and the &lt;B&gt;UserControl&lt;/B&gt; contains a &lt;A onclick=&quot;javascript:TrackThisClick(&apos;ctl00_LibFrame_MainContent_ctl16&apos;,&apos;ctl00_LibFrame_MainContent_ctl16::ctl00_LibFrame_MainContent_ctl19&apos;,this.href);&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/system.windows.forms.button.aspx&quot;&gt;Button&lt;/A&gt;, using &lt;B&gt;ImmediateChildren&lt;/B&gt; will cause the &lt;B&gt;Validating&lt;/B&gt; event of the &lt;B&gt;UserControl&lt;/B&gt; to occur, but not the &lt;B&gt;Validating&lt;/B&gt; event of the &lt;B&gt;Button&lt;/B&gt;. &amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR vAlign=top&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&lt;B&gt;None&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;Validates all child controls, and all children of these child controls, regardless of their property settings. &amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR vAlign=top&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&lt;B&gt;Selectable&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;Validates child controls that can be selected.&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR vAlign=top&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&lt;B&gt;TabStop&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;Validates child controls that have a &lt;A onclick=&quot;javascript:TrackThisClick(&apos;ctl00_LibFrame_MainContent_ctl16&apos;,&apos;ctl00_LibFrame_MainContent_ctl16::ctl00_LibFrame_MainContent_ctl20&apos;,this.href);&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.tabstop.aspx&quot;&gt;TabStop&lt;/A&gt; value set, which means that the user can navigate to the control using the TAB key. &amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR vAlign=top&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&lt;B&gt;Visible&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;Validates child controls whose &lt;A onclick=&quot;javascript:TrackThisClick(&apos;ctl00_LibFrame_MainContent_ctl16&apos;,&apos;ctl00_LibFrame_MainContent_ctl16::ctl00_LibFrame_MainContent_ctl21&apos;,this.href);&quot; href=&quot;http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.visible.aspx&quot;&gt;Visible&lt;/A&gt; property is set to &lt;B&gt;true&lt;/B&gt;.&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
			<guid>http://radio.weblogs.com/0132279/2005/11/24.html#a103</guid>
			<pubDate>Thu, 24 Nov 2005 08:03:20 GMT</pubDate>
			<comments>http://radiocomments2.userland.com/comments?u=132279&amp;amp;p=103&amp;amp;link=http%3A%2F%2Fradio.weblogs.com%2F0132279%2F2005%2F11%2F24.html%23a103</comments>
			</item>
		<item>
			<title>Enumerating all available public methods in referenced and current assembly</title>
			<link>http://radio.weblogs.com/0132279/2005/11/24.html#a102</link>
			<description>&lt;P&gt;To enumerate all the methods available in a designtime component(e.g. UITypeEditor), start from the IServiceProvider passed to the component.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Get the available types. &lt;BR&gt;&lt;/EM&gt;&lt;FONT color=seagreen&gt;&lt;BR&gt;ITypeDiscoveryService&lt;/FONT&gt; service = (&lt;FONT color=seagreen&gt;ITypeDiscoveryService&lt;/FONT&gt;)ServiceProvider.GetService(typeof(&lt;FONT color=seagreen&gt;ITypeDiscoveryService&lt;/FONT&gt;));&lt;BR&gt;&lt;FONT color=seagreen&gt;ICollection&lt;/FONT&gt; icolletion = service.GetTypes(&lt;FONT color=blue&gt;typeof&lt;/FONT&gt;(&lt;FONT color=blue&gt;object&lt;/FONT&gt;), &lt;FONT color=blue&gt;true&lt;/FONT&gt;);&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;For each type in the collection get the public methods&lt;BR&gt;&lt;BR&gt;&lt;/EM&gt;type.GetMethods(&lt;FONT color=seagreen&gt;BindingFlags&lt;/FONT&gt;.FlattenHierarchy | (&lt;FONT color=seagreen&gt;BindingFlags&lt;/FONT&gt;.Public | (&lt;FONT color=seagreen&gt;BindingFlags&lt;/FONT&gt;.Static | &lt;FONT color=seagreen&gt;BindingFlags&lt;/FONT&gt;.Instance))&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;If you want to eliminate abstract methods, methods with void as return type, and property get and setters, apply the following check.&lt;BR&gt;&lt;BR&gt;&lt;/EM&gt;!methodInfo.ReturnType.Equals(&lt;FONT color=blue&gt;typeof&lt;/FONT&gt;(&lt;FONT color=blue&gt;void&lt;/FONT&gt;)) &amp;amp;&amp;amp; (((methodInfo.GetBaseDefinition().DeclaringType != &lt;FONT color=blue&gt;typeof&lt;/FONT&gt;(&lt;FONT color=blue&gt;object&lt;/FONT&gt;)) &amp;amp; !methodInfo.IsSpecialName) &amp;amp;&amp;amp; !methodInfo.IsAbstract)&lt;/P&gt;
&lt;P&gt;Based on &lt;A href=&quot;http://www.microsoft.com/net&quot;&gt;.Net 2.0&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0132279/2005/11/24.html#a102</guid>
			<pubDate>Thu, 24 Nov 2005 06:54:20 GMT</pubDate>
			<comments>http://radiocomments2.userland.com/comments?u=132279&amp;amp;p=102&amp;amp;link=http%3A%2F%2Fradio.weblogs.com%2F0132279%2F2005%2F11%2F24.html%23a102</comments>
			</item>
		<item>
			<title>BoundField DataFormatString attribute not being applied. </title>
			<link>http://radio.weblogs.com/0132279/2005/11/16.html#a101</link>
			<description>&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Verdana; mso-no-proof: yes&quot;&gt;&lt;FONT size=2&gt;&lt;FONT color=#a52a2a&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Verdana; mso-no-proof: yes&quot;&gt;&lt;FONT size=2&gt;&lt;FONT color=#a52a2a&gt;Version: ASP.net 2.0 RTM&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#000000&gt;I wasted a few minutes figuring out this one.&lt;BR&gt;&lt;BR&gt;You have a BoundField object bound to a field of type &lt;FONT face=&quot;Courier New&quot;&gt;DateTime&lt;/FONT&gt; with a &lt;FONT face=&quot;Courier New&quot;&gt;DataFormatString&lt;/FONT&gt; attribute but the format string is not being applied.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: ProggyOptiS; mso-no-proof: yes&quot;&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: &apos;Courier New&apos;; mso-no-proof: yes&quot;&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: maroon; FONT-FAMILY: &apos;Courier New&apos;; mso-no-proof: yes&quot;&gt;asp&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: &apos;Courier New&apos;; mso-no-proof: yes&quot;&gt;:&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: maroon; FONT-FAMILY: &apos;Courier New&apos;; mso-no-proof: yes&quot;&gt;BoundField&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; FONT-FAMILY: &apos;Courier New&apos;; mso-no-proof: yes&quot;&gt; &lt;SPAN style=&quot;COLOR: red&quot;&gt;DataField&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: blue&quot;&gt;=&quot;DateOfBirth&quot;&lt;/SPAN&gt; &lt;SPAN style=&quot;COLOR: red&quot;&gt;DataFormatString&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: blue&quot;&gt;=&quot;{0:MM/dd/yyyy}&quot;&lt;/SPAN&gt; &lt;SPAN style=&quot;COLOR: blue&quot;&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Verdana; mso-no-proof: yes&quot;&gt;&lt;?xml:namespace prefix = o ns = &quot;urn:schemas-microsoft-com:office:office&quot; /&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;Instead, the field appears to be formatted using its ToString()method like so:&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Verdana; mso-no-proof: yes&quot;&gt;&lt;o:p&gt;&lt;FONT size=2&gt;&lt;BR&gt;&lt;FONT color=#000000&gt;Output: 10/31/2005 7:00:54 PM&lt;/FONT&gt;&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Verdana; mso-no-proof: yes&quot;&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;&lt;FONT color=#000000&gt;Cause&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Verdana; mso-no-proof: yes&quot;&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;To prevent cross site scripting attacks, the field value is HtmlEncoded. The HtmlEncoding occurs&amp;nbsp;&lt;B style=&quot;mso-bidi-font-weight: normal&quot;&gt;before&lt;/B&gt; applying the DataFormatString making the format string have no effect.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Verdana; mso-no-proof: yes&quot;&gt;&lt;o:p&gt;&lt;FONT size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Verdana; mso-no-proof: yes&quot;&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;&lt;FONT color=#000000&gt;Resolution&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Verdana; mso-no-proof: yes&quot;&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;&lt;U&gt;In this case&lt;/U&gt; (ie. when using a field of type DateTime), set &lt;FONT face=&quot;Courier New&quot;&gt;HtmlEncode&lt;/FONT&gt; to false.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: &apos;Courier New&apos;; mso-no-proof: yes&quot;&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: maroon; FONT-FAMILY: &apos;Courier New&apos;; mso-no-proof: yes&quot;&gt;asp&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: &apos;Courier New&apos;; mso-no-proof: yes&quot;&gt;:&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: maroon; FONT-FAMILY: &apos;Courier New&apos;; mso-no-proof: yes&quot;&gt;BoundField&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; FONT-FAMILY: &apos;Courier New&apos;; mso-no-proof: yes&quot;&gt; &lt;SPAN style=&quot;COLOR: red&quot;&gt;DataField&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: blue&quot;&gt;=&quot;DateOfBirth&quot;&lt;/SPAN&gt; &lt;SPAN style=&quot;COLOR: red&quot;&gt;DataFormatString&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: blue&quot;&gt;=&quot;{0:MM/dd/yyyy}&quot;&lt;/SPAN&gt; &lt;SPAN style=&quot;COLOR: red&quot;&gt;HtmlEncode&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: blue&quot;&gt;=&quot;false&quot;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Verdana; mso-no-proof: yes&quot;&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style=&quot;MARGIN: 0in 0in 0pt; mso-layout-grid-align: none&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: Verdana; mso-no-proof: yes&quot;&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Output: 10/31/2005&lt;BR&gt;&lt;BR&gt;I am not sure why the ASP.net team decided against HtmlEncoding the string &lt;B style=&quot;mso-bidi-font-weight: normal&quot;&gt;after&lt;/B&gt; applying the &lt;FONT face=&quot;Courier New&quot;&gt;DataFormatString&lt;/FONT&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0132279/2005/11/16.html#a101</guid>
			<pubDate>Wed, 16 Nov 2005 14:26:35 GMT</pubDate>
			<comments>http://radiocomments2.userland.com/comments?u=132279&amp;amp;p=101&amp;amp;link=http%3A%2F%2Fradio.weblogs.com%2F0132279%2F2005%2F11%2F16.html%23a101</comments>
			</item>
		<item>
			<title>How to switch between settings (C#, VB.NET, ...) in Visual Studio 2005</title>
			<link>http://radio.weblogs.com/0132279/2005/11/08.html#a100</link>
			<description>&lt;DIV class=majorTitle&gt;To change select settings&lt;/DIV&gt;
&lt;DIV id=mainSection&gt;
&lt;DIV id=mainBody&gt;
&lt;DIV class=section id=procedureSection0&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;On the &lt;B&gt;Tools&lt;/B&gt; menu, choose &lt;B&gt;Import and Export Settings&lt;/B&gt;.&lt;/P&gt;
&lt;LI&gt;
&lt;P&gt;On &lt;B&gt;Welcome to the Import and Export Settings Wizard&lt;/B&gt; page, click &lt;B&gt;Import selected environment settings&lt;/B&gt; and then click&lt;B&gt; Next&lt;/B&gt;.&lt;/P&gt;
&lt;LI&gt;
&lt;P&gt;On the &lt;B&gt;Save Current Settings&lt;/B&gt; page, select &lt;B&gt;Yes, save my current settings&lt;/B&gt;, and then click &lt;B&gt;Next&lt;/B&gt;.&lt;/P&gt;
&lt;LI&gt;
&lt;P&gt;In &lt;B&gt;Which collection of settings do you want to import&lt;/B&gt;, select a settings collection from the list and then click &lt;B&gt;Next&lt;/B&gt;.&lt;/P&gt;
&lt;LI&gt;
&lt;P&gt;In &lt;B&gt;Which settings do you want to import&lt;/B&gt;, expand the list and select only the categories or category items you want to apply to your current settings.&lt;/P&gt;
&lt;LI&gt;
&lt;P&gt;Click &lt;B&gt;Finish&lt;/B&gt;.&lt;/P&gt;
&lt;P&gt;The &lt;B&gt;Reset Complete&lt;/B&gt; page lists any errors associated with resetting your settings under &lt;B&gt;Details&lt;/B&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
			<guid>http://radio.weblogs.com/0132279/2005/11/08.html#a100</guid>
			<pubDate>Tue, 08 Nov 2005 15:56:07 GMT</pubDate>
			<comments>http://radiocomments2.userland.com/comments?u=132279&amp;amp;p=100&amp;amp;link=http%3A%2F%2Fradio.weblogs.com%2F0132279%2F2005%2F11%2F08.html%23a100</comments>
			</item>
		<item>
			<title>USB Disks don&apos;t recieve drive letter when mounted in Windows 2003</title>
			<link>http://radio.weblogs.com/0132279/2005/11/07.html#a99</link>
			<description>&lt;P&gt;USB Disks don&apos;t seem to automaticly get a drive letter in Windows 2003. Also when checking the Disk Manager it states that the disk format is RAW instead of NTFS. The solution is to active automatic disk mounting by:&lt;/P&gt;
&lt;P&gt;&lt;FONT color=black&gt;From a command prompt run: &amp;nbsp; diskpart &lt;BR&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=black&gt;Once at the DISKPART&amp;gt; prompt type: automount enable&lt;BR&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#b0a000 &lt;BR enable&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=black&gt;Then type: &amp;nbsp; &amp;nbsp;exit &lt;BR&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=black&gt;That enables automounting of disk drives, including USB drives.&lt;/FONT&gt; &lt;BR&gt;&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0132279/2005/11/07.html#a99</guid>
			<pubDate>Mon, 07 Nov 2005 10:10:42 GMT</pubDate>
			<comments>http://radiocomments2.userland.com/comments?u=132279&amp;amp;p=99&amp;amp;link=http%3A%2F%2Fradio.weblogs.com%2F0132279%2F2005%2F11%2F07.html%23a99</comments>
			</item>
		<item>
			<title>SSL / https Virtual Servers and SharePoint Central Administration problem</title>
			<link>http://radio.weblogs.com/0132279/2005/09/28.html#a98</link>
			<description>&lt;P&gt;A problem I recently encountered was that I couldn&apos;t adjust the virtual server settings via SharePoint Central Admin of a virtual server using SSL (https). After some googling it turned out t o be a bug (which apperantly isn&apos;t fixed in SP 2 of WSS). So&amp;nbsp;I&apos;ll always got&amp;nbsp; the same error:&lt;/P&gt;
&lt;P&gt;&lt;FONT color=red&gt;&lt;EM&gt;The server instance specified was not found. Please specify&amp;nbsp;the server&apos;s address and port.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The solution/workaround is pretty simple.&lt;BR&gt;Lets say the url looks like this: &lt;A href=&quot;http://mycentraladminurl:007/SPSecuritySettings.aspx?VirtualServer=https%3a%2f%2fmyvirtualserver&quot;&gt;&lt;a href=&quot;http://mycentraladminurl:007/SPSecuritySettings.aspx?VirtualServer=https%3a%2f%2fmyvirtualserver&quot;&gt;http://mycentraladminurl:007/SPSecuritySettings.aspx?VirtualServer=https%3a%2f%2fmyvirtualserver&lt;/a&gt;&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Notice the https in the VirtualServer parameter. Just change this&amp;nbsp; to http (drop the s) and everything will work.&lt;/P&gt;
&lt;P&gt;And by the way here is the link to &lt;A href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyId=9C552114-DC9A-43EE-9281-B080B7C280B4&amp;amp;displaylang=en&quot;&gt;WSS SP2&lt;/A&gt;&lt;/P&gt;</description>
			<guid>http://radio.weblogs.com/0132279/2005/09/28.html#a98</guid>
			<pubDate>Wed, 28 Sep 2005 13:23:50 GMT</pubDate>
			<comments>http://radiocomments2.userland.com/comments?u=132279&amp;amp;p=98&amp;amp;link=http%3A%2F%2Fradio.weblogs.com%2F0132279%2F2005%2F09%2F28.html%23a98</comments>
			</item>
		<item>
			<title>Office 2003 Service Pack 2 is here</title>
			<link>http://radio.weblogs.com/0132279/2005/09/28.html#a97</link>
			<description>Download Office 2003 Service Pack 2 (SP2) &lt;A href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyId=57E27A97-2DB6-4654-9DB6-EC7D5B4DD867&amp;amp;displaylang=en&quot;&gt;here&lt;/A&gt;</description>
			<guid>http://radio.weblogs.com/0132279/2005/09/28.html#a97</guid>
			<pubDate>Wed, 28 Sep 2005 08:27:21 GMT</pubDate>
			<comments>http://radiocomments2.userland.com/comments?u=132279&amp;amp;p=97&amp;amp;link=http%3A%2F%2Fradio.weblogs.com%2F0132279%2F2005%2F09%2F28.html%23a97</comments>
			</item>
		</channel>
	</rss>
