Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,
In my Webpage I fetch the data from the sql server and display in front end using grid view.One of the column having the lengthy data.For that i showed partial data in the grid on mouse hover in tooltip I showed full data which is present in the column.Now i need to copy the data fully which is coming in the tooltip.If i copy the text in the grid it copies only the partial data.

plz any one help me

Thnks in Advance,
Posted
Comments
Sergey Alexandrovich Kryukov 25-Jun-12 1:50am    
The problem is not clear. As I understand, this is you who copy data to a tooltip, not that it appears there by itself, so how come you have any problems accessing it? If you have a problem in your runtime behavior, always use the debugger.
--SA

ASP.NET running in browser has restrictions and you cannot copy to clipboard directly, for that you need additional plugin or you can achieve through client-side scripts.

These will not be so effective, and processing will be harder, i don't understand your reason to put in clip-board, if you are using Silverlight or something use this, or prefer other alternatives, by keeping in cookie, Client side Caching etc...
 
Share this answer
 
You cannot copy tooltip text.

What you can do is, via code, get the full tooltip text[^] (when mouse is hoevered) and then copy it to the clipboard[^].
 
Share this answer
 
you can use firebug in mozilla. to copy tooltip text on any control by inspecting it.
 
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