I have a DetailsView and few buttons on my page.
So I want to hide them if DetailsView displays not a data but just a value if EmptyDataText property.
How can I do that?
I found only one way - view.Rows[0].Cells.Count == 1 because if the data is displayed, more then one columns presents. But I don't like such method.