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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Splitter height change not reflected on server

Thread ID:





79213 Jan 23,2009 03:31 PM UTC Jan 29,2009 09:24 AM UTC ASP.NET Web Forms (Classic) 2
Tags: Tools
Stephen Girolami
Asked On January 23, 2009 03:31 PM UTC


I'm changing the height of a splitter control using client side code (that I took from a forum thread). This code works fine.

However, on a subsequent postback to the server the splitter height is the old height and not the new height.

Is there anyway I can make the new height get transfered to the server?


Melba Winshia [Syncfusion]
Replied On January 29, 2009 08:49 AM UTC

Hi Steve,

Thank you for your interest in Syncfusion Products.

You can make the new height get transferred to the server by using the asp HiddenField control. Please refer below code to achieve this:


function ChangeSplitterHeight( nDelta )
_sfSplitter1.SetHeight( nDelta );


protected void Page_Load(object sender, EventArgs e)
if (IsPostBack)
this.Splitter1.Height= Unit.Pixel((Int16.Parse(this.HiddenField1.Value)));

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


Please try this and let me know if this helps.


Stephen Girolami
Replied On January 29, 2009 09:24 AM UTC

Thanks Melba i'll give it a try


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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