﻿<?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 - disable item on column action menu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/disable-item-on-column-action-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>disable item on column action menu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/disable-item-on-column-action-menu/</link><pubDate>Wed, 02 Jun 2010 10:28:53 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;If the requirement to ‘&lt;strong&gt;disable the possibility to hiding columns only for subset of all columns&lt;/strong&gt;’ means that you would like to &lt;strong&gt;disable ‘Select Columns’&lt;/strong&gt; menu in WebGrid column action context menu, then you may simply set the value of ‘&lt;em&gt;AllowSelectColumns&lt;/em&gt;’ property to ‘&lt;em&gt;False&lt;/em&gt;’ in LayoutSettings tag.&lt;br /&gt;*&lt;em&gt;AllowSelectColumns&lt;/em&gt; property specifies whether or not to allow users select columns from within WebGrid.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;...
&amp;lt;LayoutSettings AllowColumnMove="Yes" AllowGrouping="Yes" AllowSorting="Yes"
    AlternatingColors="false" ShowColumnAction="true" AllowSelectColumns="No"
&amp;lt;/LayoutSettings&amp;gt;
...&lt;/pre&gt;

&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;If you wish to &lt;strong&gt;disable only specific column to be available in ‘Select Columns’&lt;/strong&gt; menu in WebGrid column action context menu, then please try to set the value of ‘&lt;em&gt;ShowInSelectColumns&lt;/em&gt;’ property to ‘&lt;em&gt;No&lt;/em&gt;’ in the WebGridColumn tag.&lt;br /&gt;*&lt;em&gt;ShowInSelectColumns&lt;/em&gt; specifies whether the column will be shown in Select Columns menu.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;...
&amp;lt;ISWebGrid:WebGridColumn Caption="Name" DataMember="Name" Name="Name" Width="220px"
    ColumnType="ImageAndText" ShowInSelectColumns="No"&amp;gt;
&amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
...&lt;/pre&gt;

&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please let us know if you have different scenario.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>disable item on column action menu</title><link>http://www.intersoftsolutions.com/Community/WebGrid/disable-item-on-column-action-menu/</link><pubDate>Wed, 02 Jun 2010 08:24:11 GMT</pubDate><dc:creator>vangeloni</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I am using the column actions,  i would disable the possibility to hiding columns olny for subset of all columns because they are need for my application, could you have suggestions to do that?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Vince&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>