<form id="form1" runat="server"> <div> <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:GridView Width="80%" ID="dgLiveAuctionBid" runat="server" onrowdatabound="dgLiveAuctionBid_RowDataBound" AutoGenerateColumns="False" GridLines="Horizontal" RowStyle-BackColor="White" > <Columns> <asp:TemplateField HeaderText="Product" > <ItemTemplate> <asp:Label ID="lblProduct" runat="server" Text='<%#Bind("Product")%>' Font-Bold="true"></asp:Label> <asp:Label ID="lblProductID" Visible="false" runat="server" Text='<%#Bind("AuctionProductID")%>'></asp:Label> </ItemTemplate> <ItemStyle Width="120px" HorizontalAlign="Center" /> </asp:TemplateField> <asp:TemplateField HeaderText="Auction <br /> Timings"> <ItemTemplate> <span></span><asp:Label ID="lblAuctionDate" Visible="True" runat="server" Text='<%#Bind("OnlineAuctionDate") %>' Font-Bold="true"></asp:Label> <br /><span> To </span><br /><asp:Label ID="lblAuctionTime" runat="server" Text='<%#Bind("EndTime") %>' Font-Bold="true"></asp:Label> <br /> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <asp:Label ID="Label1" runat="server"></asp:Label> <asp:Timer ID="Timer3" runat="server" Interval="1000" OnTick="Timer3_Tick"></asp:Timer> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="Timer3" EventName="Tick"/> </Triggers> </asp:UpdatePanel> </ItemTemplate> <ItemStyle Width="190px" HorizontalAlign="Center" /> </asp:TemplateField> </Columns> </asp:GridView> <div class="clear space"> <asp:Timer ID="Timer1" runat="server" Interval="10000" ontick="Timer1_Tick"> </asp:Timer> </div> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick"/> </Triggers> </asp:UpdatePanel> </div> </form>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)