This is a migrated thread and some comments may be shown as answers.

Texts set by javascript

3 Answers 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Elko
Top achievements
Rank 1
Elko asked on 24 Apr 2014, 06:01 AM
Hi!

We are having a single-page-application using asp.net mvc and creating views using razor. Creating several grids using the mvc-helper on a single view causes that the texts are transferred to the browser foreach grid. I have seen in this post https://github.com/loudenvier/kendo-global that it is possible to provide texts via javascript. But how can I prevent that the grid sends texts to the client?

Best regards!

3 Answers, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 25 Apr 2014, 03:13 PM
Hello Elko,

I am afraid it is not possible to change how the translations are send to the client when using the MVC wrapper, they are also embedded into the initialization scripts of the widgets.

Kind Regards,
Petur Subev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Elko
Top achievements
Rank 1
answered on 02 Oct 2015, 11:07 AM

Hi!

Is there any progress on this topic? Or should I create a feature request / new idea?

Best Regards!

0
Georgi Krustev
Telerik team
answered on 06 Oct 2015, 11:04 AM
Hello Elko,

We do not have plans to update the way the MVC wrappers serialize their options. The messages are needed when wrappers are used, because their messages come from the resources. If you would like to localize a page/widget please use the ASP.NET MVC way.

If you would like to localize page using JavaScript, then you will need to initialize the widget using JavaScript too.

Regards,
Georgi Krustev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Elko
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Elko
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or