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.
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.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|9181||08/17/2018||08/17/2018||ASP.NET Web Forms||Grid|