﻿<?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 - Client Side way to change WebGrid Width</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Client-Side-way-to-change-WebGrid-Width/</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>Client Side way to change WebGrid Width</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Client-Side-way-to-change-WebGrid-Width/</link><pubDate>Mon, 14 Nov 2011 20:43:53 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;The width property is applied on the outer frame element of WebGrid. Please try to use following JavaScript code to change the grid’s width on client-side.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;function button1_onclick() {
    var WebGrid1 = ISGetObject("WebGrid1");
    var WebGrid1_Frame = WebGrid1.GetFrameElement();
    var WebGrid1_OuterFrame = WebGrid1_Frame.parentNode;

    WebGrid1_OuterFrame.style.width = 300;

    return true;
}&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>Client Side way to change WebGrid Width</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Client-Side-way-to-change-WebGrid-Width/</link><pubDate>Mon, 14 Nov 2011 10:55:26 GMT</pubDate><dc:creator>mpodbielski</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is a function similar to  grid .SetHeight(int )  that can change grid Width on ClientSide?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;</description></item></channel></rss>