<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/1.5.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Simulating object properties with ITypedList and custom PropertyDescriptors</title>
	<link>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/</link>
	<description>General musings and programming stuff</description>
	<pubDate>Sat, 22 Nov 2008 12:42:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.1.3</generator>

	<item>
		<title>by: Oliver Sturm</title>
		<link>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-3246</link>
		<pubDate>Thu, 29 Sep 2005 09:04:52 +0000</pubDate>
		<guid>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-3246</guid>
					<description>Hi Orlin - yes, last time I looked, the ASP.NET DataGrid wasn't able to use the ITypedList interface. I don't do ASP.NET all the time, so I haven't had a close look into what .NET 2 may change in this regard, though.</description>
		<content:encoded><![CDATA[	<p>Hi Orlin - yes, last time I looked, the ASP.NET DataGrid wasn&#8217;t able to use the ITypedList interface. I don&#8217;t do ASP.NET all the time, so I haven&#8217;t had a close look into what .NET 2 may change in this regard, though.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Orlin</title>
		<link>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-3244</link>
		<pubDate>Thu, 29 Sep 2005 06:14:25 +0000</pubDate>
		<guid>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-3244</guid>
					<description>Hi Oliver,

I implemented ITypedList in a custom collection as you described but although it works OK with WindowsForms GridView control, the ASP.NET DataGrid control ignores it.  The GetItemProperties() method does not get called.
Is this a problem with the DataGrid control?

Thanks!
Orlin</description>
		<content:encoded><![CDATA[	<p>Hi Oliver,</p>
	<p>I implemented ITypedList in a custom collection as you described but although it works OK with WindowsForms GridView control, the ASP.NET DataGrid control ignores it.  The GetItemProperties() method does not get called.<br />
Is this a problem with the DataGrid control?</p>
	<p>Thanks!<br />
Orlin
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Oliver Sturm&#8217;s weblog - IE2OneNote alternative?</title>
		<link>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-46</link>
		<pubDate>Wed, 09 Mar 2005 10:46:20 +0000</pubDate>
		<guid>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-46</guid>
					<description>[...] nd thing is, IE2OneNote hangs up Internet Explorer reliably when trying to send my article Simulating object properties with ITypedList and custom PropertyDescriptors t [...]</description>
		<content:encoded><![CDATA[	<p>[&#8230;] nd thing is, IE2OneNote hangs up Internet Explorer reliably when trying to send my article Simulating object properties with ITypedList and custom PropertyDescriptors t [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Oliver Sturm&#8217;s weblog - Order of properties in ITypedList implementations</title>
		<link>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-38</link>
		<pubDate>Thu, 03 Mar 2005 13:35:11 +0000</pubDate>
		<guid>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-38</guid>
					<description>[...] iled under: Programming, .NET &amp;#8212; Oliver Sturm @ 1:00 pm - 34 minutes ago  	 	 			In a comment about my post Simulating object properties with ITypedList [...]</description>
		<content:encoded><![CDATA[	<p>[&#8230;] iled under: Programming, .NET &#8212; Oliver Sturm @ 1:00 pm - 34 minutes ago  	 	 			In a comment about my post Simulating object properties with ITypedList [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Oliver Sturm</title>
		<link>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-37</link>
		<pubDate>Thu, 03 Mar 2005 11:48:20 +0000</pubDate>
		<guid>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-37</guid>
					<description>Hm... why this is, that's an interesting question. Why would you assume that the properties should be in any specific order? Anyhow, I have some code that solves this problem and I'm going to put up another post today showing how it can be done. Thanks for asking this!</description>
		<content:encoded><![CDATA[	<p>Hm&#8230; why this is, that&#8217;s an interesting question. Why would you assume that the properties should be in any specific order? Anyhow, I have some code that solves this problem and I&#8217;m going to put up another post today showing how it can be done. Thanks for asking this!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: John Eyles</title>
		<link>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-36</link>
		<pubDate>Thu, 03 Mar 2005 11:44:40 +0000</pubDate>
		<guid>http://www.sturmnet.org/blog/archives/2005/02/04/simulating-fields/#comment-36</guid>
					<description>Excellent article that shows how to create &quot;virtual&quot; properties and return a value when
bound to a control such as a grid. The TypeDescriptor.GetProperties(MyType) line of code
returns an array of property descriptors for &quot;MyType&quot;- but it seems that it does not always
return the property descriptors in the same order as they appear in the class. 
Consequently, the properties can display in the grid out of order. Any ideas
on why this is or how to get around it?</description>
		<content:encoded><![CDATA[	<p>Excellent article that shows how to create &#8220;virtual&#8221; properties and return a value when<br />
bound to a control such as a grid. The TypeDescriptor.GetProperties(MyType) line of code<br />
returns an array of property descriptors for &#8220;MyType&#8221;- but it seems that it does not always<br />
return the property descriptors in the same order as they appear in the class.<br />
Consequently, the properties can display in the grid out of order. Any ideas<br />
on why this is or how to get around it?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
