Thank you for contacting us.
Please try the following approach:
sender, GridItemEventArgs e)
totalRowCount = (e.EventInfo
Button1.Enabled = (totalRowCount != 0);
That should do the trick. Please give it a try and let me know about the result.
All the best,
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed