﻿<?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 - Depending on the browser to set up autoheight is true or false in JavaScript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Depending-on-the-browser-to-set-up-autoheight-is-true-or-false-in-JavaScript/</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>Depending on the browser to set up autoheight is true or false in JavaScript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Depending-on-the-browser-to-set-up-autoheight-is-true-or-false-in-JavaScript/</link><pubDate>Wed, 23 Sep 2015 09:38:45 GMT</pubDate><dc:creator>yudi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The snippet code above can be used to set AutoHeight in JavaScript. If you are expecting to resize WebGrid's height and fill its container, then following snippet code might helps.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function ResizeHeight()
{
    var grid = ISGetObject("WebGrid1");
            
    grid.SetHeight("100%");

    // can invoke DoResize if necessary
    //wgDoResize(true, true);
    return true;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Depending on the browser to set up autoheight is true or false in JavaScript</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Depending-on-the-browser-to-set-up-autoheight-is-true-or-false-in-JavaScript/</link><pubDate>Tue, 22 Sep 2015 08:30:04 GMT</pubDate><dc:creator>BennySun</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I want to know there is a way to set up a autoheight WebGrid attribute in javascript.&lt;/p&gt;&lt;p&gt;Similar to the following:&lt;/p&gt;&lt;p&gt;var WebGrid1 = ISGetObject("WebGrid1");&lt;/p&gt;&lt;p&gt;WebGrid1.LayoutSettings.AutoHeight = true;&lt;/p&gt;</description></item></channel></rss>