<table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0"><br /> <tr><br /> <td rowspan="3" width="100px"><br /> <table id="TreeTable" style="width: 250px; height: 100%" class=""><br /> <tr><br /> <td style="width: 100%" height="100%"><br /> <asp:Timer runat="server" id="Timer1" Interval="10000" OnTick="Timer1_Tick"></asp:Timer><br /> <asp:UpdatePanel runat="server" id="UpdatePanel1" UpdateMode="Conditional"><br /> <br /> <ContentTemplate><br /> <br /> <asp:Label ID="Label2" runat="server" CssClass="tableHeader" Text="Enterprises"<br /> Width="100%" Height="2%" ></asp:Label><br /> <div style="overflow: auto; width: 100%; height: 96%"><br /> <asp:TreeView ID="EntView" runat="server" Height="95%" ImageSet="BulletedList"<br /> ShowExpandCollapse="False" ShowLines="True" Width="100%" <br /> onselectednodechanged="EntView_SelectedNodeChanged"><br /> <ParentNodeStyle Font-Bold="False" /><br /> <HoverNodeStyle Font-Underline="True" ForeColor="#DDD" /><br /> <SelectedNodeStyle Font-Bold="True" Font-Underline="True" ForeColor="#DDD" /><br /> <RootNodeStyle Font-Bold="True" ForeColor="Black" /><br /> <NodeStyle Font-Names="Verdana" Font-Size="10pt" ForeColor="Black" /><br /> </asp:TreeView><br /> </div><br /> <br /> </ContentTemplate><br /> </asp:UpdatePanel><br /> </td><br /> </tr><br /> </table>
Protected void Timer1_Tick(object sender, EventArgs e) { this.UpdatePanel1.Update(); }
<asp:UpdatePanel runat="server" id="UpdatePanel1" UpdateMode="always">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)