﻿<?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 - Expand Child Row + Access RowChecker on ChildRows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Expand-Child-Row--Access-RowChecker-on-ChildRows/</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>Expand Child Row + Access RowChecker on ChildRows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Expand-Child-Row--Access-RowChecker-on-ChildRows/</link><pubDate>Thu, 29 Jul 2010 04:11:25 GMT</pubDate><dc:creator>hongly1986</dc:creator><category>WebGrid</category><description>sfaf 
</description></item><item><title>Expand Child Row + Access RowChecker on ChildRows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Expand-Child-Row--Access-RowChecker-on-ChildRows/</link><pubDate>Thu, 29 Jul 2010 04:10:51 GMT</pubDate><dc:creator>hongly1986</dc:creator><category>WebGrid</category><description>&lt;p&gt;dfa&lt;/p&gt;</description></item><item><title>Expand Child Row + Access RowChecker on ChildRows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Expand-Child-Row--Access-RowChecker-on-ChildRows/</link><pubDate>Wed, 28 Jul 2010 16:33:44 GMT</pubDate><dc:creator>Gmontes</dc:creator><category>WebGrid</category><description>&lt;p&gt;Thanks Niven, this works perfectly.&lt;/p&gt;</description></item><item><title>Expand Child Row + Access RowChecker on ChildRows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Expand-Child-Row--Access-RowChecker-on-ChildRows/</link><pubDate>Wed, 28 Jul 2010 00:35:08 GMT</pubDate><dc:creator>niven</dc:creator><category>WebGrid</category><description>&lt;p /&gt;&lt;p class="MsoNormal"&gt;Hello,&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;I have attached a simple sample of your scenario.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;I made the checkbox column on code behind. And yes you can
achieve what you want using the OnCheckBoxClick. On my sample, I’m using an
OnCheckBoxClick ClientSideEvents to make the checkbox from parent until child
is auto selected based on parent. Please kindly check it if its workable.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Hope this can resolve your issue.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Best regards,&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Niven Prasetya.&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Expand Child Row + Access RowChecker on ChildRows</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Expand-Child-Row--Access-RowChecker-on-ChildRows/</link><pubDate>Tue, 27 Jul 2010 18:05:48 GMT</pubDate><dc:creator>Gmontes</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a hierarchical grid with rowcheckers on both parent and child tables and I'm supposed to expand and check all the rowcheckers on the child when the parent rowchecker is clicked/checked.&lt;/p&gt;
&lt;p&gt;Expanding a row is simple enough:&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function Grid_CheckBoxClick(gridId, tblName, colName, checkboxValue, originalCheckBoxValue) {
{
var grid = ISGetObject(gridId);
var row = grid.Tables[tblName].ToRowObject(grid.CheckedRowContext);
row.ExpandChildRow(true);
}&lt;/pre&gt;
&lt;p&gt;But I have no idea on how to access the particular child table under that row and check the (header) row checker (if possible, if not I can just loop them all and check all of them) on the child table...&lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;How is that possible? Would this be achievable using only the OnCheckBoxClick event? Or would I require the "catch" the moment the child table initializes to do some extra work there?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>