﻿<?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 - How to show only certain actions in the context menu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-show-only-certain-actions-in-the-context-menu/</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>How to show only certain actions in the context menu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-show-only-certain-actions-in-the-context-menu/</link><pubDate>Thu, 07 Jan 2010 02:32:12 GMT</pubDate><dc:creator>julia</dc:creator><description>&lt;p&gt;Hi Jocelyn,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Here is the snippet to hide 'Delete' menu from the context menu :&lt;/p&gt;&lt;pre&gt;function WebGrid1_OnRowContextMenu(controlId, rowType, rowElement, menuObject)
            {
                menuObject.Items.GetNamedItem("mnuDelete").Hide();
                menuObject.Items.GetNamedItem("mnuSep2").Hide(); // mnuSep2 is Separator '--'
                return true;
            }&lt;/pre&gt;
&lt;p&gt;Hope this can help. Please let me know if you need another help.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Julia&lt;/p&gt;</description></item><item><title>How to show only certain actions in the context menu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-show-only-certain-actions-in-the-context-menu/</link><pubDate>Wed, 06 Jan 2010 18:08:35 GMT</pubDate><dc:creator>jcrendulic</dc:creator><description>&lt;p&gt;I am using hte webgrid's context menu.  I do not want the Delete item to be in the context menu.  How do I take this out?&lt;/p&gt;</description></item></channel></rss>