Noone must be knowing all of them.
Many a times, I could not find correct solution to many problems
This is one way to help others to get used from the blog and myself to keep a record so that I can get back any time.
Today after searching for a long time, I was able to apply border to gridview control to all rows and columns in asp.net visible in Internet Explorer.
Below is code snippet which has definition to apply border to all rows of the GridView
<asp:GridView ID="gridView" runat="server">
<Columns>
<asp:TemplateField >
</asp:TemplateField >
</Columns>
<RowStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="1">
The above tag defines border to all rows but still there is a problem, it does not apply border to the Header column. For this, you need to define styling for each column headerFinally I got my reports and tables borders visible in Internet Explorer<asp:TemplateField HeaderStyle-BorderStyle="Solid" HeaderStyle-BorderColor="Black" HeaderStyle-BorderWidth="1px">
No comments:
Post a Comment