Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
Columns Localization
posted

Hi,

I'm interested when Auto Column generation is off, how can I set the column header from the current .resx file?

Thank you.

Parents
No Data
Reply
  • 1150
    Verified Answer
    posted

    You can use Expressions in the markup to use resources. For example:

     Header-Text="<%$ Resources:ResourceFileName,ResourceKey %>"

    Full column mark up would be like this:

    <ig:BoundDataField Key="Name" Header-Text="<%$ Resources:SomeResourceFile,NameKey %>"

    DataFieldName="Name">

    </ig:BoundDataField> 

Children
No Data