I have a problem I have a grid that has a commandcolumn in it. When the user tries to print the grid it also prints the commandcolumn which it shouldn't do. So i though i had found a work around for it by making the column not visible when passed the grid to the radprintdoucment. The problem is though when i re-size the margins on the print document it is bringing back the command column. I was wondering if anyone had any idea of how i would go about fixing this. My thought was to do the following, but when i do that if i delete one grids cart column it deletes both of them. How can I delete the cart column in just the TGrid?
Dim tGrid As New RadGridView
tGrid = grdItem
tGrid.Columns.Remove("cart")
PrintReport(tGrid, rptname & " Report")