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

[Solved] color to command item template

1 Answer 203 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Savyo
Top achievements
Rank 1
Savyo asked on 25 Apr 2013, 11:48 AM
Hi
How can I give color to command item template. thanks for your help
Savyo

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 25 Apr 2013, 11:52 AM
Hi,

Try removing the background image using CSS and add color for CommandItem as follows.

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

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

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