﻿<?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 - How do I get the list of groups currently expanded</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-do-I-get-the-list-of-groups-currently-expanded/</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>How do I get the list of groups currently expanded</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-do-I-get-the-list-of-groups-currently-expanded/</link><pubDate>Wed, 17 Nov 2010 20:16:00 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;I enclosed one simple sample based on your scenario, to maintain or restore expand and collapse grouping state on WebGrid with paging enabled.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;The idea is quite simple. I added a global variable as the variable to keep/store the expanded group nodes. In &lt;strong&gt;OnGroupExpand&lt;/strong&gt; and &lt;strong&gt;OnGroupCollapse&lt;/strong&gt; client-side event, information like current page index; row position; and expand/collapse state of the group node are obtained. These information are processed and being assigned to the global variable as an array.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Next, we can utilize the &lt;strong&gt;OnAfterResponseProcess&lt;/strong&gt; client-side event to retrieve the list of expanded nodes and expand the nodes that previously expanded. The OnAfterResponseProcess is the client-side event that specifies the client-side (Javascript) function that will be invoked after the response action of a request has been performed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;For more detail information, please have attached sample tested on your end and let us hear whether it helps or not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;*The WebGrid in this sample is bind to Customers table of Northwind.mdb data base using AccessDataSource control. The data source file is available inside the App_Data folder WebGridSamples project or inside this folder, $ispct;ProgramFiles$ispct;\Intersoft Solutions\WebUI Studio for ASP.NET\Data.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How do I get the list of groups currently expanded</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-do-I-get-the-list-of-groups-currently-expanded/</link><pubDate>Tue, 16 Nov 2010 23:10:32 GMT</pubDate><dc:creator>dmcgoff</dc:creator><description>&lt;p&gt;My users spend a fair amount of time grouping and expanding the various groups within a grid.  If they then leave the page, when they return, they would like to have the group/expansion settings back to where they were before they left.&lt;/p&gt;
&lt;p&gt;How can I capture which groups are expanded so that I can restore that when the user returns to this page?&lt;/p&gt;</description></item></channel></rss>