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

Hide No Records template

1 Answer 251 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Venkatesh
Top achievements
Rank 1
Venkatesh asked on 15 Jan 2013, 10:04 AM
Hi,
How to hide the no records template. I want to show 5 empty rows in the radgrid.

I have tried this without luck:
<MasterTableView DataKeyNames="ProductNumber" ShowHeadersWhenNoRecords="true" EnableNoRecordsTemplate="false" AutoGenerateColumns="false" EditMode="InPlace"                     CommandItemDisplay="Bottom"  CommandItemSettings-AddNewRecordText="Add New Order">


Thanks

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 18 Jan 2013, 08:51 AM
Hello Venkatesh,

Please note that opening multiple insert forms is not supported:
   One postback inserting multiple rows
   Grid multiple inserts

You can use NoRecordsTemplate to configure your empty grid appearance or the bind to grid to a datasource with 5 empty records and use Batch updates:
   Batch Server Update    
   Performing Batch Updates
   http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/shareddatepicker/defaultcs.aspx?product=grid

I hope this will prove helpful.

All the best,
Eyup
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 now.
Tags
Grid
Asked by
Venkatesh
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or