https://bugzilla.novell.com/show_bug.cgi?id=424704
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=424704#c2 --- Comment #2 from Juraj Skripsky <[EMAIL PROTECTED]> 2008-09-23 07:53:11 MDT --- Created an attachment (id=241147) --> (https://bugzilla.novell.com/attachment.cgi?id=241147) minimal testcase This test case is much simpler. It doesn't use AjaxControlToolkit but requires manual inspection of the resulting html code. Extract, start xsp2, request index.aspx. The html should include this code: <script type="text/javascript"> //<![CDATA[ var __cultureInfo = '{"name":"en-US","numberFormat":{"CurrencyDecimalDigits":2,"CurrencyDecimalSeparator":".", ....... }}';//]]> </script> but it actually contains this: <script type="text/javascript"> //<![CDATA[ var __cultureInfo = '[{"Key":"name","Value":"en-US"},{"Key":"numberFormat","Value":{"CurrencyDecimalDigits":2,"CurrencyDecimalSeparator":".", ........ }}]';//]]> </script> The problem is that when EnableScriptGlobalization is set, ScriptManager has to serialize a ScriptManager.CultureInfoSerializer object which derives from JavaScriptSerializer.LazyDictionary which in turn implements IDictionary<string, object> (but not IDictionary!). CultureInfoSerializer is _not_ generic hence the code for IDictionary<,> in JsonSerializer is not used. It is treated as an IEnumerable. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
