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

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.
 
M

Mahavir Shah

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,184
Latest member
ZNOChrista

Latest Threads

Top