By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,390 Members | 2,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,390 IT Pros & Developers. It's quick & easy.

Display "No Data Found" and Paging in repeater

P: n/a
Kim
How can I display "No data found" in the repeater if there are no records
found after selecting an item from a dropdown list.

Another question is: Can repeater perform paging as in datagrid if the
number of records to be displayed in too long ?

I am using a repeater instead of datagrid as the latter does not allow me to
have one data-bound column with hyperlink.
Dec 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Make a FooterTemplate with a label "No data found". In ItemDataBound event
detect the footer item and set the label Visible property to
(myRepeater.Items.Count > 0).

Eliyahu

"Kim" <Ki*@discussions.microsoft.com> wrote in message
news:07**********************************@microsof t.com...
How can I display "No data found" in the repeater if there are no records
found after selecting an item from a dropdown list.

Another question is: Can repeater perform paging as in datagrid if the
number of records to be displayed in too long ?

I am using a repeater instead of datagrid as the latter does not allow me
to
have one data-bound column with hyperlink.

Dec 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.