Copypaste operation is done twice
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
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
SIGN IN To post a reply.
3 Replies
RC
Rajadurai C
Syncfusion Team
April 15, 2010 05:14 PM UTC
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
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
DM
Dmitriy
April 16, 2010 08:31 AM UTC
Thank you, Rajadurai. I will check it.
RC
Rajadurai C
Syncfusion Team
April 16, 2010 08:33 AM UTC
Hi Dmitriy,
Thanks for your update.
Regards,
Rajadurai
Thanks for your update.
Regards,
Rajadurai
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
DM Dmitriy
- Apr 15, 2010 04:24 PM UTC
- Apr 16, 2010 08:33 AM UTC