﻿<?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 - Group by Column postback</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Group-by-Column-postback/</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>Group by Column postback</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Group-by-Column-postback/</link><pubDate>Tue, 12 Jan 2010 02:11:36 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 my test page based on the information of your scenario.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt; mso-themecolor: text2"&gt;Could you please let me know if there is anything that I miss and the steps to reproduce the issue? You may also modify the sample and send back to us for further investigation. &lt;/span&gt;&lt;/p&gt;</description></item><item><title>Group by Column postback</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Group-by-Column-postback/</link><pubDate>Mon, 11 Jan 2010 11:47:18 GMT</pubDate><dc:creator>cyoung311</dc:creator><description>&lt;p&gt;Yudi,&lt;/p&gt;
&lt;p&gt;Thanks for the response. I am already using the method you mentioned for situations where the user selects one of the records to view via a button in that record. If the user selects "Group By" then my code blows up with a Null Reference. In debugging, I can see that the table that is returned from a Group By grid appears to be different than that returned by a non GroupBy grid. The Group By table looks like a table of rows that indicate the Group and each of those rows has a child table of rows of actual data???&lt;/p&gt;
&lt;p&gt;So what is the difference and how do I get the row that was selected? &lt;/p&gt;</description></item><item><title>Group by Column postback</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Group-by-Column-postback/</link><pubDate>Mon, 11 Jan 2010 02:14:58 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;You can use “RetrieveClientLastSelectedObject()” (for example: WebGrid1. RetrieveClientLastSelectedObject()) method of WebGrid. The method returns the actual data row selected by client in server-side button click event.&lt;/span&gt;&lt;/p&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>Group by Column postback</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Group-by-Column-postback/</link><pubDate>Fri, 08 Jan 2010 10:53:49 GMT</pubDate><dc:creator>cyoung311</dc:creator><description>&lt;p&gt;I'm a newbie here so apologies if this topic is an already answered question...&lt;/p&gt;
&lt;p&gt;I have a WebGrid that returns values quite nicely except when the mode is Grouped Columns. The grid has 1 button column, 'View', that causes a post-postback when clicked.  What indication do I receive on the server-side button-click event when the grid is in Group Column mode? It seems that the table that is returned is a table of Group Heading rows and each of the group heading rows in the table has a child table associated with it that contains the actual rows of that group.&lt;/p&gt;
&lt;p&gt;How do I know which actual data row was selected by the client in my server-side event procedure?&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Chuck&lt;/p&gt;</description></item></channel></rss>