Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
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 24-Jun-12 20:46pm
Comments
Sergey Alexandrovich Kryukov at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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...
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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[^].
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

you can use firebug in mozilla. to copy tooltip text on any control by inspecting it.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 8,478
1 OriginalGriff 6,516
2 Peter Leow 3,567
3 Zoltán Zörgő 3,351
4 Richard MacCutchan 2,397


Advertise | Privacy | Mobile
Web02 | 2.8.150123.1 | Last Updated 18 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100