[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-patches
Subject:    [Mono-patches] r70291 -
From:       "Igor Zalmanovich (igorz () mainsoft ! com)"
Date:       2006-12-31 17:29:54
Message-ID: 20061231172954.B55EA9472C () mono-cvs ! ximian ! com
[Download RAW message or body]

Author: igorz
Date: 2006-12-31 12:29:54 -0500 (Sun, 31 Dec 2006)
New Revision: 70291

Modified:
   trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
   trunk/mcs/class/System.Web/System.Web.UI.WebControls/TextBox.cs
Log:
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>

	* TextBox.cs: consider ToolTip property


Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog	2006-12-31 17:02:27 UTC (rev 70290)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog	2006-12-31 17:29:54 UTC (rev 70291)
@@ -1,5 +1,9 @@
 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
 
+	* TextBox.cs: consider ToolTip property
+
+2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
+
 	* ContainedTable.cs:
 	* DataControlButton.cs:
 	* DetailsView.cs: fixed EnablePagingCallbacks

Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/TextBox.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/TextBox.cs	2006-12-31 17:02:27 UTC (rev 70290)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/TextBox.cs	2006-12-31 17:29:54 UTC (rev 70291)
@@ -61,6 +61,9 @@
 				Page.VerifyRenderingInServerForm (this);
 
 			base.AddAttributesToRender (w);
+
+			if (ToolTip.Length > 0)
+				w.AddAttribute (HtmlTextWriterAttribute.Title, ToolTip);
 			
 			switch (TextMode) {
 			case TextBoxMode.MultiLine:

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic