Localizing BoundFields

  • Thread starter Thread starter helveticus
  • Start date Start date
H

helveticus

I am having difficulties to localize BoundFields of a gridview
embedded in a usercontrol (usr1.ascx). I tried various variants of the
markup below w/o success. What is the correct syntax? TIA for any
hints.

<asp:GridView ID="gvwItems" runat="server" ...>
</asp:BoundField>
...
</Columns>
</asp:GridView>

where the keys associated to ProdTitle are respectively:
usr1.ascx.resx: Item; usr1.ascx.FR.resx: Sujet
 
I found a work-around by setting: HeaderText="<%$
Resources:StoreViewcart.ascx, ProdTitle%>"
 
Back
Top