Hi,
How can i Expand and Collapse the WebSplitter on click of an asp button/html button?
Arati
Hello,
Please take a look at the sample below:http://samples.infragistics.com/2008.2/webfeaturebrowser/default.htm
Hope this helps.
I need to collapse/expand websplitter pane using javascript.
is there any api or javascript with which i can collapse/expand the websplitter on click of a button.
Hi hublion,
WebSplitter should not supress browser events in its SplitterPanes and there is no option to enable or disable that.
Your codes do not contain any children in splitter but holders. In order to help you, I need a simple sample which shows that a particular client event fails. I suggest you to debug your application by insertingdebugger;oralert('my client event');lines at the top of your handlers. Maybe handlers are called, but there are exceptions or wrong logic.
You also may debug by replacing you contenplaceholders by a simple test controls with your client events and test if they work.
Below is my code: i am not able to fire any client script inside "LeftMainContentHolder" contentplance holder. What is property i have to set to enable client event/click?
<asp:UpdatePanel runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
<ContentTemplate>
<asp:ContentPlaceHolder ID="TopContentHolder" runat="server">
</asp:ContentPlaceHolder>
<ig:WebSplitter runat="server" ID="WebSplitter3" Orientation="Vertical" Height="100%"
DynamicResize="false">
<Panes>
<ig:SplitterPane ToolTip="Left Pane" Size="80%" CollapsedDirection="None">
<Template>
<asp:ContentPlaceHolder ID="LeftMainContentHolder" runat="server">
</Template>
</ig:SplitterPane>
<ig:SplitterPane ToolTip="Right Pane" Size="20%" MaxSize="20%" CollapsedDirection="NextPane">
<asp:ContentPlaceHolder ID="RightContentHolder" runat="server">
</Panes>
</ig:WebSplitter>
<asp:ContentPlaceHolder ID="BottomContentHolder" runat="server">
</ContentTemplate>
</asp:UpdatePanel>
Hi Rajana,
I guess you use some kind of extension, because I could not find UltraWebMenuEx. I tested UltraWebMenu in splitter and it worked ok. If you think that there is an issue in menu, then I suggest you to build a simple sample (aspx file) which can be used to reproduce and submit a report at http://es.infragistics.com/support/ask-for-help.aspx
Hi Viktor,
I have one more problem with UltraWebNavigator in UltraWebMenu. Could you please help me to solve it.
I have a web menu with a submenu. When I hover over the menu item that has the submenu the submenu hides behind the main menu. How to make the submenu appear over the main menu? Below is the code for the Webmenu I have:
<igx:UltraWebMenuEx id="contextMenu" runat="server"> <Levels> <ignav:level levelhoverclass="igmenu-LevelHover" levelclass="igmenu-LevelClass" index="0" levelcheckboxes="False"/> <ignav:level levelhoverclass="igmenu-LevelHover" levelclass="igmenu-LevelClass" index="1" levelcheckboxes="False"/> </Levels> <Items> <ignav:item tagstring="Add" text="Add"/> <ignav:item separator="True"/> <ignav:item tagstring="Recycle" text="Recycle"/> <ignav:item tagstring="Rename" text="Rename"/> <ignav:item separator="True"/> <ignav:item tagstring="ShowDetails" text="Show Details"> <Items> <ignav:item tagstring="Description" text="Description"/> <ignav:item tagstring="Size" text="Size"/> <ignav:item tagstring="None" text="None"/> </Items> </ignav:item> </Items> <MenuClientSideEvents ItemClick="$Navigator.contextMenu_ItemClick" /> </igx:UltraWebMenuEx>
Thank you so much Viktor!
I used the <ClientEvents Initialize="SplitterLoaded"/> and it worked. Thanks for the caution on the datatype of the value to be passed to set_collapsed(). I completely overlooked that.
Regards,
Bhargavi R.