This is a migrated thread and some comments may be shown as answers.

RadListBox - copying display to clipboard

1 Answer 118 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Shawna
Top achievements
Rank 1
Shawna asked on 08 Apr 2013, 04:31 PM
Hi,

We are currently using version 2012.2.724.40 of RadControls for ASP.NET AJAX, Windows7, and IE8.
For our intranet web application, I've set up a screen to use a RadListBox to display a list of text items for ease of set up and display, so I can automatically get the needed scroll bars and limit the height and width before scroll bars appear etc.  I am not using any of the 'Transfer' functionality and the user cannot select anything from the list.... it's just a display-only list (for now). 

While the RadListBox works perfectly for my display, my user wants to be able to copy from the resulting display to put the text list on their clipboard.  Is there anyway to do this, like with skins or CSS or anything, to make the rendered text available to a copy/paste action?

Or is there another control that I could use to accomplish this without losing the scrolling/visual display capabilities?

Thanks for any help!
Shawna

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 11 Apr 2013, 12:11 PM
Hello Shawna,

The desired functionality is not supported by design. However, I had prepared a custom implementation for you. You could use the "keydown" and "keyup" events in order to perform the desired custom actions. Here is a video demonstrating the behavior at my end. Please find the sample page attached.


Regards,
Nencho
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ListBox
Asked by
Shawna
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or