c# asp.net Gridview in html source table tr td are in different li

  • Thread starter Thread starter Mahavir Shah
  • Start date Start date
M

Mahavir Shah

hi,

in c# asp.net gridview when we see page running, and check it's source.

you can see that it has something like this at gridview table

</tr><tr>
<td>22/06/2007</td><td>45000</td>
</tr><tr>
<td>22/06/2007</td><td><50000></td>

so you can view that between each <tr> and <td> there is lots of space.
which is increasing size of rendered html page at more records dramatically.

please tell me solution to tied them combined. or something that can help
reduce size.
 
hi,

yes, you are right. i want to suppress those CRs and White spaces. actually
our report can not have pagination because of it's nature. i have to show all
records at once. this CRs and white space taking space more than record
itself. so not because of large no of records, page size is increased because
of this CRs and white spaces.

i just want to remove those CRs as we can do it if we manually create table
in Classic ASP.

any other solution is also welcome.
 
Back
Top