Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a Gridview on my web site and printing it using windows.print(); this work fine but it's header border does not work properly. I mean some attribute lost there left border. For example, I have two attribute named Id and E-mail. I need to show them like this Id | E-mail , but sometimes they appear like this Id E-mail. Here is my code.
HTML
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="Black" BorderColor="Black" BorderWidth="2px" Font-Size="16"/>

I don't know how to spell this problem, Please Someone help me if you understand me.
Posted
Comments
Sergey Alexandrovich Kryukov 5-Nov-13 10:36am    
The explanation is quite clear, thank you. Not sure if this information is enough to solve the problem though. Did you see how it looks in resulting HTML? In normal HTML tables is does not happen, unless you specify explicit border style with separate sides missing...
—SA

1 solution

Hello

Check you gridview properties
GridLines="Both"
if not please change as this, then see .....
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900