c# - Why cant bind data from cs to html style attribute? -
i created listview
, pass info cs file item template. when pass information cs file item template checkbox gets it's value (rel='<%# eval("info") %>
) label doesn't (backcolor='<%#eval("color")%>'
). how make work?
<itemtemplate> <tr> <td> <asp:checkbox id="checkbox1" rel='<%# eval("info") %>' runat="server" /> </td> <td> <asp:label id="colorlbl" runat="server" backcolor='<%#eval("color")%>'> </asp:label> </td> </tr> </itemtemplate>
Comments
Post a Comment