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

Collapsing SplitContainer panel programatically

Thread ID:





95358 Jul 2,2010 07:39 PM UTC Jul 6,2010 03:50 AM UTC General Discussion 3
Tags: General Discussion
Chris Ramirez
Asked On July 2, 2010 07:39 PM UTC

Is it possible to programatically send a click/double click event to the splitter bar in the SlpitContainerAdv control?

Our users don't like to click on the splitter bar to collapse the panel, they want to be able to do it from pressing a button.

So, from the event handler of a button press, I would like to collapse one of the panels in the splitContainer...

Lingaraj S [Syncfusion]
Replied On July 5, 2010 02:13 PM UTC

Hi Chris,

Thank you for your interest in Syncfusion products.

SplitContainerAdv does not have a raising method to perform the Click events .Please try using Panel1Collapsed/Panel2Collapsed property to collapse the panel to achive your requirements in SplitContainerAdv as shown below.

this.splitContainerAdv1.Panel1Collapsed = true;

Please let me know if you have any queries.

Lingaraj S.

Chris Ramirez
Replied On July 5, 2010 04:05 PM UTC

Thanks, this works perfectly.

Lingaraj S [Syncfusion]
Replied On July 6, 2010 03:50 AM UTC

Hi Chris,

Thank you for your update and contribution with Syncfusion Community Forums.

Lingaraj S.


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

This page will automatically be redirected to the 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