﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Error casting from generic list to IHierarchicalList</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ErrorcastingfromgenericlisttoIHierarchicalList/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Error casting from generic list to IHierarchicalList</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ErrorcastingfromgenericlisttoIHierarchicalList/</link><pubDate>Thu, 10 Feb 2011 08:06:03 GMT</pubDate><dc:creator>mconstam</dc:creator><description>&lt;p&gt;Thanks for your answer!&lt;/p&gt;&lt;p&gt;This worked fine!&lt;/p&gt;
&lt;p&gt;regards Martin&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error casting from generic list to IHierarchicalList</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ErrorcastingfromgenericlisttoIHierarchicalList/</link><pubDate>Wed, 19 Jan 2011 21:49:39 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;In order to bind the CustomObject to the WebGrid, you will need a collection object which implements at least CollectionBase and IHierarchicalList. A sample for such scenario has been provided in the BindtoHierchicalCustomObject.aspx sample on the WebGrid sample. In the sample, the collection also implements IObjectRelations in order to support the hierarchical data. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;In your scenario, you could opt to not implement the IObjectRelationssince you are not using hierarchical data.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error casting from generic list to IHierarchicalList</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ErrorcastingfromgenericlisttoIHierarchicalList/</link><pubDate>Wed, 19 Jan 2011 10:27:58 GMT</pubDate><dc:creator>mconstam</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;br /&gt;I am trying to bind a custom object list to a WebGrid by using the ISDataSource. Its exact the same as in example BindingGenericCollection.aspx from &lt;br /&gt;the ISDataSource samples.&lt;br /&gt;&lt;br /&gt;I always get the error message:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;em&gt;Unable to cast object of type System.Collections.Generic.List[GridTest1.Customer] to type ISNet.WebUI.DataSource.IHierarchicalList&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Can you help me please?&lt;br /&gt;&lt;br /&gt;I have attached a piece of code to demonstrate the issue.&lt;br /&gt;&lt;br /&gt;Thanks in advance for your help.&lt;br /&gt;&lt;br /&gt;Best regards&lt;br /&gt;&lt;br /&gt;Martin&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
</description></item></channel></rss>