Hi all,
How can I set the HeaderText based on a Property instead of hardcode it?
If I e.g. has property in my cs-file called "EnglishHeader" like this:
And want to get it in the aspx-file something like:
Best regards,
Kenneth
How can I set the HeaderText based on a Property instead of hardcode it?
If I e.g. has property in my cs-file called "EnglishHeader" like this:
public string EnglishHeader |
{ |
get |
{ |
return "My english header"; |
} |
} |
And want to get it in the aspx-file something like:
<telerik:GridBoundColumn DataField="OrderNumber" HeaderText="<%= EnglishHeader %>" /> |
Best regards,
Kenneth