If I understand your requirement correctly, you want to copy a single cell's value, select many cells and paste the copied value to all of the selected cells. I suppose that you set the SelectionMode
property to CellSelect
. Then, you can handle the RadGridView.Pasting
event and set the clipboard value to all selected cells. Here is a sample code snippet which result is illustrated in the attached gif file:
.radGridView1.SelectionMode = Telerik.WinControls.UI.GridViewSelectionMode.CellSelect;
.radGridView1.Pasting += radGridView1_Pasting;
sender, Telerik.WinControls.UI.GridViewClipboardEventArgs e)
data = Clipboard.GetData(DataFormats.Text).ToString();
cell.Value = data;
Off topic, note that most of the forum threads are reviewed by Telerik representatives and we address the questions asked by our customers in the forums as well. Moreover, threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread.
I hope this information helps.