﻿<?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 - Get cell value from buttonclick event server side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-value-from-buttonclick-event-server-side/</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>Get cell value from buttonclick event server side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-value-from-buttonclick-event-server-side/</link><pubDate>Sun, 07 Jul 2013 23:51:23 GMT</pubDate><dc:creator>Hans</dc:creator><category>webgrid 8</category><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for your question.&lt;br /&gt;&lt;br /&gt;It seems you just mistype the code when you try want to the cell value.&lt;br /&gt;Please try to modify your code from:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;WebGrid1.RootTable.Rows(WebGrid1.RetrieveClientLastSelectedObject().RowIndex)&lt;/pre&gt;
&lt;p&gt;To&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;WebGrid1.RootTable.Rows[WebGrid1.RetrieveClientLastSelectedObject().RowIndex]&lt;/pre&gt;


&lt;p&gt;I also attach a simple WebGrid sample about how to get cell value from server side. Please kindly have review on the sample to see the result.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hans.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Get cell value from buttonclick event server side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-value-from-buttonclick-event-server-side/</link><pubDate>Sat, 06 Jul 2013 12:16:44 GMT</pubDate><dc:creator>gkfahnbulleh@lakepiso.com</dc:creator><category>webgrid 8</category><description>&lt;p&gt;I am using the following code to get the value of a cell in a row, from the buttonclick event in the same row:&lt;/p&gt;
&lt;p&gt;The webgrid is inside a tab.&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;dim pFolder as string = WebGrid1.RootTable.Rows(WebGrid1.RetrieveClientLastSelectedObject().RowIndex).Cells.GetNamedItem("ProjectFolderURL").Value&lt;/pre&gt;
&lt;p&gt;I get a null exception.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>