﻿<?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 - WebDesktop - WebGrid : How to stop certain row(s) to Preview Row </title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-RowPreview/</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>WebGrid : How to stop certain row(s) to Preview Row </title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-RowPreview/</link><pubDate>Mon, 02 Aug 2010 04:09:11 GMT</pubDate><dc:creator>niven</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hi Maged,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I have attached a simple sample for your scenario.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;First, you need to enable "Enable Preview Row", "Expandable" and "Load Data on Demand" on WebGrid.NET Designer under Advanced -&amp;gt; RootTable .&lt;/p&gt;
&lt;p /&gt;
&lt;p class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: 'lucida sans unicode', sans-serif; color: black; "&gt;The purpose of Load Data on Demand is to shrink the preview row after
loading the WebGrid.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; line-height: 14px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; line-height: 14px; "&gt;I hide the cursor to make the data expandable. You can see my code on WebGrid1_OnInitialize().&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; line-height: 14px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font class="Apple-style-span" style="font-family: 'lucida sans unicode', sans-serif; "&gt;&lt;span style="line-height: 14px; "&gt;Hope this can resolve your issue.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font class="Apple-style-span" style="font-family: 'lucida sans unicode', sans-serif; "&gt;&lt;span style="line-height: 14px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font class="Apple-style-span" style="font-family: 'lucida sans unicode', sans-serif; "&gt;&lt;span style="line-height: 14px; "&gt;Best regards,&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font class="Apple-style-span" style="font-family: 'lucida sans unicode', sans-serif; "&gt;&lt;span style="line-height: 14px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;font class="Apple-style-span" style="font-family: 'lucida sans unicode', sans-serif; "&gt;&lt;span style="line-height: 14px; "&gt;Niven Prasetya &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>WebGrid : How to stop certain row(s) to Preview Row </title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-RowPreview/</link><pubDate>Fri, 30 Jul 2010 09:51:10 GMT</pubDate><dc:creator>mmikaeel2</dc:creator><category>WebGrid</category><description>&lt;p&gt;I have a WebGrid that has row preview feature to show some extra notes.&lt;br /&gt;In some cases for security, we need disable this feature for some sort of rows nad leave the other rows to allwo the user to be able to open the preview.&lt;br /&gt;Is there anyway to do that?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Maged&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>