﻿<?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 - can i hide items of RowContextMenu?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/can-i-hide-items-of-RowContextMenu/</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>can i hide items of RowContextMenu?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/can-i-hide-items-of-RowContextMenu/</link><pubDate>Tue, 25 May 2010 06:19:00 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Gao Yixin,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Attached is a notepad with all the methos inside it. You can simply use the same Java script code to implement them with the menu objects. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>can i hide items of RowContextMenu?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/can-i-hide-items-of-RowContextMenu/</link><pubDate>Tue, 25 May 2010 02:29:35 GMT</pubDate><dc:creator>gao3251999@sina.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Hi &lt;span style="font-size: 9pt"&gt;Andi ,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&lt;span style="font-size: 9pt"&gt;thank you for replying me. I know this method ,but i don't know the name of items,and i don't get they in webui document .Can you tell me how to get the name?for example:"goto  filter row","refresh Grid","show client help". can you give me the code of how to hide all items of row context menu if you have time? thanke you!&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&lt;span style="font-size: 9pt"&gt;&lt;span style="font-size: 9pt"&gt;Best Regards,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&lt;span style="font-size: 9pt"&gt;&lt;span style="font-size: 9pt"&gt;Yixin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>can i hide items of RowContextMenu?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/can-i-hide-items-of-RowContextMenu/</link><pubDate>Mon, 24 May 2010 05:25:39 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Gao YiXin,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Yes, you can hide items of row context menu. In order to do so, we will need a client side event of OnRowContextMenu. It will passing the menu object. From there, it will show us a lot of items in there. Simply get the object's name and set hide for it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Here is the snippet of code to hide the refresh menu:&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&lt;span style="font-size: 9pt; "&gt;   function WebGrid1_OnRowContextMenu(controlId, rowType, rowElement, menuObject){
	var WebGrid1 = ISGetObject(controlId); 
						          
        menuObject.Items.GetNamedItem("mnuRefresh").Hide();
                       
	return true;
   }	&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;I hope it helps. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>can i hide items of RowContextMenu?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/can-i-hide-items-of-RowContextMenu/</link><pubDate>Mon, 24 May 2010 03:12:39 GMT</pubDate><dc:creator>gao3251999@sina.com</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;can i hide items of RowContextMenu? for example:hide goto  filter row,refresh Grid,show client help.&lt;/p&gt;</description></item></channel></rss>