This is a migrated thread and some comments may be shown as answers.

empty radGrid

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anjali
Top achievements
Rank 1
Anjali asked on 13 Jun 2011, 10:13 PM
Hi,

I have a radgrid on my page. It works fine when there are rows, but whenever there are no rows, it displays the solid line in place of the grid. I want to display header without any rows if there are no rows or if this is not possible then is it possible to make th grid invisible, I mean I don't want to see the solid line either. I am already setting

ShowHeadersWhenNoRecords

 

 

="true"

 

 in my masterTableView.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 14 Jun 2011, 09:01 AM
Hello Anjali,

To avoid this behaviour you can use the NoRecordsTemplate property. This property defines a template that will be displayed if there are no records in the assigned DataSource.
http://www.telerik.com/help/aspnet-ajax/grid-norecordstemplate.html

Best wishes,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Anjali
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or