We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use different text in different Grids for same locale?

Platform: ASP.NET MVC |
Control: Grid

By default, Locale to the Grid control will be set same throughout the application. So, Grid’s localized text for all the Property Information will be same and cannot be changed for each individual Grid. However, we can overcome this by setting the required property changes in the ActionBegin and Load event of the Grid.

This KB explains the way to set different localized text for two different Grids.







.Net Core


Now, define the events for each Grid. In the Load event of the Grid, assign the create event to the pager using the model.pageSettings of the Grid. On rendering the ejPager internally by the Grid control, create event will be triggered and the respective localized text will be changed by the localizedLabels property.


Likewise, for the Grid ActionBegin event will change the properties defined within the localizedLabels.





Refer to the following Help Document for the different Localized Text Properties used in the Grid and Pager.



The following screenshot highlights the difference in the Empty Record text and Pager Information.

Figure. Different Locale Text for Two Grids.


2X faster development

The ultimate ASP.NET MVC UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile