﻿<?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 - Height Issues for WebGrid when inside a WebTab</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Height-Issues-for-WebGrid-when-inside-a-WebTab/</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>Height Issues for WebGrid when inside a WebTab</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Height-Issues-for-WebGrid-when-inside-a-WebTab/</link><pubDate>Mon, 15 Nov 2010 02:26:42 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Dear Scott and Dermont,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;First of all, deeply apologize for the late respond. After having a discussion with Developer team. They have stated that this is not an issue. This is a default behavior because WebGrid can't query the height when it's hidden.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;The workaround in this scenario is&amp;nbsp;to call the resize API in WebGrid when the tab is changing. Here is the snippet:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="font-size: 9pt"&gt;    &amp;lt;script language="javascript" type="text/javascript" id="WebTab1_OnAfterTabChanged"&amp;gt;
		&amp;lt;!--
        function WebTab1_OnAfterTabChanged(controlId, activeTab, previousTab) {
            var WebTab1 = ISGetObject(controlId);
            ISGetObject("WebGrid1").SetHeight("350px");
            return true;
        }
		--&amp;gt;
    &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;I hope it can help. Please do not hesitate to let me know if you have any further questions. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Height Issues for WebGrid when inside a WebTab</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Height-Issues-for-WebGrid-when-inside-a-WebTab/</link><pubDate>Fri, 29 Oct 2010 13:17:05 GMT</pubDate><dc:creator>Motser</dc:creator><description>&lt;p&gt;Hi Andi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Has the above issue been fix yet? I have the same issue of the grids loosing their Height when the I navigate to a different window within the Web Desktop. I have the height set to 100$ispct; and DataCacheStorage="Session" set as mentioned above.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Dermot&lt;/p&gt;</description></item><item><title>Height Issues for WebGrid when inside a WebTab</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Height-Issues-for-WebGrid-when-inside-a-WebTab/</link><pubDate>Wed, 03 Feb 2010 22:56:31 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Scott,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Thank you for you more detail information. I have forwarded this to our developer and I will inform you as soon as possible when the Hotfix is ready. I hope it helps and please do not hesitate to ask if you have any other questions. Thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Height Issues for WebGrid when inside a WebTab</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Height-Issues-for-WebGrid-when-inside-a-WebTab/</link><pubDate>Tue, 02 Feb 2010 13:45:21 GMT</pubDate><dc:creator>sfrench@sierradata.com</dc:creator><description>&lt;p&gt;Hi Andi,&lt;/p&gt;
&lt;p&gt;I've attached a sample that might more clearly represent our issue (Default2.aspx).&lt;/p&gt;
&lt;p&gt;In many cases we have text or controls above and below the grid. We want them to be visable without scrolling in the tab. In this sample I've set the intial height to 350px and the WebGrid_OnColumnSort height to 350px. When you load the page the grid is actual 415px tall (this is wrong). After sorting it goes down to 350px tall. It did this even before you added the WebGrid_OnColumnSort call... in fact it would go back to 350px even if you just readjust the page size by resizing the entire Internet Explorer window. Also, this issue only occurs when the grid is in a tab other than the first. You can confirm this by viewing DefaultBetter.aspx.&lt;/p&gt;
&lt;p&gt;All of this combined with the fact that we never had a problem before upgrading to 2009 leads me to believe this is a bug, not a configuration issue.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Scott French&lt;/p&gt;</description></item><item><title>Height Issues for WebGrid when inside a WebTab</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Height-Issues-for-WebGrid-when-inside-a-WebTab/</link><pubDate>Mon, 01 Feb 2010 22:00:10 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Scott,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; In here, I attached a Default.aspx file. In there, I am using a WebGrid_OnColumnSort client side event. So, whenever we click on the sorting button the height will be set as 100% or perhaps, any desired height in pixel.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; I hope it helps and please, do not hesitate to ask if you have any other questions. Thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Height Issues for WebGrid when inside a WebTab</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Height-Issues-for-WebGrid-when-inside-a-WebTab/</link><pubDate>Mon, 01 Feb 2010 15:40:27 GMT</pubDate><dc:creator>sfrench@sierradata.com</dc:creator><description>&lt;p&gt;Hi Andi,&lt;/p&gt;
&lt;p&gt;Is there anything we can do to prevent this issue? We are using fixed height grids inside a tab in a few situations without a problem but it seems like most act this same way. There are a few scenarios where we do not want the grid to take up the entire height of the grid. Is percentage our only option now? I know in the past we have used pixel dimensions as most of our grids inside a tab are setup this way. We just want to clarify before we start modifying all of these pages...&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Scott French&lt;/p&gt;</description></item><item><title>Height Issues for WebGrid when inside a WebTab</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Height-Issues-for-WebGrid-when-inside-a-WebTab/</link><pubDate>Sun, 31 Jan 2010 21:53:33 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Scott,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Actually, it is not a bug. What you can do to prevent the WebGrid to do that kind of behavior, is by having a non-fix height for the WebGrid. So, instead of setting the Height=350px, you can try to use percent on it. Here is the snippet:&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&amp;lt;ISWebGrid:WebGrid ID="WebGridLocations" Width="785px" runat="server"
     UseDefaultStyle="True" DataCacheStorage="Session" Height="100%"&amp;gt;&lt;/pre&gt;
&lt;p&gt;  &lt;span style="font-size: 9pt; "&gt; &amp;nbsp;I hope it helps and please, do not hesitate to ask if you have any other questions. Thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Height Issues for WebGrid when inside a WebTab</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Height-Issues-for-WebGrid-when-inside-a-WebTab/</link><pubDate>Fri, 29 Jan 2010 12:21:01 GMT</pubDate><dc:creator>sfrench@sierradata.com</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'lucida sans unicode','sans-serif'; font-size: 10pt"&gt;Hello,
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'lucida sans unicode','sans-serif'; font-size: 10pt"&gt;In the process of upgrading to the 2009 version of the IS controls we have run into this error. When a WebGrid is placed inside a WebTab there is a problem with the height.&amp;nbsp;The grid&amp;nbsp;will initially load with one height, then if you sort or refresh the grid the height will shrink down about 40 pixels. This happens consistently across our entire application. I don't know if it is a wrong setting or just a bug but I could use some feedback on how to correct this issue.
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'lucida sans unicode','sans-serif'; font-size: 10pt"&gt;I've attached an example. Here are the steps to reproduce:
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"&gt;&lt;span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt;1.&lt;/span&gt;&lt;span style="font: 7pt 'times new roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt;Download and unzip the attached sample.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"&gt;&lt;span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt;2.&lt;/span&gt;&lt;span style="font: 7pt 'times new roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt;Open the sample in Visual Studio and select default.aspx to ‘View in Browser’.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"&gt;&lt;span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt;3.&lt;/span&gt;&lt;span style="font: 7pt 'times new roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt;When the page opens click on the second tab.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"&gt;&lt;span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt;4.&lt;/span&gt;&lt;span style="font: 7pt 'times new roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt;Note the height of the grid.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in; margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"&gt;&lt;span style="mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt;5.&lt;/span&gt;&lt;span style="font: 7pt 'times new roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt;Click any of the header columns to sort the grid.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="text-indent: -0.25in; margin: 0in 0in 10pt 0.5in; mso-list: l0 level1 lfo1"&gt;&lt;span style="color: red; mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt;6.&lt;/span&gt;&lt;span style="font: 7pt 'times new roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;The grid will shrink in height considerably.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks in advance for any suggestions!&lt;br /&gt;Scott French&lt;/p&gt;</description></item></channel></rss>