Mark and Copy to Clipboard text from DataFields (TextBlock)

2 posts, 0 answers
  1. Björn
    Björn avatar
    23 posts
    Member since:
    Mar 2011

    Posted 06 Sep 2012 Link to this post

    Grüezi,

    our customer would like to copy the text from our Silverlight-Application to clipboard.
    Do you see a possibility to do this with your DataForm? http://demos.telerik.com/silverlight/#DataForm/DeclaringDataFields
    It is of course possible to select content from within a TextBox, but I'd like to select the whole content from the DataField, including Label.

    Adieu, Simon

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 06 Sep 2012 Link to this post

    Hi,

     You can set a ReadOnly mode for the DataFormDataField. This will set its child TextBox to be readonly, in order to maintain the select/copy support. 

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top