469,927 Members | 1,785 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

Display "No Data Found" and Paging in repeater

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
1 5558
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.

Similar topics

reply views Thread by Ben | last post: by
reply views Thread by hsr | last post: by
4 posts views Thread by Rudy | last post: by
4 posts views Thread by seth_hickel | last post: by
reply views Thread by madasamonkey | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.