﻿<?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 - Collapse Server side</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Collapse-Server-side/</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>Collapse Server side</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Collapse-Server-side/</link><pubDate>Wed, 28 Nov 2012 06:53:02 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Eric,&lt;/p&gt;&lt;p&gt;I couldn't find the images in your source dump. Actually you can find the ID by using developer tools in your browser. Then you can select the image element in the middle of splitter (children of td element) beside the Pane that you want to collapse. In image element there's ID that you can put inside this code&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;ClientScript.RegisterStartupScript(this.GetType(), "msg", "&amp;lt;script language='javascript'&amp;gt;window.setTimeout(function (){document.getElementById('/*change with image ID*/').click();}, 10);&amp;lt;/script&amp;gt;");&lt;/pre&gt;
&lt;p&gt;Here's the screenshot of your source dump when I run it in IE. Sorry for my lack. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Collapse Server side</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Collapse-Server-side/</link><pubDate>Tue, 27 Nov 2012 21:53:37 GMT</pubDate><dc:creator>ehanig@extendemail.com</dc:creator><description>&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;your not correct, the splitter is there but it doesnt appear the way you described.&lt;/p&gt;
&lt;p&gt;I have enclosed the picture of the screen along with the exact source dump, and the file.&lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;</description></item><item><title>Collapse Server side</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Collapse-Server-side/</link><pubDate>Tue, 27 Nov 2012 21:41:27 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Eric,&lt;/p&gt;&lt;p&gt;Sorry for my lack. I couldn't find the button from your html that you sent to me. To make this button appear first you must set AllowCollapse property inside the pane that you want to collapse. Then when you run the website, you can see the button in the middle of splitter that shown as an image with ID. You can replace the ID in from the code that I mentioned above with the ID of your splitter button. I also attach the screenshot here. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;</description></item><item><title>Collapse Server side</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Collapse-Server-side/</link><pubDate>Tue, 27 Nov 2012 18:07:27 GMT</pubDate><dc:creator>ehanig@extendemail.com</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Ok really need your help.  We want to try this, but i cant seem to find the element Id of that grip.&lt;/p&gt;
&lt;p&gt;I have added here the raw html, so if you can tell me how to tell what the grip is, i will test this.&lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;</description></item><item><title>Collapse Server side</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Collapse-Server-side/</link><pubDate>Mon, 05 Nov 2012 22:26:56 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Eric,&lt;/p&gt;&lt;p&gt;Maybe for this scenario we can trigger click action on WebPaneManager's grip by using this code on server-side:&lt;/p&gt;&lt;pre&gt;ClientScript.RegisterStartupScript(this.GetType(), "msg", "&amp;lt;script language='javascript'&amp;gt;window.setTimeout(function (){document.getElementById('ws_WebPaneManager1_Pane0_V_grip').click();}, 10);&amp;lt;/script&amp;gt;");&lt;/pre&gt;
&lt;p&gt;ws_WebPaneManager1_Pane0_V_grip is Id that you can get from grip's image from WebPaneManager. The collapse progress start when image inside splitter between two have been pressed. So we can trigger the javascript from client-side in server side by using that code. But this just a workaround regarding your problem. We currently enhance WebPaneManager to support HTML5 and it is better if we have elegant method from server-side regarding this matter. If you want, I'll make this as feature request to our developer team. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;</description></item><item><title>Collapse Server side</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Collapse-Server-side/</link><pubDate>Mon, 05 Nov 2012 16:21:23 GMT</pubDate><dc:creator>ehanig@extendemail.com</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, easy.   We have a panel with 2 panes.  One is the main pain, and the other pane is seconday.&lt;/p&gt;
&lt;p&gt;We have an options page that can allow them to turn that pane off (hide it).&lt;/p&gt;
&lt;p&gt;Since the options are stored in a cookie, we need a way to collapse that pane if needed.&lt;/p&gt;</description></item><item><title>Collapse Server side</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Collapse-Server-side/</link><pubDate>Sun, 04 Nov 2012 22:07:24 GMT</pubDate><dc:creator>bernard</dc:creator><description>Hi Eric,&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Unfortunately for this matter, it can only been done with client side function. This maybe because it needs to change its render when the pane is collapsing. You can use the client-side event for doing this. Is there some scenario that you want to achieve? If there's any scenario that you want to achieve maybe I can suggest this as feature request to our developer team. Sorry for this inconvenience.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;/div&gt;
&lt;div&gt;Bernard&lt;/div&gt;</description></item><item><title>Collapse Server side</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Collapse-Server-side/</link><pubDate>Sat, 03 Nov 2012 08:33:27 GMT</pubDate><dc:creator>ehanig@extendemail.com</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Is there a way to collapse a pane on the server side?&lt;/p&gt;
&lt;p&gt;These are WebPaneManager web panes.&lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;</description></item></channel></rss>