D
Dunc
I've got a repeater control on my page; I've put the <table> and the header
rows in the header and the </table> in the footer.
I would've thought when there were no rows in the datasource, the header and
footer wouldn't be displayed, and I could display a "friendly" error
message, however this isn't the case.
Is there any simple way to not display the header and footer when there are
no rows present, without putting them outside the repeater and enclosing
them in a panel?
Thanks in advance,
Duncan
rows in the header and the </table> in the footer.
I would've thought when there were no rows in the datasource, the header and
footer wouldn't be displayed, and I could display a "friendly" error
message, however this isn't the case.
Is there any simple way to not display the header and footer when there are
no rows present, without putting them outside the repeater and enclosing
them in a panel?
Thanks in advance,
Duncan