I am printing a telerik GridView, and under some conditions i want to hide the left and right borders of the cell. I have tried the below code but it did not work as it is removing the top and bottom borders also.
How could i only remove the left and right borders...
private void radGridView1_PrintCellFormatting(object sender, PrintCellFormattingEventArgs e) { if (e.Row is GridViewDataRowInfo) { string s = (string)e.Row.Cells[0].Value; if (s == "Total" || s=="") { e.PrintCell.DrawFill = true; e.PrintCell.Font = new System.Drawing.Font(radGridView1.Font, FontStyle.Bold); e.PrintCell.DrawBorder = false; } } }How could i only remove the left and right borders...