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 Problem (v 2.1.0.9)

Thread ID:

Created:

Updated:

Platform:

Replies:

57906 Mar 13,2007 08:21 PM UTC Mar 28,2007 02:48 PM UTC WinForms 5
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 13, 2007 08:21 PM UTC

Hi,

Horizontal and vertical splitter in case of GDBG is causing the application to crash.

I noticed the same problem with "Essential Grid Samples->DataBound->GridRecordNavigationControl" sample.

To reproduce the problem:
1. Bring the Horizontal splitter to somewhere in the middle by dragging.
2. Put it back to its original position by dragging.
3. Now drag the vertical splitter. Form hangs!!

what's the solution to this problem? Its crashing my application!! :(

Thanks,
Amiya

Administrator [Syncfusion]
Replied On March 13, 2007 09:52 PM UTC

Hi Amiya,

Please override the Refresh method as follows:

public class MySplitterControl : Syncfusion.Windows.Forms.SplitterControl
{
///
public override void Refresh()
{
if (!Created)
return;
PerformLayout();
for (int row = 0; row < this.RowCount; row++)
{
for (int column = 0; column < ColumnCount; column++)
{
Control pane = GetPane(row, column);
if (pane != null)
{
pane.Visible = true;
if (!this.Controls.Contains(pane))
{
Controls.Add(pane);
}
Syncfusion.Windows.Forms.IScrollBarWrapperContainer sc = pane as Syncfusion.Windows.Forms.IScrollBarWrapperContainer;
if (sc != null)
sc.UpdateScrollBars();
}
}
}
}
}

And instantiate the derived SplitterControl class in InitializeComponent:

this.splitterControl1 = new MySplitterControl();

Here is a forum thread that discuss with similar issue.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=8981

Let me know if this takes care of the issue.

Best regards,
Haneef

Administrator [Syncfusion]
Replied On March 22, 2007 08:56 PM UTC

Haneef,

I'm using Syncfusion.Windows.Forms.RecordNavigationControl. How to resolve the issue in it?

Also for GridDataBoundGrid which record navigation control shall i use?

Thanks,
Amiya

Administrator [Syncfusion]
Replied On March 22, 2007 09:31 PM UTC

Hi Amiya,

The RecordNavDataBoundGrid browser sample displays a GridDataBoundGrid within a GridRecordNavigationControl. This combination will give you a look that is very similar to what you would see in Microsoft Access. This sample was created mainly using the designer. First an SqlDataAdapter was created and connected to the Customers table of the NorthWind database. Then a DataSet was generated. Next, a GridRecordNavigationControl was dropped on the form and finally a GridDataBoundGrid was dropped on the GridRecordNavigationControl. Let me know if this helps.

Best regards,
Haneef

Administrator [Syncfusion]
Replied On March 23, 2007 01:48 PM UTC

Hi Haneef,

Please find attached the sample in which problem exists.

To reproduce the issue

1. Bring the Horizontal splitter to somewhere in the middle by dragging.
2. Put it back to its original position by dragging.
3. Now drag the vertical splitter. Form hangs!!

How to resolve this issue?

Thanks,
Amiya

TestGridNavigationControl.zip

Amiya
Replied On March 28, 2007 02:48 PM UTC

Any update on this issue??

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

;