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

[Solved] Form edit column names

2 Answers 123 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jason Thacker
Top achievements
Rank 1
Jason Thacker asked on 27 Aug 2009, 12:47 PM
As mentioned in a previous post, I am trying to localize a RadGrid using local resource files. I have successfully done most of the localization (header text etc.), but when I use the default RadGrid form to add/edit an item the column names are still appearing in English within the form.

How can I set these to either (a) the same as the header text within the grid, or (b) a value from the local resource file?

Thanks,

Jason

2 Answers, 1 is accepted

Sort by
0
Accepted
Yavor
Telerik team
answered on 31 Aug 2009, 12:37 PM
Hello Jason,

You can use the EditFormHeaderTextFormat property for the column(s) to set the text for the autogenerated edit form. This is demonstrated in the code snippet below:

<telerik:GridBoundColumn DataField="CustomerID" HeaderText="CustomerID" SortExpression="CustomerID"
UniqueName="CustomerID" EditFormHeaderTextFormat="TEST">
</telerik:GridBoundColumn>

I hope this information helps.

Kind regards,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jason Thacker
Top achievements
Rank 1
answered on 31 Aug 2009, 12:41 PM
Thank you!
Tags
Grid
Asked by
Jason Thacker
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Jason Thacker
Top achievements
Rank 1
Share this question
or