Skip to content

Instantly share code, notes, and snippets.

@swade1987
Created February 10, 2016 17:24
Show Gist options
  • Save swade1987/055d91d75aa91a172494 to your computer and use it in GitHub Desktop.
Save swade1987/055d91d75aa91a172494 to your computer and use it in GitHub Desktop.
code
<asp:TemplateField HeaderText="Required:" HeaderStyle-ForeColor="#008356" HeaderStyle-Font-Size="11px"
ItemStyle-Font-Size="11px">
<EditItemTemplate>
<asp:TextBox ID="txtRequired" runat="server" ForeColor= "red" Font-Size ="11px" Font-Names="Trebuchet MS" width="40px" Text='<%# Bind("ASAuditRequired") %>'></asp:TextBox>
<asp:Label ID="lblRequired" Visible="false" runat="server" Text='<%# Bind("ASAuditRequired") %>'></asp:Label>
</EditItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtNewRequired" runat="server"></asp:TextBox>
</FooterTemplate>
<ItemTemplate>
<asp:Label ID="lblRequired" runat="server" Text='<%# Bind("ASAuditRequired") %>'></asp:Label>
</ItemTemplate>
<HeaderStyle Font-Size="11px" ForeColor="#008356" />
<ItemStyle Font-Size="11px" Width="4px" Wrap="True" />
</asp:TemplateField>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment