This question is locked. New answers and comments are not allowed.
Hi, I have a grid with .Localizable("sv-SE")
When I rebind grid data with following jQuery function it looses all formatting incl. localization. Is there a way to reset the localization settings thru jQuery?
$.ajax({
type: "POST",
url: '@Url.Action("_ReloadSearchResults")',
data: JSON.stringify(search),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
var grid = getGrid("LedgerGrid");
grid.dataBind(data);
grid.render();
},
error: function (xhr, ajaxOptions, thrownError) {
AjaxLoadDown();
}
});
When I rebind grid data with following jQuery function it looses all formatting incl. localization. Is there a way to reset the localization settings thru jQuery?
$.ajax({
type: "POST",
url: '@Url.Action("_ReloadSearchResults")',
data: JSON.stringify(search),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
var grid = getGrid("LedgerGrid");
grid.dataBind(data);
grid.render();
},
error: function (xhr, ajaxOptions, thrownError) {
AjaxLoadDown();
}
});