﻿<?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 - Avoid Checkbox while export in webgrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Avoid-Checkbox-while-export-in-webgrid/</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>Avoid Checkbox while export in webgrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Avoid-Checkbox-while-export-in-webgrid/</link><pubDate>Thu, 05 Jan 2012 21:27:27 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I’d like to recommend you to utilize the &lt;strong&gt;OnExport&lt;/strong&gt; server-side event of WebGrid in order to avoid checkbox column appearing on the exported document. OnExport is invoked when exporting data is performed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;On the OnExport server-side event, you may choose to &lt;strong&gt;set the visibility of the particular column to false&lt;/strong&gt; or &lt;strong&gt;remove the column object from the collection&lt;/strong&gt;. The snippet code below shows both of methods.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;// Set the Visible property of the particular column to false
// in order to avoid the column appearing on the exported document.
e.Table.Columns[&lt;em&gt;int&lt;/em&gt;].Visible = false;

// Removes the column object from the collection
// in order to avoid the column appearing on the exported document.
ISNet.WebUI.WebGrid.WebGridColumn CheckBoxColumn = e.Table.Columns[&lt;em&gt;int&lt;/em&gt;];
e.Table.Columns.Remove(CheckBoxColumn);&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Avoid Checkbox while export in webgrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Avoid-Checkbox-while-export-in-webgrid/</link><pubDate>Thu, 05 Jan 2012 04:38:06 GMT</pubDate><dc:creator>Skgrid@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;We have a checkbox column in our webgrid.&lt;/p&gt;
&lt;p&gt;When we export the grid data . Checkbox column is also appearing with the header Checkbox.&lt;/p&gt;
&lt;p&gt;Is there any property like showinSelectcolumns by which we can avoid showing this?&lt;/p&gt;
&lt;p&gt;Or How to avoid this?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Madhavan&lt;/p&gt;</description></item></channel></rss>