Hello,
Firstable, thank you for the support and all the tutorials.
I have a problem with Ignite UI 2012.2 IgGrid for ASP.net MVC4 Razor, i´m not able to load the js resources for my Language Spanish.
I´m Following all the tutorials but unfortunately i dont achieve any results.
I´m doing the tutorials step by step, and actually i dont know if i´m missing something.
thanks in advance,
David Alonso.
Hello Martin,
The control changes the language with the culture.
thank you for your help.
But the calendar is still in English.
Regards in advance.
Hello David,
What did you do to change the culture of the page to English and which browser are you using?
Let me explain what is going on under the hood.
igLoader uses window.navigator.language or window.navigator.userLanguage JavaScript property to guess which language and locale is the page in. You should check what is the value of this variable in order to see if it is in the expected language.Different browsers fill this property differently:Chrome seems to fill it when I change the browser display language.Firefox has a Languages dialog in the option, so the window.navigator.language is taken from there.Internet Explorer looks in the Windows regional settings and fills the variable window.navigator.userLanguage from there.
Hope this helps,
Martin PavlovInfragistics, Inc.
sorry but i have another problem.
The control is in Spanish now but it doesn´t change to English when the culture of the web changes.
Any suggestion?
We did it!!
I deleted "~/Scripts/jQuery/Common/js/i18n/infragistics.ui.grid-es.js" from the BundleConfig, instantiate the loader whit you code axample and the line with the helper @(Html.Infragistics().Loader().Render()) before the IgGrid and it works!!
Thank you so much for your support!!
I have the scripts load in BundleConfig.vb like this:
Dim scriptBundle As New ScriptBundle("~/bundles/scripts") Dim styleBundle As New StyleBundle("~/bundles/css") bundles.Add(New ScriptBundle("~/bundles/scriptsLogin").Include("~/Scripts/jquery-1.7.1.js", "~/Scripts/jquery-ui-1.9.2.js", "~/Scripts/Login.js")) bundles.Add(New StyleBundle("~/bundles/cssLogin").Include("~/Scripts/Jquery/Common/CSS/themes/infragistics/infragistics.theme.css", "~/Scripts/jQuery/Common/CSS/structure/modules/infragistics.ui.grid.css", "~/Content/LoginIndex.css", "~/Content/LoginRegistrar.css", "~/Content/EstiloBotones.css"))
'#If DEBUG Then
scriptBundle.Include("~/Scripts/jquery-1.7.1.js", "~/Scripts/jquery-ui-1.9.2.js", "~/Scripts/jquery.ui.widget.js", "~/Scripts/modernizr-*", "~/Scripts/mootools-core-1.4.5-full-compat.js", "~/Scripts/jQuery/Common/js/infragistics.js", "~/Scripts/jQuery/Common/js/i18n/infragistics.ui.grid-es.js", "~/Scripts/jQuery/Common/js/infragistics.loader.js", "~/Scripts/jquery.form.js", "~/Scripts/jquery.fullscreen-1.0.js", "~/Scripts/jquery.autocomplete.js", "~/Scripts/jquery.hashtable-1.1.js", "~/Scripts/Visualizador.js", "~/Scripts/ScriptDebug.js")
and load then in the LayoutPrincipal with
@Styles.Render("~/bundles/css") @Scripts.Render("~/bundles/scripts")
Hope this make your support easier.