Is this possible with asp:Repeater

  • Thread starter Thread starter Tem
  • Start date Start date
T

Tem

I need to hide the asp:Repeater control if no data is returned. not output
anything.
this is the default behavior for content in the ItemTemplate but not
HeaderTemplate and FooterTemplate
can this be done?

Thx
Tem
 
I need to hide the asp:Repeater control if no data is returned. not output
anything.
this is the default behavior for content in the ItemTemplate but not
HeaderTemplate and FooterTemplate
can this be done?

Thx
Tem

just set the visible property of the repeater to false
 
where? which event? I tried a few but still couldn't get it to work

I need to hide the asp:Repeater control if no data is returned. not output
anything.
this is the default behavior for content in the ItemTemplate but not
HeaderTemplate and FooterTemplate
can this be done?

Thx
Tem

just set the visible property of the repeater to false
 

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

Back
Top