Hello,
I'm using the SlidingZone and SlidingPanes with the Splitter control and I have an issue. I would like to set the DockOnOpen option to true for each of my slidingpanes. When a SlidingPane is docked or undocked, I need to have a function execute so a control in a adjoing container is resized properly. So I'm using the OnClientDocked and OnClientUnDocked events to execute my custom function. This works great when there are no SlidingPanes initially open, but when I go to select on another SlidingPane the code gets executed twice and causes a problem with . When I put some alerts in, I noticed that a SlidingPane will get undocked and then the one I clicked on will get docked, thus leading to my function being executed twice. What I really want to happen is when a user clicks the undock icon of a SlidingPane to execute my function and not when they are trying to open (dock) another SlidingPane (which undocks all other panes). Is it possible to determine when a user clicks the undock icon? Or a way with another event?
Thanks in advance for any tips or advice.
Juan
I'm using the SlidingZone and SlidingPanes with the Splitter control and I have an issue. I would like to set the DockOnOpen option to true for each of my slidingpanes. When a SlidingPane is docked or undocked, I need to have a function execute so a control in a adjoing container is resized properly. So I'm using the OnClientDocked and OnClientUnDocked events to execute my custom function. This works great when there are no SlidingPanes initially open, but when I go to select on another SlidingPane the code gets executed twice and causes a problem with . When I put some alerts in, I noticed that a SlidingPane will get undocked and then the one I clicked on will get docked, thus leading to my function being executed twice. What I really want to happen is when a user clicks the undock icon of a SlidingPane to execute my function and not when they are trying to open (dock) another SlidingPane (which undocks all other panes). Is it possible to determine when a user clicks the undock icon? Or a way with another event?
Thanks in advance for any tips or advice.
Juan