﻿<?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 - "AutoHeight"、"AutoWidth" issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/AutoHeightAutoWidth-issue/</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>"AutoHeight"、"AutoWidth" issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/AutoHeightAutoWidth-issue/</link><pubDate>Thu, 16 Sep 2010 01:59:38 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebGrid</category><category>AutoHeight</category><category>AutoWidth</category><description>&lt;p&gt;&lt;span class="postusername"&gt;thank you&amp;nbsp;&lt;a class="contentlink" href="http://www.intersoftpt.com/Community/Users/handy@intersoftpt.com/"&gt;&lt;span style="color: #165fa7; font-size: 15px"&gt;Handy Surya&lt;/span&gt;&lt;/a&gt;:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="postusername"&gt;&amp;nbsp;when I use 100% property instead of AutoHeight or AutoWidth,The problem was solved!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="postusername"&gt;thank you anyway!&lt;/span&gt;&lt;/p&gt;</description></item><item><title>"AutoHeight"、"AutoWidth" issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/AutoHeightAutoWidth-issue/</link><pubDate>Thu, 16 Sep 2010 00:48:35 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebGrid</category><category>AutoHeight</category><category>AutoWidth</category><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Would you mind just send me the sample? It seems you also use css style which I also need to replicate the issue. However, I think it would be better if you use &lt;b&gt;100%&lt;/b&gt; value rather than use &lt;b&gt;AutoHeight&lt;/b&gt; or &lt;b&gt;AutoWidth&lt;/b&gt;.&lt;br /&gt;It seems WebGrid resize not completely because of this properties.&lt;br /&gt;Please try to call &lt;b&gt;wg.DoResize(true,true)&lt;/b&gt; with some timeout.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy &lt;/p&gt;</description></item><item><title>"AutoHeight"、"AutoWidth" issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/AutoHeightAutoWidth-issue/</link><pubDate>Wed, 15 Sep 2010 06:07:54 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebGrid</category><category>AutoHeight</category><category>AutoWidth</category><description>&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;question 1:&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: #ffffff"&gt;IntersoftWebForm.aspx&lt;/span&gt;:  &lt;strong&gt;when I set AutoHeight="true" ,the page Will display wrong(webtabAutoHeight=true.png),but when I set Hight="550px",the page display right!But I want to let pabPanel has self-adaption of height when brower changs height!&lt;span style="color: #ff0000"&gt;how to do?&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;pre&gt;&lt;strong&gt;&lt;span style="font-size: 13pt"&gt;&lt;span style="color: #ff0000"&gt;&lt;span style="background-color: #ffffff"&gt;IntersoftWebForm&lt;/span&gt;.aspx&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&amp;lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="&lt;span style="color: #000000"&gt;IntersoftWebForm&lt;/span&gt;.aspx.cs" Inherits="IntersoftWebForm" %&amp;gt;

&amp;lt;%@ Register Assembly="ISNet.WebUI.WebGrid" Namespace="ISNet.WebUI.WebGrid" TagPrefix="ISWebGrid" %&amp;gt;
&amp;lt;%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %&amp;gt;
&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" &amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head runat="server"&amp;gt;
    &amp;lt;title&amp;gt;TabPanel does not have self-adaption of height&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id="form1" runat="server"&amp;gt;     
        &amp;lt;ext:ScriptManager ID="ScriptManager1" runat="server" HideInDesign="true" /&amp;gt;
        &amp;lt;ext:TabPanel ID="TabPanel1" runat="server" AutoHeight="true"   AutoWidth="true"  Border="true"&amp;gt;       
         &amp;lt;CustomConfig&amp;gt;
&amp;lt;ext:ConfigItem Name="monitorResize" Value="true" Mode="Raw" Encode="False"&amp;gt;
         
&amp;lt;/ext:ConfigItem&amp;gt;
&amp;lt;/CustomConfig&amp;gt;
  &amp;lt;/ext:TabPanel&amp;gt;     
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;&lt;pre&gt;&lt;pre&gt;&lt;span style="font-size: 13pt"&gt;&lt;span style="background-color: #ff0000"&gt;question 2:&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="background-color: #ffffff"&gt;I have a page  Grid3.aspx, the webgrids of the page has self-adaption of height &lt;br /&gt;and width.but when I put Grid3.aspx into TabPanel,it will display wrong(tab1.png\tab2.png\tab3.png).strangely,the Grid3.aspx has not self-adaption of  width at this time.&lt;br /&gt;how to do??&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color: #ff0000; font-size: 13pt"&gt;&lt;strong&gt;index.aspx:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;td style="height: 100%; width: auto" valign="top"&amp;gt;&lt;/pre&gt;
                    &amp;lt;iframe id="main" name="main" scrolling="yes" style="width: 100%; height: 100%" frameborder="0"
                        src="MainPage.aspx"&amp;gt;&amp;lt;/iframe&amp;gt;
                &amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;br /&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;strong&gt;&lt;span style="color: #ff0000; font-size: 13pt"&gt;MainPage.aspx:&lt;/span&gt;&lt;/strong&gt;&lt;pre&gt;&amp;lt;body oncontextmenu="return false" style="overflow: hidden;"&amp;gt;
    &amp;lt;form id="form1" runat="server"&amp;gt;
    &amp;lt;ext:ScriptManager ID="ScriptManager1" runat="server" HideInDesign="True" /&amp;gt;
    &amp;lt;/form&amp;gt;
    &amp;lt;div id="divtab" runat="server" &amp;gt;
&amp;lt;%--When I set "AutoHeight="true"" instead of  "Height="800px"",page runs wrong,you can try --%&amp;gt;
        &amp;lt;ext:TabPanel ID="TabPanel1" runat="server"   Height="430px"   AutoWidth="true"  EnableTabScroll="true" 
        AutoScroll="true"    Border="false" AnimScroll="true"&amp;gt;
            &amp;lt;CustomConfig&amp;gt;
&amp;lt;ext:ConfigItem Name="monitorResize" Value="true" Mode="Raw" Encode="False"&amp;gt;&amp;lt;/ext:ConfigItem&amp;gt;
&amp;lt;/CustomConfig&amp;gt;
        &amp;lt;/ext:TabPanel&amp;gt;
    &amp;lt;/div&amp;gt;

   &amp;lt;script type="text/javascript"&amp;gt;     
        function findDimensions() {           
             document.getElementById("divtab").style.height = (document.documentElement.clientHeight - 10) &amp;#43; "px";
               var TabPanels = Ext.getCmp("TabPanel1");
               TabPanels.setWidth(document.documentElement.clientWidth-10);
  
        }
        function setTabHeight(heig) {
            document.getElementById("divtab").style.height = heig;
        }
        window.onresize = findDimensions;

        function addTabMain(id, url, Titel, close) {
            var TabPanels = Ext.getCmp("TabPanel1");
            //TabPanels.setHeight(Ext.get("divtab").getComputedHeight());           
            var tab = TabPanels.getComponent(id);
            for (var i = 0; i &amp;lt; TabPanels.items.length; i&amp;#43;&amp;#43;) {
                if (TabPanels.items.items[i].title == Titel) {
                    TabPanels.activate(TabPanels.items.items[i]);
                    return;
                }
            }
            if (url.indexOf('?') == -1) url = url &amp;#43; '?a=1';
            if (!tab) {
                if (TabPanels.items.getCount() &amp;gt; 11) {
                    alert("只允许同时打开12个标签页，请关闭一些后重试！");
                }
                else {
                    tab = TabPanels.add({
                        id: id,
                        title: Titel,
                        closable: close,
                        border: false,
                        autoLoad: {
                            showMask: true,
                            url: url &amp;#43; '&amp;amp;sid=' &amp;#43; id,
                            mode: 'iframe',
                           maskMsg: '正在加载页面，请稍侯...'
                        }
                    });
                }
            }
            TabPanels.setActiveTab(tab);
        }

    &amp;lt;/script&amp;gt;

&amp;lt;/body&amp;gt;&lt;/pre&gt;
&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;strong&gt;&lt;span style="color: #ff0000; font-size: 13pt"&gt;Grid3.aspx:&lt;/span&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;pre&gt;&amp;lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Grid3.aspx.cs" Inherits="TestGridPage_Grid3" %&amp;gt;

&amp;lt;%@ Register Assembly="ISNet.WebUI.WebGrid" Namespace="ISNet.WebUI.WebGrid" TagPrefix="ISWebGrid" %&amp;gt;
&amp;lt;%@ Register Assembly="ISNet.WebUI.WebDesktop" Namespace="ISNet.WebUI.WebDesktop"
    TagPrefix="ISWebDesktop" %&amp;gt;
&amp;lt;%@ Register assembly="ISNet.WebUI.WebInput" namespace="ISNet.WebUI.WebControls" tagprefix="ISWebInput" %&amp;gt;
&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head runat="server"&amp;gt;
    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
    &amp;lt;script&amp;gt;
       function RefreshGrid() {
            var grid1 = ISGetObject("WebGrid1");
            var grid2 = ISGetObject("WebGrid2");
            var grid3 = ISGetObject("WebGrid3");
            grid1.Refresh();
            grid2.Refresh();
            grid3.Refresh();
           
        }
     &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body style="background-color: #DFE8F7; margin: 0px; font-size: 11px; overflow: hidden;"
    oncontextmenu="return false"&amp;gt;
    &amp;lt;form id="form1" runat="server"&amp;gt;
    &amp;lt;div&amp;gt;
    &amp;lt;ISWebDesktop:WebToolBar ID="WebToolBar1" runat="server" Caption="WebToolBar1" 
        CommandSize="" HeaderHeight="" IntegratedTo="None" NewDockingArea="NotSet"  
        NewDockingRow="0" NewIsFloat="Default" Width="100%"&amp;gt;
        &amp;lt;Commands&amp;gt;
            &amp;lt;ISWebDesktop:ToolCommand Category="WebToolBar1" Name="ToolCommand0" Text="打开" &amp;gt;
            &amp;lt;/ISWebDesktop:ToolCommand&amp;gt;
            &amp;lt;ISWebDesktop:ToolCommand Category="WebToolBar1" Name="ToolCommand1" Text="编辑"&amp;gt;
            &amp;lt;/ISWebDesktop:ToolCommand&amp;gt;
            &amp;lt;ISWebDesktop:ToolCommand Category="WebToolBar1" Name="ToolCommand2" Text="新增"&amp;gt;
            &amp;lt;/ISWebDesktop:ToolCommand&amp;gt;
            &amp;lt;ISWebDesktop:ToolCommand Category="WebToolBar1" Name="ToolCommand3" Text="修改"&amp;gt;
            &amp;lt;/ISWebDesktop:ToolCommand&amp;gt;
            &amp;lt;ISWebDesktop:ToolCommand Category="WebToolBar1" Name="ToolCommand4" Text="删除"&amp;gt;
            &amp;lt;/ISWebDesktop:ToolCommand&amp;gt;
        &amp;lt;/Commands&amp;gt;
    &amp;lt;/ISWebDesktop:WebToolBar&amp;gt;

    &amp;lt;table style="font-size: 12px;"&amp;gt;
        &amp;lt;tr style="height: 5px"&amp;gt;
            &amp;lt;td width="80px" align="left"&amp;gt;
                起始日期：
            &amp;lt;/td&amp;gt;
            &amp;lt;td width="160px" align="left"&amp;gt;
                &amp;lt;ISWebInput:WebInput ID="WebInput1" runat="server"&amp;gt;
                &amp;lt;/ISWebInput:WebInput&amp;gt;
            &amp;lt;/td&amp;gt;
            &amp;lt;td width="80px" align="left"&amp;gt;
                终止日期：
            &amp;lt;/td&amp;gt;
            &amp;lt;td width="160px" align="left"&amp;gt;
                &amp;lt;ISWebInput:WebInput ID="WebInput2" runat="server" DecimalSeparator="" MaxDate="12/31/9998 23:59:59"
                    MinDate="1753-01-01"&amp;gt;
                    &amp;lt;EditFormat&amp;gt;
                        &amp;lt;ErrorWindowInfo IsEnabled="False"&amp;gt;
                        &amp;lt;/ErrorWindowInfo&amp;gt;
                    &amp;lt;/EditFormat&amp;gt;
                    &amp;lt;DateTimeEditor DateInputLink=""&amp;gt;
                        &amp;lt;DropDownYearFrameStyle BackColor="#FFFFFF" BorderColor="Black" BorderWidth="1px"&amp;gt;
                        &amp;lt;/DropDownYearFrameStyle&amp;gt;
                        &amp;lt;DropDownMonthFrameStyle BackColor="#FFFFFF" BorderColor="Black" BorderWidth="1px"&amp;gt;
                        &amp;lt;/DropDownMonthFrameStyle&amp;gt;
                        &amp;lt;QuickSelectDateIconStyle Height="18px" Width="20px"&amp;gt;
                        &amp;lt;/QuickSelectDateIconStyle&amp;gt;
                    &amp;lt;/DateTimeEditor&amp;gt;
                    &amp;lt;CultureInfo CultureName="zh-CN"&amp;gt;
                    &amp;lt;/CultureInfo&amp;gt;
                    &amp;lt;DisplayFormat Format="MM/dd/yy HH:mm" IsEnabled="True"&amp;gt;
                    &amp;lt;/DisplayFormat&amp;gt;
                &amp;lt;/ISWebInput:WebInput&amp;gt;
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td width="90px" align="left" class="style1"&amp;gt;
                供应商编号：
            &amp;lt;/td&amp;gt;
            &amp;lt;td width="160px" align="left" class="style1"&amp;gt;
                &amp;lt;input id="ledCompanyNo" runat="server" style="width: 135px; height: 18px;" type="text"
                    class="igtxt_Office2007BlueEdit" /&amp;gt;
            &amp;lt;/td&amp;gt;
            &amp;lt;td width="80px" align="left" class="style1"&amp;gt;
                供应商名称：
            &amp;lt;/td&amp;gt;
            &amp;lt;td width="160px" align="left" class="style1"&amp;gt;
                &amp;lt;input id="ledCompanyName" runat="server" style="width: 220px; height: 18px;" type="text"
                    class="igtxt_Office2007BlueEdit" /&amp;gt;
            &amp;lt;/td&amp;gt;
            &amp;lt;td class="style1"&amp;gt;
                &amp;nbsp;
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr style="height: 2px"&amp;gt;
            &amp;lt;td&amp;gt;
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
    &amp;lt;/table&amp;gt;
           &amp;lt;h4&amp;gt; 多个Tab页面宽度无法自适应&amp;lt;/h4&amp;gt;
        &amp;lt;h4&amp;gt;
            Tab高度无法自适应&amp;lt;/h4&amp;gt;
        &amp;lt;ISWebDesktop:WebTab ID="WebTab1" runat="server" Height="380px" Width="100%"&amp;gt;  
        &amp;lt;ClientSideEvents  OnAfterTabChanged="RefreshGrid()"/&amp;gt;         
            &amp;lt;TabPages&amp;gt;            
                &amp;lt;ISWebDesktop:WebTabItem Text="Tab 1"&amp;gt;
                    &amp;lt;PageTemplate&amp;gt;
                    &amp;lt;%-- Width="90.2%" Height="100%"--%&amp;gt;
                        &amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" UseDefaultStyle="True"
                            DefaultStyleMode="Win7" DataSourceID="SqlDataSource1"&amp;gt;
                            &amp;lt;LayoutSettings StatusBarVisible="true" AutoHeight="true" AutoWidth="true"   PagingMode="ClassicPaging" PagingSize="12"  &amp;gt;
                            &amp;lt;/LayoutSettings&amp;gt;
                            &amp;lt;RootTable DataKeyField="CustomerID"&amp;gt;
                                &amp;lt;Columns&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="CustomerID" DataMember="CustomerID" Name="CustomerID"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="CompanyName" DataMember="CompanyName" Name="CompanyName"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="ContactName" DataMember="ContactName" Name="ContactName"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="ContactTitle" DataMember="ContactTitle" Name="ContactTitle"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Address" DataMember="Address" Name="Address" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="City" DataMember="City" Name="City" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Region" DataMember="Region" Name="Region" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="PostalCode" DataMember="PostalCode" Name="PostalCode"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Country" DataMember="Country" Name="Country" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Phone" DataMember="Phone" Name="Phone" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Fax" DataMember="Fax" Name="Fax" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                &amp;lt;/Columns&amp;gt;
                            &amp;lt;/RootTable&amp;gt;
                        &amp;lt;/ISWebGrid:WebGrid&amp;gt;
                    &amp;lt;/PageTemplate&amp;gt;
                &amp;lt;/ISWebDesktop:WebTabItem&amp;gt;
                &amp;lt;ISWebDesktop:WebTabItem Text="Tab 2"&amp;gt;
                    &amp;lt;PageTemplate&amp;gt;
                        &amp;lt;ISWebGrid:WebGrid ID="WebGrid2" runat="server" UseDefaultStyle="True" 
                            DefaultStyleMode="Win7" DataSourceID="SqlDataSource1"&amp;gt;
                            &amp;lt;LayoutSettings AutoHeight="true" AutoWidth="true"   PagingMode="ClassicPaging" PagingSize="12" &amp;gt;                    
                            &amp;lt;/LayoutSettings&amp;gt;
                            &amp;lt;RootTable DataKeyField="CustomerID"&amp;gt;
                                &amp;lt;Columns&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="CustomerID" DataMember="CustomerID" Name="CustomerID"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="CompanyName" DataMember="CompanyName" Name="CompanyName"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="ContactName" DataMember="ContactName" Name="ContactName"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="ContactTitle" DataMember="ContactTitle" Name="ContactTitle"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Address" DataMember="Address" Name="Address" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="City" DataMember="City" Name="City" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Region" DataMember="Region" Name="Region" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="PostalCode" DataMember="PostalCode" Name="PostalCode"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Country" DataMember="Country" Name="Country" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Phone" DataMember="Phone" Name="Phone" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Fax" DataMember="Fax" Name="Fax" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                &amp;lt;/Columns&amp;gt;
                            &amp;lt;/RootTable&amp;gt;
                        &amp;lt;/ISWebGrid:WebGrid&amp;gt;
                    &amp;lt;/PageTemplate&amp;gt;
                &amp;lt;/ISWebDesktop:WebTabItem&amp;gt;
                &amp;lt;ISWebDesktop:WebTabItem Text="Tab 3"&amp;gt;
                    &amp;lt;PageTemplate&amp;gt;
                        &amp;lt;ISWebGrid:WebGrid ID="WebGrid3" runat="server" UseDefaultStyle="True" 
                            DefaultStyleMode="Win7" DataSourceID="SqlDataSource1"&amp;gt;
                            &amp;lt;LayoutSettings AutoHeight="true" AutoWidth="true"  PagingMode="ClassicPaging" PagingSize="12" &amp;gt;          
                            &amp;lt;/LayoutSettings&amp;gt;
                            &amp;lt;RootTable DataKeyField="CustomerID"&amp;gt;
                                &amp;lt;Columns&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="CustomerID" DataMember="CustomerID" Name="CustomerID"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="CompanyName" DataMember="CompanyName" Name="CompanyName"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="ContactName" DataMember="ContactName" Name="ContactName"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="ContactTitle" DataMember="ContactTitle" Name="ContactTitle"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Address" DataMember="Address" Name="Address" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="City" DataMember="City" Name="City" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Region" DataMember="Region" Name="Region" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="PostalCode" DataMember="PostalCode" Name="PostalCode"
                                        Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Country" DataMember="Country" Name="Country" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Phone" DataMember="Phone" Name="Phone" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                    &amp;lt;ISWebGrid:WebGridColumn Caption="Fax" DataMember="Fax" Name="Fax" Width="100px"&amp;gt;
                                    &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                                &amp;lt;/Columns&amp;gt;
                            &amp;lt;/RootTable&amp;gt;
                        &amp;lt;/ISWebGrid:WebGrid&amp;gt;
                    &amp;lt;/PageTemplate&amp;gt;
                &amp;lt;/ISWebDesktop:WebTabItem&amp;gt;
            &amp;lt;/TabPages&amp;gt;
            &amp;lt;TabItemStyle&amp;gt;
                &amp;lt;Normal Cursor="Hand" BackColor="Gainsboro" BorderColor="Gray" BorderStyle="Solid"
                    BorderWidth="1px" Font-Bold="False" Font-Italic="False" Font-Names="Tahoma" Font-Size="8pt"
                    Font-Underline="False" Height="100%" Width="100%"&amp;gt;
                    &amp;lt;Padding Top="2px" Left="10px" Right="10px" Bottom="0px"&amp;gt;&amp;lt;/Padding&amp;gt;
                &amp;lt;/Normal&amp;gt;
                &amp;lt;Over BaseStyle="Normal" BackColor="WhiteSmoke"&amp;gt;
                &amp;lt;/Over&amp;gt;
                &amp;lt;Active GradientType="Vertical" BackColor2="245, 245, 245" BaseStyle="Normal" BackColor="White"
                    BorderColor="Navy" BorderStyle="Solid" BorderWidth="1px"&amp;gt;
                &amp;lt;/Active&amp;gt;
            &amp;lt;/TabItemStyle&amp;gt;
        &amp;lt;/ISWebDesktop:WebTab&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="&amp;lt;%$ ConnectionStrings:NorthwindConnectionString %&amp;gt;"
        SelectCommand="SELECT * FROM [Customers]"&amp;gt;&amp;lt;/asp:SqlDataSource&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&amp;nbsp;&lt;/pre&gt;
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;span style="background-color: #ffffff"&gt;&lt;strong&gt;&lt;span style="color: #31859b; font-size: 13pt"&gt; I can not upload all the code(12M)&lt;/span&gt; ,Please help me&amp;nbsp;&amp;nbsp;let the webgrid &lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #ff0000"&gt;&lt;span style="background-color: #ffffff"&gt;&lt;strong&gt;have self-adaption of height&amp;nbsp;and width in some cases!&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;span style="background-color: #ffffff"&gt; &lt;span style="color: #ff0000"&gt; &lt;span style="font-size: 10pt"&gt;&lt;span style="font-size: 12pt"&gt;&lt;span style="text-decoration:underline;"&gt;it is very urgent&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="background-color: #ff0000"&gt;&lt;span style="background-color: #ffffff; color: #000000"&gt;&lt;strong&gt;thanks!&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;span style="background-color: #ffffff"&gt;&lt;span style="color: #ff0000"&gt;&lt;strong&gt;&lt;span style="color: #000000; font-size: 15px"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
</description></item></channel></rss>