Click here to Skip to main content
15,891,841 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i am trying to add onpaste event to gridview cell which contains label controls.
i am able to do this with textbox but i am unable to add it to label controls.provide soln.thanx
Posted

1 solution

i got my answer.
I hv added label as itemtemplate.calling javascript function on itemtemplate label onPaste event.
In case of grid i call javascript function onkeyUp event on onClick event.

In javascript code i hv check for event type paste or not.Also check for ctrl+Key.
 
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