Completed
Last Updated: 03 May 2016 14:02 by ADMIN
ADMIN
Vessy
Created on: 28 Jan 2016 13:45
Category: Splitter
Type: Bug Report
1
The client docking events of RadSlidingZone are not triggered properly
The client events of RazSlidingZone are not triggered properly when the zone is placed in a nested Splitter. For example, when a Sliding pane is docked the triggered events are ClientDocking (2 times) and ClientUndocking (1 time) instead of one time ClientDocking.


Code to reproduce the problem:
Note: Removing the decked pane of the parent splitter leads to proper behavior.

        <telerik:RadSplitter ID="MainSplitter" runat="Server" Width="100%" Height="100%">
            <telerik:RadPane ID="ViewerDocumentsPane" runat="Server">
                <telerik:RadSlidingZone ID="ViewerDocumentsSlidingZone" runat="Server"
                    DockedPaneId="ViewerDocumentsSlidingPane">
                    <telerik:RadSlidingPane ID="ViewerDocumentsSlidingPane" runat="Server" Title="Lef pane">
                    </telerik:RadSlidingPane>
                </telerik:RadSlidingZone>
            </telerik:RadPane>

            <telerik:RadPane ID="ViewerMainContainerPane" runat="Server">
                <telerik:RadSplitter ID="ViewerMainContainerSplitter" runat="Server"
                    Orientation="Horizontal">
                    <telerik:RadPane ID="ViewerInvalidSignaturePane" runat="Server">
                    </telerik:RadPane>

                    <telerik:RadPane ID="ViewerDocumentInfoPane" runat="Server" Height="22px">
                        <telerik:RadSlidingZone ID="ViewerDocInfoSlidingZone" Height="22px"
                            SlideDirection="Top"
                            runat="Server" DockedPaneId="ViewerDocInfoPane">
                            <telerik:RadSlidingPane Title="slidingPane"
                                ID="ViewerDocInfoPane" runat="Server"
                                OnClientDocking="OnClientDocking"
                                OnClientUndocking="OnClientUndocking">
                            </telerik:RadSlidingPane>
                        </telerik:RadSlidingZone>
                    </telerik:RadPane>

                </telerik:RadSplitter>
            </telerik:RadPane>

            <telerik:RadPane ID="ViewerDocumentDetails" runat="Server">
            </telerik:RadPane>
        </telerik:RadSplitter>

        <script>
            function OnClientDocking(sender, eventArgs) {
                console.log("OnClientDocking");
            }

            function OnClientUndocking(sender, eventArgs) {
                console.log("OnClientUndocking");
            }
        </script>
0 comments