P
Peter
I have a button on my ASP.NET 2.0 web page labelled "Copy to
Clipboard" which must use server side code to format some data in a
specific manner and then copy it to the client clipboard so it can be
pasted into another application. Initially I planned to have the
server-side code put the data string into a cookie and then use a
client-side Javascript function referenced in the button's
OnClientClick attribute to copy the contents of the cookie to the
client clipboard. However, to my display I've just figured out that
client-side code is always executed before server events.
Can someone give me an idea of how I can achieve what I need to be
able to do. Thanks.
Peter,
Clipboard" which must use server side code to format some data in a
specific manner and then copy it to the client clipboard so it can be
pasted into another application. Initially I planned to have the
server-side code put the data string into a cookie and then use a
client-side Javascript function referenced in the button's
OnClientClick attribute to copy the contents of the cookie to the
client clipboard. However, to my display I've just figured out that
client-side code is always executed before server events.
Can someone give me an idea of how I can achieve what I need to be
able to do. Thanks.
Peter,