RadListBox - copying display to clipboard

2 posts, 0 answers
  1. Shawna
    Shawna avatar
    6 posts
    Member since:
    Jan 2011

    Posted 08 Apr 2013 Link to this post

    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
  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 11 Apr 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top