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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Oct 5 04:14:37 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.27633	2006-10-05 04:14:37.000000000 -0400
@@ -0,0 +1,102 @@
+Bug#: 79585
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: informatique.internet at fiducial.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Problem with WebControls.HyperLink and tooltips
+
+Description of Problem:
+When you specify a tooltip with an HyperLink the "title" attribute is not
+reported on the <img> when you specify an ImageUrl
+
+Steps to reproduce the problem:
+1. Try this aspx:
+
+<%@ Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD HTML
+4.01Transitional//EN">
+
+<html><head>
+  <title>Default</title>
+  <Head>
+  <script language="C#" runat=server>
+    void Page_Load(object sender, System.EventArgs e) 
+    {
+      	System.Web.UI.WebControls.HyperLink lnk = new
+System.Web.UI.WebControls.HyperLink();
+      	lnk.ImageUrl =
+"http://primates.ximian.com/~miguel/mono-logo/mono-logo.png";
+      	lnk.NavigateUrl="http://www.google.fr";
+      	lnk.ToolTip="Go to google";
+      	form1.Controls.Add(lnk);
+
+    } 
+  </script>
+</Head>
+</head><body>
+	<form id="form1" runat="server">
+	</form>
+</body></html>
+
+2. xsp -> http://localhost:8080
+3. 
+
+Actual Results:
+
+Html Generated with mono (trunk)
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01Transitional//EN">
+
+<html><head>
+  <title>Default</title>
+  <Head>
+  
+</Head>
+</head><body>
+	<form name="form1" method="post" action="Default.aspx" id="form1">
+<input type="hidden" name="__VIEWSTATE" value="" />
+
+	<a title="Go to google" href="http://www.google.fr"><img
+src="http://primates.ximian.com/~miguel/mono-logo/mono-logo.png" alt=""
+border="0" /></a></form>
+
+</body></html>
+
+
+Expected Results:
+Html Generated with MS.NET
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01Transitional//EN">
+
+<html><head>
+  <title>Default</title>
+  <Head>
+  
+</Head>
+</head><body>
+	<form name="form1" method="post" action="Default.aspx" id="form1">
+<input type="hidden" name="__VIEWSTATE"
+value="dDw1OTUwMzM2Mzc7Oz7GElYpcKxjbAt7y30YDr2JtJ4s3g==" />
+
+	<a title="Go to google" href="http://www.google.fr"><img title="Go to
+google" src="http://primates.ximian.com/~miguel/mono-logo/mono-logo.png"
+alt="" border="0" /></a></form>
+</body></html>
+
+
+
+How often does this happen? 
+always
+
+Additional Information:
+this problem is visible with IE... (the tooltip doesn't appear)
+
+thanks!


More information about the mono-bugs mailing list