[Mono-bugs] [Bug 79585][Nor] Changed - Problem with WebControls.HyperLink and tooltips

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Oct 5 04:28:41 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by informatique.internet at fiducial.fr.

http://bugzilla.ximian.com/show_bug.cgi?id=79585

--- shadow/79585	2006-10-05 04:14:37.000000000 -0400
+++ shadow/79585.tmp.28376	2006-10-05 04:28:41.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79585
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Sys.Web
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: informatique.internet at fiducial.fr               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -97,6 +97,26 @@
 always
 
 Additional Information:
 this problem is visible with IE... (the tooltip doesn't appear)
 
 thanks!
+
+------- Additional Comments From informatique.internet at fiducial.fr  2006-10-05 04:28 -------
+Patch for this bug :
+
+Index: System.Web.UI.WebControls/HyperLink.cs
+===================================================================
+--- System.Web.UI.WebControls/HyperLink.cs      (révision 66277)
++++ System.Web.UI.WebControls/HyperLink.cs      (copie de travail)
+@@ -105,6 +105,8 @@
+                        if (HasControls ())
+                                base.RenderContents (w);
+                        else if (ImageUrl != "") {
++                               if (ToolTip != "")
++                                      
+w.AddAttribute(HtmlTextWriterAttribute.Title, this.ToolTip);
+                                w.AddAttribute
+(HtmlTextWriterAttribute.Src, ResolveClientUrl (ImageUrl));
+ #if NET_2_0
+                                string s = Text;
+


More information about the mono-bugs mailing list