Click here to Skip to main content
16,017,207 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello Friends,

Please tell me how can i copy text from popup window on button click for paste data in parent window. i don't want to use session or other thing i have to copy data using asp.net not by javascript also.if it is possible then reply.

Thanks
Posted
Comments
Thanks7872 5-Aug-14 8:23am    
No session, no javascript, no other thing, than how you want it to be and why?
Sergey Alexandrovich Kryukov 5-Aug-14 18:45pm    
Bad idea. If your purpose is to copy some text between windows, you need to do exactly that. Do you understand that Copy/Paste has the side effect, change of the clipboard content?
"Not by Javascript" is nonsense. If the data is changed on client size, ASP.NET knows nothing about it unless you postback this data, but why? By your description, your operation should be local to the client. Anyway, even if you want to send the data back to the server and handle it there and than update the parent window, I cannot see what is your problem.
—SA

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