I have an application where I am dynamically creating a group of tabs, each one with a radgrid on it, from the code behind. The radgrid includes a TemplateColumnEdit column (GridEditCommandColumn cannot be used because the link fires javascript to decide based on row data which of 7 types of dialog to present for editing). Here is a portion of the code:
var colEdit = new GridTemplateColumn();
colEdit.UniqueName = "TemplateEditColumn";
colEdit.AllowFiltering = false;
colEdit.HeaderStyle.Width = Unit.Percentage(5);
colEdit.ItemStyle.VerticalAlign = VerticalAlign.Top;
colEdit.ItemTemplate = new TemplateColumnEdit("EditLink");
The column always says "Edit" regardless of the language/culture. I need either to translate it, or to display ~/App_Themes/Default/RadGrid/Edit.gif. How can this be accomplished from code behind?
Thank you.
var colEdit = new GridTemplateColumn();
colEdit.UniqueName = "TemplateEditColumn";
colEdit.AllowFiltering = false;
colEdit.HeaderStyle.Width = Unit.Percentage(5);
colEdit.ItemStyle.VerticalAlign = VerticalAlign.Top;
colEdit.ItemTemplate = new TemplateColumnEdit("EditLink");
The column always says "Edit" regardless of the language/culture. I need either to translate it, or to display ~/App_Themes/Default/RadGrid/Edit.gif. How can this be accomplished from code behind?
Thank you.