Skip to content

Code52 Globalization code crashes when move cursor to switch the language label. #17

Open
@jiapings

Description

@jiapings

Hi,
I am following this instruction
http://code52.org/aspnet-internationalization/tutorial.html#add_the_code52i18n_nuget_package
to implement the Code52 internationalization code to my brand new MVC 4 application created from visual Studio 2012 RC MVC 4 template, after implemented the code posted on the above site, successed build without any problem. But when I run the application, and try to switch the language, and move the cursor on "English (United Kindom) [+]", the application crashes, the program stopped at this line of code with yellow color:
fx.elem.style[ fx.prop ] = (fx.prop === "width" || fx.prop === "height" ? Math.max(0, fx.now) : fx.now) + fx.unit;
in jquery-1.6.2.js
A Microsoft Visual Studio error window popup with this message:
Unhandeled exception at line 8564, column 5 in
http://localhost:64807/Scripts/jquery-1.6.2.js
0x800a017c - Invalid property value.

(Break and Continue buttons are available on the bottom the window).

My computer is using Window 7, and I am using Visul Studio 2012 RC, the probject was created from MVC 4 template.
By the way, in the instruction
http://code52.org/aspnet-internationalization/tutorial.html#add_the_code52i18n_nuget_package
In the Resource file creation section, it did not menton the creation of Resources folder, it just mentoned the creation of resources file of Language.resx, but I got compile time error, after I checked the code, I think I should create Resources folder to hold Language.resx and Language.fr.resx files. The build was successful after this Resources folder creation.

Please let me know if you need more info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions