﻿<?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 - Sorting Child Records on Self Referencing Table with LoadOnDemand</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Sorting-Child-Records-on-Self-Referencing-Table-with-LoadOnDemand/</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>Sorting Child Records on Self Referencing Table with LoadOnDemand</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Sorting-Child-Records-on-Self-Referencing-Table-with-LoadOnDemand/</link><pubDate>Thu, 05 Nov 2009 23:51:49 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you for the sent simple sample. It helps a lot to describe the issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;It seems that you forgot to set the value of a property called “ApplyChildSorting” to true.&lt;br /&gt;WebGrid now introduces a new setting in SelfReferenceSettings object called ApplyChildSorting. This feature instructs WebGrid to perform sorting on the self referencing child when the column sorting action occurred.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;SelfReferencingSettings ChildDataMember="ReportsTo" Enabled="True" ExpandColumnMember="FirstName"
    LoadOnDemand="True" ParentDataMember="EmployeeID" &lt;span style="color: #1f497d"&gt;&lt;strong&gt;ApplyChildSorting="True"&lt;/strong&gt;&lt;/span&gt; /&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this help.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Sorting Child Records on Self Referencing Table with LoadOnDemand</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Sorting-Child-Records-on-Self-Referencing-Table-with-LoadOnDemand/</link><pubDate>Thu, 05 Nov 2009 22:33:20 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;You will need to set &lt;b&gt;ApplyChildSorting="true"&lt;/b&gt; at SelfReferencingSettings properties. The sorting should be working as expected with this way.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Sorting Child Records on Self Referencing Table with LoadOnDemand</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Sorting-Child-Records-on-Self-Referencing-Table-with-LoadOnDemand/</link><pubDate>Thu, 05 Nov 2009 14:08:26 GMT</pubDate><dc:creator>sfrench@sierradata.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Our application contains multiple grids using self referencing tables with a lot of records. The children are loaded on demand. We've notived that if you sort at the top level the child records are never sorted. Is there a way to enable sorting so all records are sorted by the selected column? You can see what we mean in the attached sample. Load the page, sort by name, then expand the children. No matter what order or direction the children always load in the same order. How can we get the child records to load in the direction requested?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>