I have an Label Control in asp.net 3.5 web page.
I dont want to copy the text from that control.How can I do this.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suthish NairPosted Jan 21, 2011, 6:22 AM
Sam HobbsPosted Jan 20, 2011, 4:28 PM
George OnofreiPosted Jan 20, 2011, 1:42 PM
Jaish MathewsPosted Jan 20, 2011, 1:30 PM
Hi,
Below code will prevent right click and copy functionality. But not sure is this your need.
Label1.Attributes.Add("onmousedown", "alert('Content copy disabled');return false;");