Santosh Kumar

Santosh Kumar

  • NA
  • 126
  • 59.8k

The right-alignmentof inside the grid not getting text

Jul 17 2013 8:36 AM
Hi Every One i am using the following grid and making the second column to be align at right side but it is not gettting right side.
I am using the IE and client requirement is only IE. But It Works well in other browsers.


<asp:GridView ID="gvThings" runat="server" AutoGenerateColumns="false"> <Columns> <asp:BoundField DataField="text" HeaderText="Text" ItemStyle-Width="200" /> <asp:BoundField DataField="number1" HeaderText="Number 1" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" /> </Columns> </asp:GridView>

Answers (7)