How to avoid blank lines corresponding to empty <tr> tags

ayman rock

New Member
I am displaying several asp.net panel controls using an html table. Initially the panels are set as visible = false. Depending upon the data from database, some of the panels will be made visible. The problem is if the second and tenth panels are made visible, there are several blank lines are displayed in the page since there are several empty tags created corresponding to invisble panels. please let me know how avoid the blank lines.Thanks
 
Back
Top