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

SplitBars Problem

Thread ID:

Created:

Updated:

Platform:

Replies:

6746 Aug 26,2003 11:38 AM UTC Aug 26,2003 01:30 PM UTC WinForms 1
loading
Tags: GridControl
Oscar Piacenza
Asked On August 26, 2003 11:38 AM UTC

Hi, I’m Oscar. I have a TabBarSplitterControl that contains only a GridControl for each TabBarPage and also the following problem: I try to split a Grid using the SplitBars of the TabBarSplitterControl. When the horizontal position of the splitter is 100% the grid is redrawn and all data contained in the grid are lost. The same thing occurs when Vertical position is 100%. Please could you suggest me a workaround to solve this problem? I have tried to read the split position using the HSplitPosChanged and VSplitPosChanged events but when the events are arising the data are already lost. Thanks in advance for your help, Oscar

Administrator [Syncfusion]
Replied On August 26, 2003 01:30 PM UTC

This is by design as the GridControl objects come and go with the split views, so you cannot rely on a particular GridControl object being around after a series of splits. New gridcontrols are created when new panes are created. Instead, just retrieve the object that is currently available. For example, you can get the active grid control with code like: GridControl grid = this.tabBarSplitterControl1.ActivePane as GridControl; if(grid != null) { //got the active grid.... }

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

;