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

[Solved] font color for no records

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ryann
Top achievements
Rank 1
Ryann asked on 03 Feb 2014, 01:14 PM
Hi,
How to change the font color for no records to display?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Feb 2014, 01:20 PM
Hi Ryann,

One suggestion to achieve this is by adding 'NoRecordsTemplate' with your own styles as shown below.

ASPX:
<NoRecordsTemplate>
 <div style="color: Green">
  No Records!
 </div>
</NoRecordsTemplate>

or another way is to set CSS as follows:

CSS:
<style type="text/css">
 .rgNoRecords
 {
  color: Red !important;
 }
</style>

Thanks,
Shinu
Tags
Grid
Asked by
Ryann
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or