Click here to Skip to main content
15,910,878 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I have web page called student.aspx. This page has some text. User copies some text from the page, when User Pastes the text some where in his system, the user should be able to Paste the copied text along with the web page link also. How to do it?

Example:

This is for testing.

When I copy the above line and paste it some where
I should get
This is for testing.
http://www.sample.com/student.aspx
the text should be pasted with the location where it was copied.
Posted

1 solution

You may have to handle the clipboard event within you application and append the text you prefer.

The clipboard event sample on this link is for windows and not sure how far you can adopt to this to asp.net as am not very familiar with asp.net

http://www.radsoftware.com.au/articles/clipboardmonitor.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900