RadVirtualGridElement.Paste does not support pasting into new rows.
I want to override RadVirtualGridElement.Paste to allow to to paste into new rows. Except when I do so, the methods to retrieve information from the clipboard (GetHtmlData/GetTextData/GetCsvData ) are private.
So now I have one request, two solutions:
- Make GetHtmlData/GetTextData/GetCsvData protected so I can call them when I override Paste.
- Or split up the Paste method into two sub-methods:
- One sub-method to retrieve the information from the clipboard which will result in a list of list of strings (like: GetClipboardData())
- The second sub-method to do the actually Paste the list of list of strings into the grid (like: Paste(List<List<string>> data)). Of course this sub-method must be virtual.