﻿<?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 - Simple server side question</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Simple-server-side-question/</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>Simple server side question</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Simple-server-side-question/</link><pubDate>Thu, 02 Feb 2012 23:02:53 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;If you want to get the information in server side, you can do it in WebGridButtonClick server side event. In order to trigger this event you would need to set &lt;b&gt;ButtonAutoPostBack &lt;/b&gt;as true and &lt;b&gt;ButtonPostBackMode &lt;/b&gt;as FullPagePostBack.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt; &amp;lt;ISWebGrid:WebGridColumn ButtonAutoPostback="True" 
                        ButtonPostbackMode="FullPagePostback" ColumnType="ButtonImage" 
                        EditType="NoEdit" Name="Img" Width="100px"&amp;gt;
 &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;In server side, you can get the information by using the code below.&lt;span style="font-size: 10pt; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;string key = WebGrid1.SelectedRowKeyValue;
WebGrid1.RootTable.Rows.GetRowByKeyValue(key).Cells.GetNamedItem("CategoryName").Text;&lt;/pre&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy &lt;/p&gt;
&lt;p /&gt;
&lt;p /&gt;</description></item><item><title>Simple server side question</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Simple-server-side-question/</link><pubDate>Thu, 02 Feb 2012 20:46:58 GMT</pubDate><dc:creator>gstroud012</dc:creator><description>&lt;p&gt;I have a webgrid that contains PO information the first column has an Image button.  I what to execute some server side code when the user click on the a button of one of the rows.  I will need to obtain the PO number of the cell next to the button that was click.  I don't see any examples of this.  I found a simple client side where is showed in a dialog the key value of the row.  I also don't see any events I would normally see in the asp.net gridview component.  What's up?&lt;/p&gt;</description></item></channel></rss>