Can I use AjaxControlToolkit to check whether ASP.NET GridView is Empty or Not?
An empty GridView control still renders its EmptyDataTemplate (or its EmptyDataText), so you can't just check if its associated <table>
element is empty.
You might want to specify a custom EmptyDataTemplate
that renders an element with a well-known id, then use $get() on the client-side to check if that element exists.
You can also create an extender on the GridView
that passes its Rows.Count property to the client side using an ExtenderControlProperty.