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.
Unfortunately, activation email could not send to your email. Please try again.

Collapsing SplitContainer panel programatically

Thread ID:

Created:

Updated:

Platform:

Replies:

95358 Jul 2,2010 03:39 PM Jul 5,2010 11:50 PM General Discussion 3
loading
Tags: General Discussion
Chris Ramirez
Asked On July 2, 2010 03:39 PM

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 10:13 AM

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.

Regards,
Lingaraj S.

Chris Ramirez
Replied On July 5, 2010 12:05 PM

Thanks, this works perfectly.

Lingaraj S [Syncfusion]
Replied On July 5, 2010 11:50 PM

Hi Chris,

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

Regards,
Lingaraj S.

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.

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.

;