J
jobs
I can't seem to get selectedrowstyle-backcolor to set the row
background color unless I force the selected index in the code behind.
When i select the ButtonField Run button it does set the background
color for the row. Is there another property I need to set to allow
selection for this to work?
</div>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AllowSorting="True"
AutoGenerateColumns="False" DataSourceID="SqlDataSource1"
SelectedRowStyle-BackColor="lightcoral">
<Columns>
<asp:ButtonField Text="run" ButtonType="Button"
CommandName="run" />
<asp:CommandField ShowEditButton="True"
ShowDeleteButton="True"/>
Thanks for any help or information!
background color unless I force the selected index in the code behind.
When i select the ButtonField Run button it does set the background
color for the row. Is there another property I need to set to allow
selection for this to work?
</div>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AllowSorting="True"
AutoGenerateColumns="False" DataSourceID="SqlDataSource1"
SelectedRowStyle-BackColor="lightcoral">
<Columns>
<asp:ButtonField Text="run" ButtonType="Button"
CommandName="run" />
<asp:CommandField ShowEditButton="True"
ShowDeleteButton="True"/>
Thanks for any help or information!