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

Mark and Copy to Clipboard text from DataFields (TextBlock)

1 Answer 28 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Björn
Top achievements
Rank 1
Björn asked on 06 Sep 2012, 09:46 AM
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

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 06 Sep 2012, 01:03 PM
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.

Tags
DataForm
Asked by
Björn
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or