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 19: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 3

you can use firebug in mozilla. to copy tooltip text on any control by inspecting it.
  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  

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

  Print Answers RSS
0 Maciej Los 250
1 OriginalGriff 210
2 Manfred R. Bihy 190
3 CHill60 180
4 _Amy 155
0 OriginalGriff 7,445
1 Sergey Alexandrovich Kryukov 6,177
2 Maciej Los 3,774
3 Peter Leow 3,478
4 CHill60 2,702


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 18 Oct 2012
Copyright © CodeProject, 1999-2014
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