[Mono-bugs] [Bug 82817][Nor] New - AjaxControlToolkit.Resources problem
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Sep 12 08:04:23 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 dna at informatik.uni-kiel.de.
http://bugzilla.ximian.com/show_bug.cgi?id=82817
--- shadow/82817 2007-09-12 08:04:23.000000000 -0400
+++ shadow/82817.tmp.21269 2007-09-12 08:04:23.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 82817
+Product: Mono: Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Ubuntu feisty
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Web
+AssignedTo: igorz at mainsoft.com
+ReportedBy: dna at informatik.uni-kiel.de
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Summary: AjaxControlToolkit.Resources problem
+
+If the original AjaxControlToolkit DropDown Sample inside a AjaxTabPanel.
+
+If i host this example on mono i've no hover effect on the label that acts
+as DropDownControl and following JavaScript exception:
+
+[Exception... "'Sys.ArgumentUndefinedException:
+Sys.ArgumentUndefinedException: Value cannot be undefined. Parameter name:
+format' when calling method: [nsIDOMEventListener::handleEvent]" nsresult:
+"0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]
+
+I debugged the JavaScript with http://www.hacksrus.com/~ginda/venkman/
+JavaScript Debugger and found out the problem:
+
+Line 187: var unit = this.parseUnit(padding);Sys.Debug.assert(unit.type ==
+'px', String.format(AjaxControlToolkit.Resources.Common_InvalidPaddingUnit,
+unit.type));return unit.size;}
+
+Values of var padding = "0px"
+Values of var unit: size = 0, type = "px"
+
+Calles Line 1885: String.format = function String$format(format, args).
+
+values: format = null, args = "px".
+
+And this trows the exception.
+
+So it seems that there is a problem loading the resource
+AjaxControlToolkit.Resources.Common_InvalidPaddingUnit.
+
+The site has culture="auto" and i'm on "de-DE".
More information about the mono-bugs
mailing list