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. Image for the cookie policy date
close icon

Collapsing SplitContainer panel programatically

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...

3 Replies

LS Lingaraj S Syncfusion Team 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.

Regards,
Lingaraj S.


CR Chris Ramirez July 5, 2010 04:05 PM UTC

Thanks, this works perfectly.


LS Lingaraj S Syncfusion Team July 6, 2010 03:50 AM UTC

Hi Chris,

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

Regards,
Lingaraj S.

Loader.
Live Chat Icon For mobile
Up arrow icon