Remove spreadsheet copy function

S

Snow

Hi, all,

I am using OWC9 spreadsheet to display data. Is there a way to remove copy,
paste function? So the user can't do copy paste data at run time.

Thanks for the help!
 
A

Alvin Bruney [MVP]

You can always catch the mouse events and determine if it is a paste and
stifle the bubble event. That is one approach. Then you would have to
disable the context menu as well and the toolbar functionality because it
contains a copy/paste button. The real question is why are you trying to
restrict the user with what is considered default windows functionality?
User's really hate that type of restriction.

--
Regards,
Alvin Bruney

Coming this month
The Microsoft Office Web Components Black Book with .NET
http://tinyurl.com/27cok
 
A

Alvin Bruney [MVP]

look into java script mouse events, there are lots of code snippets on the
net. i'm sorry don't have a link at the moment

--
Regards,
Alvin Bruney

Shameless Author plug
The Microsoft Office Web Components Black Book with .NET
http://tinyurl.com/27cok
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top