Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1320
WebSplitter - Change SplitterPane Size with code-behind
posted

Hello

How can I change the size of the first SplitterPane with C# ?

            <ig:WebSplitter ID="WebSplitter1" runat="server" Height="520px" Width="910px">
            <panes>
                    <ig:SplitterPane runat="server" Size="200px"    >
                        <Template>
                            <!-- Content -->
                        </Template>
                    </ig:SplitterPane>
                    <ig:SplitterPane runat="server">
                        <Template>
                                <!-- Content -->
                        </Template>
                    </ig:SplitterPane>
                </panes>
            </ig:WebSplitter>

Parents
No Data
Reply
  • 49378
    Verified Answer
    posted

    Hi gtarek,

    Thank you for posting in the community.

    You should be able to change the size of your first splitter pane using something like:

    WebSplitter1.Panes[0].Size = 500;

     

     

    Please let me know if this helps.

     

Children
No Data