Is it possible to make the Grid control visible even if datatable is empty.
I just need the command line with Insert and refresh buttons to be there all the time.
Say you start a new project so there is no data into database. How about that?
The GridControl will not be visible if the DataSource for the grid is empty, i.e., if you have set RadGrid1.DataSource = null or RadGrid1.DataSourceID = String.Empty
You can replace this by using 'RadGrid1.DataSource= new string[] {}' instead, which will render the RadGrid on the page even when no records are present.
You can also try setting the ShowHeadersWhenNoRecords property of the MasterTableView to true as shown below:
aspx: