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

Is it ok to localize declarative grids in Page_Load

2 Answers 24 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Iron
Iron
Iron
Al asked on 04 Jun 2015, 09:05 AM

Hi,

I have read this article that explains how to use ItemCreated to localize declarative grid column headers. I have tried doing this in Page_Load using the grid.Columns collection and it seems to work fine + it is easier to work with a GridColumn for setting HeaderText as I have access to the UniqueName and Filter Tooltip properties.

Is there any reason not to do this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 09 Jun 2015, 07:59 AM
Hello Al,

As explained in your other forum thread, this is a matter of user preference and page life cycle usage:
http://www.telerik.com/forums/when-is-rebind-necessary-in-prerender

You can implement whichever approach you prefer.

Regards,
Eyup
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
0
Al
Top achievements
Rank 1
Iron
Iron
Iron
answered on 10 Jun 2015, 02:41 PM
Thanks, I created a separate post as it is a slightly different scenario but I will update that post.
Tags
Grid
Asked by
Al
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Eyup
Telerik team
Al
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or