﻿<?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 values in a row in a child table.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-values-in-a-row-in-a-child-table/</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 values in a row in a child table.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-values-in-a-row-in-a-child-table/</link><pubDate>Tue, 08 Sep 2009 02:47:33 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;George,&lt;/p&gt;&lt;p&gt;But i only attached .aspx and .aspx.cs. I never heard that this could affect your installation. In fact, i am also using SP1.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Get cell values in a row in a child table.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-values-in-a-row-in-a-child-table/</link><pubDate>Tue, 08 Sep 2009 02:23:45 GMT</pubDate><dc:creator>gkfahnbulleh@lakepiso.com</dc:creator><description>&lt;p&gt;Handy,&lt;br /&gt;&lt;br /&gt;Thanks for the attachment.  Please recompile it for WebGrid 7 SP1.  When I opened it, it replaced my dlls and I had to repair my installation.  Thanks again!&lt;/p&gt;</description></item><item><title>Get cell values in a row in a child table.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-values-in-a-row-in-a-child-table/</link><pubDate>Mon, 07 Sep 2009 06:03:43 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Attachment is my sample which will show the dialog you need. Hope this helps.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Get cell values in a row in a child table.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-values-in-a-row-in-a-child-table/</link><pubDate>Mon, 07 Sep 2009 01:59:15 GMT</pubDate><dc:creator>gkfahnbulleh@lakepiso.com</dc:creator><description>&lt;p&gt;Handy can you attach a sample with serverside code.  I also need to be able to launch a dialog window on button click.  &lt;/p&gt;</description></item><item><title>Get cell values in a row in a child table.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-values-in-a-row-in-a-child-table/</link><pubDate>Thu, 03 Sep 2009 12:11:38 GMT</pubDate><dc:creator>gkfahnbulleh@lakepiso.com</dc:creator><description>&lt;p&gt;This would be so much easier if there was a Webgrid.rows.CurrentRow or SelectedRow&lt;/p&gt;</description></item><item><title>Get cell values in a row in a child table.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-values-in-a-row-in-a-child-table/</link><pubDate>Thu, 03 Sep 2009 02:46:27 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;You can use AddInput method to pass the values on server. &lt;br /&gt;To do this, please set AutoPostback true on WebGridButton and add the following codes:&lt;/p&gt;&lt;p /&gt;&lt;pre&gt;function WebGrid1_OnButtonClick(controlId, tblName, colName, cellValue)
{
	var WebGrid1 = ISGetObject(controlId); 
	var selObj=WebGrid1.GetSelectedObject();
	var rowObj=selObj.ToRowObject();
	var cellObj=rowObj.GetCells();
	WebGrid1.AddInput("cellValue", cellObj[1].Value);
			
	return true;
}&lt;/pre&gt;&lt;pre&gt;C#
protected void WebGrid1_InitializePostBack(object sender, ISNet.WebUI.WebGrid.PostbackEventArgs e)
    {
        if (e.Action == "ButtonClick")
        {
            string cellValue = Request.Form["cellValue"].ToString();
            WebGrid1.ClientAction.Alert(cellValue);
        }
    }&lt;/pre&gt;
&lt;p&gt; Hope this helps&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Get cell values in a row in a child table.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-values-in-a-row-in-a-child-table/</link><pubDate>Thu, 03 Sep 2009 00:18:11 GMT</pubDate><dc:creator>gkfahnbulleh@lakepiso.com</dc:creator><description>&lt;p&gt;Handy,&lt;br /&gt;&lt;br /&gt;Thanks for your answer, I need to do this on the server, because I'm passing those values to a stored proc.&lt;/p&gt;</description></item><item><title>Get cell values in a row in a child table.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-values-in-a-row-in-a-child-table/</link><pubDate>Thu, 03 Sep 2009 00:13:34 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;You can use GetSelectedObject method and Get the specific Cells you need.&lt;/p&gt;&lt;p&gt;e.g&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function WebGrid1_OnButtonClick(controlId, tblName, colName, cellValue)
{
	var WebGrid1 = ISGetObject(controlId); 
	var selObj=WebGrid1.GetSelectedObject();
	var rowObj=selObj.ToRowObject();
	var cellObj=rowObj.GetCells();
	alert(cellObj[1].Value);
	return true;
}&lt;/pre&gt;
&lt;p&gt; Hope this helps&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Get cell values in a row in a child table.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Get-cell-values-in-a-row-in-a-child-table/</link><pubDate>Wed, 02 Sep 2009 22:57:14 GMT</pubDate><dc:creator>gkfahnbulleh@lakepiso.com</dc:creator><description>&lt;p&gt;My grid has a childtable.  One cell in the row is a button.  How do I get the value of cell(1) of the row whose button is clicked.&lt;/p&gt;</description></item></channel></rss>