Last Updated: 27 Feb 2023 09:52 by ADMIN
Created on: 27 Feb 2023 09:44
Category: GridView
Type: Bug Report
RadGridView: Pinned row at the top disappears after pasting

Use the following setup:

            DataTable dt = new DataTable();
            dt.Columns.Add("Id", typeof(int));
            dt.Columns.Add("Name", typeof(string));
            for (int i = 0; i <5; i++)
                dt.Rows.Add(i, "Row"+i);
            this.radGridView1.DataSource = dt;
            this.radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
            this.radGridView1.ClipboardPasteMode = GridViewClipboardPasteMode.Enable;

1. Copy the entire content of a random row.

2. Pin another row to the top

3. Paste the clipboard data to the pinned row

Expected result: the content is successfully pasted in the pinned row.

Observed result: the pinned row disappears.

Attached Files:
1 comment
Dess | Tech Support Engineer, Principal
Posted on: 27 Feb 2023 09:52

Hi, Paul,

Thank you for bringing this case to our attention. Currently, the possible solution that I can suggest is to set the ClipboardPasteMode property to EnableWithNotifications:

 this.radGridView1.ClipboardPasteMode = GridViewClipboardPasteMode.EnableWithNotifications;

 I hope this information helps.

Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.