Declined
Last Updated: 05 Jul 2024 12:57 by ADMIN
Jessé
Created on: 25 Jan 2024 21:13
Category: UI for WinForms
Type: Bug Report
0
RadGridView com "ClipboardCopyMode" = "EnableWihoutHeaderText" com erro

Erro encontrado no RadGridView, quando está com configurado como ("SelectionMode" : FullRowSelect) e ("ClipboardCopyMode" = "EnableWihoutHeaderText"), o mesmo está abrindo um menu de contexto/menu suspenso "Copy" e impede a abertura do menu de contexto customizado. E ao copiar o conteúdo de uma célula em específico, copia a linha toda.

Na imagem a baixo, mostrando que está impedindo o menu de contexto do sistema

Sobre o Clipboard, aparentemente não está enviando o conteúdo da célula corrente e sim mandando da linha toda

resolvi aqui usando o evento KeyDown do RadGridView
if (e.Control && e.KeyCode == Keys.C)
{
    Clipboard.SetText(myGrid.CurrentCell.Value.ToString());
}

2 comments
ADMIN
Dinko | Tech Support Engineer
Posted on: 05 Jul 2024 12:57

Hi,

The feedback item is closed due to inactivity. 

Regards,
Dinko | Tech Support Engineer
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.

ADMIN
Nadya | Tech Support Engineer
Posted on: 26 Jan 2024 14:58

Hello, Jessé,

If I understand you correctly you are using copy/paste functionality in RadGridView. You have GridViewSelectionMode.FullRowSelect and GridViewClipboardCopyMode.EnableWithoutHeaderTex. However, I am not able to receive any error when copying/pasting from the grid. I copied some text from a cell in the grid and it is correctly pasted in the other document. Please check the provided gif file. Am I missing something? Can you please share more information about how to reproduce the problem that you have? 

Off topic, I would like to note that the official language for all product resources, e.g. online documentation, submitting tickets or comments in our public feedback portal, etc., is English. Can you please submit your answers in English? Thank you for your understanding. 

I am looking forward to your reply. 

Regards,
Nadya | Tech Support Engineer
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.

Attached Files: