Files to look at: Default.aspx (VB: Default.aspx) Default.aspx.cs (VB: Default.aspx.vb) ASPxGridView - How to hide the detail button if the detail grid is empty [Run Online] This example illustrates how to hide the detail button for "empty" detail rows using the server-side DetailRowGetButtonVisibility event