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

Color for CommandItem

1 Answer 24 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Janaki
Top achievements
Rank 1
Janaki asked on 06 Nov 2012, 03:16 AM
Hi all,

Could you please provide some suggestions to give color for the CommandItem? 

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 06 Nov 2012, 03:22 AM

Hi,

Please try the following code snippet.

ASPX:
  .  .  .
<MasterTableView  CommandItemDisplay="Top">
      <CommandItemStyle BackColor="Red" />
   .  .  .

CSS:
<style type="text/css">
 .rgCommandRow
    {
        background-image: none !important;
    }
</style>

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