ASP.NET Splitter - Knowledge Base

« Back to Knowledge Base list

Is there a way to remove the Splitter resizing when it first time loads?

Q:

Is there a way to remove the Splitter resizing when it first time loads?

A:

Set the default visibility style property of the body element to hidden.

        <body style="visibility:hidden">

When the Splitter finish loading, set the body visibility back to visible, using the OnSplitterInitEnd server property.

        <script>
                function SplitterInitEnd()
                {
                        document.body.style.visibility = "visible";
                }
        </script>


        <obspl:Splitter OnSplitterInitEnd = "SplitterInitEnd" id="Splitter1" runat="server" ...


"We really love your control suite -- its relatively light-weight, flexible, and pretty damned feature-rich; keep up the good work~!"

Stephen A. Bohlen
Microdesk, Inc