MouseOver Expand and Collapse

Legacy

A description has not yet been added to this group.

MouseOver Expand and Collapse

  • rated by 0 users
  • This post has 1 Reply |
  • 1 Follower
  • Hi:

    Is there a way to provide clientside expand and collaspe thru say a click or mouseover event?

    Thanks

    Len

  • The clientside function to Expand/Collapse is

    C1WebSplitter1_SplitContainer.ToggleExpand();

     

    You can add onClick or onMouseOver events to the WebPanels of the splitter and toggle the splitter through this way.

    <C1WebSplitter:C1WebSplitter ID="C1WebSplitter1" runat="server" Height="318px" SkinName="Default" Width="483px">
     <C1WebSplitter:C1WebPanel runat="server" onClick="dothis()" onMouseOver="dothis()">
     </C1WebSplitter:C1WebPanel>
     <C1WebSplitter:C1WebPanel runat="server" onClick="dothis()" onMouseOver="dothis()">
     </C1WebSplitter:C1WebPanel>
    </C1WebSplitter:C1WebSplitter>

    <script type="text/javascript">
        function dothis()
        {
            C1WebSplitter1_SplitContainer.ToggleExpand();
        } 
        </script>

    Hope that helps,
    Greg L

     

    Greg Lutz ComponentOne

Page 1 of 1 (2 items)