Datagrid HeaderStyle

M

Mike

We are attempting to use the Localization Toolkit to develop a site
for a client. Everything is going relatively smooth with one
exception.

We would like to have the ability to enter the HeaderStyle BackColor
into the Toolkit and have it change based on the culture selected by
the user. However, have been unsuccessful at doing so and any
suggestions would be greatly appreciated.

Here's a sample of code that works, but the BackColor will not change
when the users selects a new culture...

<asp:datagrid id="dgrDataGrid" runat="server" key="DataGrid" ...>
<HeaderStyle BackColor="Silver"></HeaderStyle>
<ItemStyle verticalalign="Top"></ItemStyle>
<Columns>
<asp:BoundColumn DataField="DataFieldID" ReadOnly="True"
HeaderText="DataFieldID" visible="false">
<HeaderStyle width="0px"></HeaderStyle>
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="Account">
<HeaderStyle width="70%"></HeaderStyle>
</asp:TemplateColumn>
</Columns>
</asp:datagrid>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top