<asp:UpdatePanel ID="Profits" runat="server" > <ContentTemplate> <asp:GridView Width="100%" border="1" ID="gwProfit" RowStyle-Wrap="true" runat="server" AutoGenerateColumns="false" CssClass="datatable" AlternatingRowStyle-CssClass="alternaterow" FooterStyle-CssClass="datatableFooter" FooterStyle-VerticalAlign="Bottom" HeaderStyle-CssClass="datatableHeader" RowStyle-VerticalAlign="Bottom" ShowFooter="True" HeaderStyle-Wrap="true" OnRowDataBound="gwProfit_RowDataBound"> <Columns> <asp:TemplateField HeaderText="Start Date"> <ItemTemplate> <%-- <div class="input-append">--%> <asp:TextBox class="input_disabled" ID="txtStartDate" runat="server" Width="40px" Height="22px"> </asp:TextBox> <button class="btn123" ID="ImgStartDate" runat="server" type="button" style="height:25px;"> <%--<i class="icon-calendar"></i>--%> </button> <%-- </div>--%> <ajaxToolkit:CalendarExtender ID="StartDate" runat="server" TargetControlID="txtStartDate" PopupButtonID="ImgStartDate" Format="dd-MMM-yyyy"> </ajaxToolkit:CalendarExtender> </ItemTemplate> <FooterTemplate> <asp:TextBox class="input_disabled" ID="txtNewStartDate" runat="server" Width="110px" Height="22px"> </asp:TextBox> <button class="btn123" ID="ImgStartDate" runat="server" type="button" style="height:25px;"> <i class="icon-calendar"></i> </button> </div> <ajaxToolkit:CalendarExtender ID="StartDate" runat="server" TargetControlID="txtNewStartDate" PopupButtonID="ImgStartDate" Format="dd-MMM-yyyy"> </ajaxToolkit:CalendarExtender> </FooterTemplate> </asp:TemplateField>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)