I’m using pager for paging with ListView, But the problem is, when there is no row found from the table. In that case, pagers paging also showing. So, my question is, how can i hide the pager. when ListView display the message no row found .
Thanks in Advance !!
You could use the
DataBoundevent to hide it:Edit: Assuming you’re using VB.NET
If your pager is not part of the ListView’s
LayoutTemplate(f.e. outside of the ListView), you can reference it directly without usingFindControl: