Check for null MyFlexGrid before using it. Added Static LineWidth0 method used for drawing borders on the screen Fixed logic to draw borders on the VlnFlexGrid Fixed logic to draw grid borders on the pdf output.