We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Splitter Bar & Splitter Pane ClientSide Height

Thread ID:

Created:

Updated:

Platform:

Replies:

71308 Jan 25,2008 04:48 PM UTC Jan 28,2008 09:26 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Kathy Gray
Asked On January 25, 2008 04:48 PM UTC

Is there a way to set the height of a splitter bar and a splitter pane through clientside code?


Vishnu Kumar [Syncfusion]
Replied On January 28, 2008 09:26 AM UTC

Hi Ray,

Thank you for your patience.

set the height of a splitter bar and a splitter pane through client side code.

You can set the height of a splitter bar and a splitter pane through client side code using the below code snippet:


[java script]

function ChangeSplitterHeight( nDelta )
{
var nOldHeight = _sfSplitter1.GetHeight();
var nNewHeight = nOldHeight + nDelta;
if( nNewHeight > 0 )
{
_sfSplitter1.SetHeight( nNewHeight );
}
}



Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com//samples/Tools.Web/6.1.0.34/71308/main.htm

Please try running the above sample and let me know if this helps.

Regards,
Vishnu.



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;