﻿<?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 - Context menu on child tables</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Context-menu-on-child-tables/</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>Context menu on child tables</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Context-menu-on-child-tables/</link><pubDate>Wed, 02 Mar 2011 01:36:25 GMT</pubDate><dc:creator>MarTin</dc:creator><category>add context menu to child table</category><description>&lt;p&gt;Hello Larry,&lt;/p&gt;
&lt;p&gt;Yes, it is possible to add a context menu on child table. You can use &lt;strong&gt;OnRowContextMenu&lt;/strong&gt; Client-side event available in WebGrid, and then use the menuObject parameter provided in the event to add a context menu.&lt;/p&gt;
&lt;p&gt;However, you will be required to add a validation in order to show the specific context menu on child table.&lt;/p&gt;
&lt;p&gt;I have attached a sample for your reference. In this sample, I add a validation to show the specific context menu on child table "&lt;strong&gt;Orders&lt;/strong&gt;". Therefore, when you expand the first child table and right-click on the row, you will see there is an additional command on the context menu called "&lt;strong&gt;View Row's KeyValue&lt;/strong&gt;".&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>Context menu on child tables</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Context-menu-on-child-tables/</link><pubDate>Tue, 01 Mar 2011 05:28:01 GMT</pubDate><dc:creator>qawely</dc:creator><category>add context menu to child table</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am aware we can add context menu to root table via &amp;lt;LayoutSettings&amp;gt;/&amp;lt;ClientSideEvents&amp;gt; OnRowContextMenu.&lt;/p&gt;
&lt;p&gt;How do I have make a context menu specifically for my child table? Is that possible? I can't find any examples. Appreciate advice!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Larry&lt;/p&gt;</description></item></channel></rss>