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.

Copypaste operation is done twice

Thread ID:

Created:

Updated:

Platform:

Replies:

93998 Apr 15,2010 12:24 PM Apr 16,2010 04:33 AM Windows Forms 3
loading
Tags: GridControl
Dmitriy
Asked On April 15, 2010 12:24 PM

Hello,

I have found something looks like a defect in the Windows GDBG.
Here steps to reproduce:

1. Create WinForms project
2. Add references to the assemblies:






3. Add code (the only file *.cs file needed):

public class MdiForm:Form
{
[STAThread]
static void Main()
{
Application.Run(new MdiForm());
}

public MdiForm()
{
this.IsMdiContainer = true;
this.Shown += new EventHandler(MdiForm_Shown);
}

void MdiForm_Shown(object sender, EventArgs e)
{
MdiChild mdiChild = new MdiChild();
mdiChild.MdiParent = this;
mdiChild.Show();
}
}

public class MdiChild:Form
{
public MdiChild()
{
//Create a GridDataBoundGrid
GridDataBoundGrid gridDataBoundGrid = new GridDataBoundGrid();
gridDataBoundGrid.Dock = DockStyle.Fill;
this.Controls.Add(gridDataBoundGrid);

//Create data source for the GridDataBoundGrid
DataTable dataTable = new DataTable();
dataTable.Columns.Add("Column");
gridDataBoundGrid.DataSource = dataTable;
}
}

4. Copy to clipboard any text from other application.
5. Start the application. In the opened child window click in the grid column cell so that cursor appeared. Type CTRL-V

You will see the copied text which appears twice.
Actually the clipboard past events arise twice.
If you type SHIFT-INS (instead of the CTRL-V) it is OK

Can anybody from Syncfusion answer to me please?

BR,
Dmitriy

Rajadurai C [Syncfusion]
Replied On April 15, 2010 01:14 PM

Hi Dmitriy,

Thanks for your interest in Syncfusion Products.

The double pasting issue in MDI child has been reported before and fix has been provided in a patch in v8.1.0.30 in the following forum thread. Please refer to it.
http://www.syncfusion.com/support/forums/grid-windows/93467

This fix is publicly available in our latest version 8.2.0.18. Please refer to the following forum thread for details regarding the fixes available in this version.
http://www.syncfusion.com/support/forums/general/93921

Regards,
Rajadurai

Dmitriy
Replied On April 16, 2010 04:31 AM

Thank you, Rajadurai. I will check it.

Rajadurai C [Syncfusion]
Replied On April 16, 2010 04:33 AM

Hi Dmitriy,

Thanks for your update.

Regards,
Rajadurai

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.

;