I have a Gridview one of it's columns ItemStyle has a css class named xyz i want to change css class to xyzie if the browser is IE , how can i do that ?
example code :
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" DataKeyNames="y"
DataSourceID="SqlDataSource1" GridLines="None" ShowHeader="False"
onselectedindexchanged="GridView1_SelectedIndexChanged"
AllowSorting="True" CellSpacing="5"
onrowdatabound="GridView1_RowDataBound">
<Columns>
<asp:BoundField DataField="x" HeaderText="x" SortExpression="x" >
<ItemStyle CssClass="xyz" /> // want to change this to xyzie if the browser is ie
</asp:BoundField>
</Columns>
</asp:GridView>