[Mono-bugs] [Bug 82418][Wis] New - ChangePassword Control buttons can't be localized
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Aug 12 12:06:22 EDT 2007
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 joe_audette at yahoo.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82418
--- shadow/82418 2007-08-12 12:06:22.000000000 -0400
+++ shadow/82418.tmp.1413 2007-08-12 12:06:22.000000000 -0400
@@ -0,0 +1,69 @@
+Bug#: 82418
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com
+ReportedBy: joe_audette at yahoo.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Summary: ChangePassword Control buttons can't be localized
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Can't get a reference to button controls inside ChangePassword control
+therefore can't set text
+
+
+Steps to reproduce the problem:
+This code hits the else clause on Mono but not on windows
+Button changePasswordButton =
+(Button)ChangePassword1.ChangePasswordTemplateContainer.FindControl("ChangePasswordPushButton");
+ Button cancelButton =
+(Button)ChangePassword1.ChangePasswordTemplateContainer.FindControl("CancelPushButton");
+
+ if (changePasswordButton != null)
+ {
+ changePasswordButton.Text = Resource.ChangePasswordButton;
+ SiteUtils.SetButtonAccessKey(changePasswordButton,
+AccessKeys.ChangePasswordButtonAccessKey);
+ }
+ else
+ {
+ log.Debug("couldn't find changepasswordbutton so couldn't
+set label");
+ }
+
+ if (cancelButton != null)
+ {
+ cancelButton.Text = Resource.ChangePasswordCancelButton;
+ SiteUtils.SetButtonAccessKey(cancelButton,
+AccessKeys.ChangePasswordCancelButtonAccessKey);
+ }
+ else
+ {
+ log.Debug("couldn't find cancelbutton so couldn't set label");
+ }
+
+Actual Results:
+Buttons not found so text not set
+
+
+Expected Results:
+Buttons found and text set as per code
+
+
+How often does this happen?
+Every time
+
+Additional Information:
+This result is obtained using Mono 1.2.4 VMWare image with Mono 1.2.4
+I cannot currently verify this problem in svn head as mojoportal is
+completely broken under snv head due to some other bug in Mono
More information about the mono-bugs
mailing list