﻿<?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 - WebDesktop WebExplorerPane   autoresize   items</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktop-WebExplorerPane-autoresize-items/</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>WebDesktop WebExplorerPane   autoresize   items</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktop-WebExplorerPane-autoresize-items/</link><pubDate>Wed, 20 Jan 2010 21:40:35 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>WebDesktop WebExplorerPane   autoresize</category><description>&lt;p /&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Hi Mariuz,&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;     Unfortunately, that property is not meant to execute
this kind of scenario. &lt;b&gt;NeedHeightResize&lt;/b&gt; property will set the value that
tells the grid whether it needs to resize its own height after one of its rows
has been removed/hidden on client side. So it will affect if we removed or hid
a row(s).&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;    So, in my opinion, the best way to solve you
issue is by setting its pixel manually using &lt;b&gt;SetHeight&lt;/b&gt; of the WebGrid. Sorry
for the inconvenience but I hope it helps. Thank you.&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;&lt;br /&gt;</description></item><item><title>WebDesktop WebExplorerPane   autoresize   items</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktop-WebExplorerPane-autoresize-items/</link><pubDate>Wed, 20 Jan 2010 06:22:16 GMT</pubDate><dc:creator>mariusz.kopera@gmail.com</dc:creator><category>WebDesktop WebExplorerPane   autoresize</category><description>&lt;p&gt;Hi Andi,&lt;/p&gt;&lt;p&gt;    I tried you solution. I found interesting property for Webgrid "NeedHeightResize" on client side and I used it this way :&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function WebExplorerPane1_OnAfterCollapse() {
    var oWebGrid = ISGetObject("WebGrid1");
    oWebGrid.NeedHeightResize = true;
}
function WebExplorerPane1_OnAfterExpand() {
    var oWebGrid = ISGetObject("WebGrid1");
    oWebGrid.NeedHeightResize = true;
}&lt;/pre&gt;
&lt;p&gt;It works fine for empty WebGrid, but unfortunately after executing search and collapsing parameters panel a receive something like this (window_bars.png). This is pobably a bug with WebGrid behaviour.&lt;/p&gt;
&lt;p&gt;It could be acceptable solution without problem with bars. Do you know how to solve problem with bars.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Problem with bars appears always when we use WebGrid in WebExplorerPane. It doesn't matter if I tray to resize it or not . &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; Thank you in advance.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Mariusz&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>WebDesktop WebExplorerPane   autoresize   items</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktop-WebExplorerPane-autoresize-items/</link><pubDate>Wed, 20 Jan 2010 01:43:45 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>WebDesktop WebExplorerPane   autoresize</category><description>&lt;p /&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Hi Mariusz,&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;     Unfortunately, we cannot do auto resize for
the WebGrid to fill the whole pane. The Height of pane is inherited from its
container, in this case, the WebGrid its self. The other workaround that might
do is to set the height of WebGrid every time we collapse or expand the pane.
However, you will need the exact value of height of WebGrid in both situation
(Pane expanded and pane collapsed). That is why, we need to use the client side
OnAfterCollapse and OnAfterExpand. Here I attached you a sample running code.&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;    I hope it helps and please, do not hesitate to
ask if you have any other questions. Thank you.&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>WebDesktop WebExplorerPane   autoresize   items</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktop-WebExplorerPane-autoresize-items/</link><pubDate>Tue, 19 Jan 2010 08:09:52 GMT</pubDate><dc:creator>mariusz.kopera@gmail.com</dc:creator><category>WebDesktop WebExplorerPane   autoresize</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using on my "Search List" page  WebExplorerPane and Webgrid (full_view.png). &lt;/p&gt;
&lt;p&gt;After hiding  search parameters  in first  WebExplorerPane item (hidden_search_parameters.png) I expect that the second item with webgrid autoresize to full height of page. It doesn't happen. &lt;/p&gt;
&lt;p&gt;Second item of WebExplorerPane move up without resizing (second_item_continer_view.png). In attached file  second_item_continer_view.png I bordered second  item container using developer toolbar.&lt;/p&gt;
&lt;p&gt;Please, could you suggest me any solution how  auto resize item with webgird.&lt;/p&gt;
&lt;p&gt;I attached also file aspx_file_part.zip with code.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Mariusz&lt;/p&gt;</description></item></channel></rss>