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

ObjectDataSource and No records to display message

1 Answer 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
MrHoso
Top achievements
Rank 1
MrHoso asked on 03 Jun 2008, 01:30 PM
Hi,

I am using objectdatasource with my grid. And the data table is empty i want to see "No records to display." message but instead of that i see nothing.

Is there any way to see this message with objectdatasource.

Regards,

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 04 Jun 2008, 04:26 AM
Hi,

Try setting EnableNoRecordsTemplate to true in the aspx as shown below.

ASPX:
<MasterTableView   EnableNoRecordsTemplate="true"  > 


Thanks
Shinu.

Tags
Grid
Asked by
MrHoso
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or