﻿<?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 - Webgrid height issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebgridHeightissue/</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 height issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebgridHeightissue/</link><pubDate>Mon, 04 Jan 2016 02:00:25 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Glad to hear the good news.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Should you need further assistance or run into any problems regarding our controls, feel free to post it into our community site. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webgrid height issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebgridHeightissue/</link><pubDate>Thu, 31 Dec 2015 07:36:39 GMT</pubDate><dc:creator>sjain</dc:creator><description>Hi Yudi,&lt;br&gt; Thanks for your support. The suggested solution worked perfectly. I appreciate your detail explanation . &lt;br&gt;&amp;nbsp;&lt;br&gt;regards&lt;br&gt;Sachin &lt;br&gt;</description></item><item><title>Webgrid height issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebgridHeightissue/</link><pubDate>Thu, 31 Dec 2015 03:44:30 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;In order to set a percentage height, its parent element must have an explicit height. So the parent (container) of WebGrid, in this case is the div element, must have an explicit height property. That height can also be percentage, that just moves the problem up to the next level. This means the parent's parent (grand-parent) height must be defined too. This could go until the html root element.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;So set the height of the html and the body element to 100%, as well as every single ancestor element of that element that you wish to have the 100% height in the first place.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Add following style tag into the page, Webcomboexpbasic.aspx:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;style type="text/css"&amp;gt;
    html, body, form
    {
        height: 100%;
        width: 100%;
        padding: 0;
        margin: 0;
    }
&amp;lt;/style&amp;gt;&lt;/pre&gt;
&lt;br&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Next, set the grid's parent height to specific height, for example 100%.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;div style="height: 100%;"&amp;gt;
    &amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server"
        DefaultStyleMode="Elegant" UseDefaultStyle="True" 
        Height="50%" Width="98%" ...&amp;gt; 
        ...
    &amp;lt;/ISWebGrid:WebGrid&amp;gt;
&amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;br&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;It's all set. The height issue no longer persist and the message "There are no rows in this view." appear in the correct position.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;This should helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webgrid height issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebgridHeightissue/</link><pubDate>Wed, 30 Dec 2015 15:33:32 GMT</pubDate><dc:creator>sjain</dc:creator><description>&amp;nbsp;Hi,&lt;p&gt; One of our application was running on IE compatibiltymode earlier. Now, we made cahanges and all webgrid&amp;nbsp; pages are working perfectally on IE10 and IE 11 except height issue. I attached a sample. &lt;br&gt;&lt;/p&gt;&lt;p&gt; If we set webgrid height in pixels then it works perfectly but we can't set height in pixel due to different user's montor size. I believe there is some setting which was not set properly. Please look on attached sample and suggest missing setting or setting which need to alter.&lt;/p&gt;&lt;p&gt;There is a small issue also. Earlier when there was no data exist in webgrid then it shows message "There are no rows in this view.". Now, it is not working until I put snippet like below in case of no data.&lt;/p&gt;&lt;p&gt;WebGrid1.Height = new Unit(400, UnitType.Pixel);&lt;/p&gt;&lt;p&gt;May be it will not needed if height issue will resolve. &lt;br&gt;&lt;/p&gt;&lt;p&gt;I also added screenshot of 50% setting which was not working and 650px which worked.&lt;br&gt;&lt;/p&gt;&lt;p&gt;regards&lt;/p&gt;&lt;p&gt;Sachin&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>