I wanted to know if there is an event/method for templated ASP.NET datagrid items where I can specifically set the culture that values are rendered in.
Example: The user is viewing the page in Japanese, but all prices need to be listed as US prices with the $ currency while all other resources need to still be in Japanese. For a specific datagrid and templated column, how can I set the culture that a particular column's values are rendered under.
Currently code like the following would show a price of 30 as 30¥ instead of $30.
<asp:TemplateColumn HeaderText="Example">
<ItemTemplate>
<asp:Label ID="PriceLabel" runat="server" Text='<%# Eval("Price", "{0:C}") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Example">
<ItemTemplate>
<asp:Label ID="PriceLabel" runat="server" Text='<%# string.Format(new System.Globalization.Cultu
</ItemTemplate>
</asp:TemplateColumn>