| <telerik:RadGrid |
| ID="rgvRepository" |
| runat="server" |
| AllowPaging="True" |
| OnNeedDataSource="rgvRepositoryAccounts_NeedDataSource" |
| OnItemDataBound="rgv_OnItemDataBound" |
| GridLines="None" |
| Skin="Office2007" |
| Width="700px" |
| AllowCustomPaging="False" |
| PageSize="5" |
| AllowSorting="True" |
| ForeColor="Black" |
| AutoGenerateColumns="False"> |
| <MasterTableView TableLayout="Auto"> |
| <RowIndicatorColumn> |
| <HeaderStyle Width="20px" /> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn> |
| <HeaderStyle Width="20px" /> |
| </ExpandCollapseColumn> |
| <HeaderStyle Wrap="true" HorizontalAlign="Center"/> |
| <Columns> |
| <telerik:GridBoundColumn DataField="C06NAME" EmptyDataText="&nbsp;" |
| HeaderText="Name" MaxLength="35" UniqueName="C06NAME" Resizable="true"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="C06ACCT" EmptyDataText="&nbsp;" |
| HeaderText="Account" MaxLength="30" UniqueName="C06ACCT" Resizable="true"> |
| </telerik:GridBoundColumn> |
| <!-- More gridbound coloumns with the same options removed. --> |
| </Columns> |
| </MasterTableView> |
| <ClientSettings |
| AllowColumnHide="false" |
| AllowColumnsReorder="true" |
| ReorderColumnsOnClient="true" |
| ColumnsReorderMethod="Reorder"> |
| <Selecting AllowRowSelect="true" /> |
| <ClientEvents OnRowSelected="SelectAccountRow" |
| OnRowContextMenu="RowClicked" /> |
| <Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" |
| AllowColumnResize="True"></Resizing> |
| <Scrolling AllowScroll="true" /> |
| </ClientSettings> |
| <FilterMenu EnableTheming="True"> |
| <CollapseAnimation Duration="200" Type="OutQuint" /> |
| </FilterMenu> |
| </telerik:RadGrid> |
| <form id="mmaster" defaultbutton="btnOK" runat="server"> |
| <asp:ScriptManager ID="ScriptManager1" runat="server" /> |
| <div class="PageTitle"> |
| <asp:Label CssClass="TextPadl" Font-Bold="true" Height="25px" ID="lblPageTitle" runat="server" Text=""></asp:Label> |
| <br /> |
| <asp:Label CssClass="TextPadl" runat="server" ForeColor="red" ID="lblError" ></asp:Label> |
| </div> |
| <div id="sidemenudiv" runat="server" class="mLeftMenu"> |
| <asp:Label CssClass="mLeftMenuL" ID="lblSystem" runat="server"> |
| </asp:Label> |
| <br /> |
| <br /> |
| <br /> |
| <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server" > |
| </asp:ContentPlaceHolder> |
| <UserControl:TreeViewControl ID="TreeViewControl" runat="server" /> |
| </div> |
| <div class="Buttons" > |
| <asp:Button ID="btnOK" runat="server" CssClass="Button" /> |
| <asp:Button ID="btnCancel" runat="server" CssClass="Button" CausesValidation="false" /> |
| <asp:Button ID="btnApply" runat="server" CssClass="Button" /> |
| <asp:Button ID="btnClear" runat="server" CssClass="Button" /> |
| <br/> <br/> |
| </div> |
| <div id="msDiv" runat="server" class="ContentHolder"> |
| <div id="DebtorRow" runat="server" style="position:relative; left:30px; top:10px; width:300px;"> |
| <asp:Label ID="lblDCode" Width="70px" Font-Bold="true" ForeColor="blue" runat="server" ></asp:Label> |
| <asp:Label ID="lblDCodeVal" runat="server" ></asp:Label> |
| </div> |
| <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> |
| </asp:ContentPlaceHolder> |
| </div> |
GridFooterItem footerItem = e.Item as GridFooterItem;
footerItem[
"person"].Controls.Add(new LiteralControl("<strong>Total</strong><br/>"));
<telerik:RadGrid ID="rgAfftAdd" runat="server" AutoGenerateColumns="False"
GridLines="None" Skin="WebBlue" Width="100%" BorderStyle="Solid"
BorderColor="#3399FF" BorderWidth="1px"
AllowMultiRowSelection="True" AllowSorting="True"
onprerender="rgAfftAdd_PreRender">
<SelectedItemStyle BackColor="#99CCFF" />
<ClientSettings>
<Selecting AllowRowSelect="true" />
<Scrolling AllowScroll="True" UseStaticHeaders="true"></Scrolling>
</ClientSettings>
<MasterTableView Font-Bold="False" Font-Italic="False" Font-Overline="False"
Font-Strikeout="False" Font-Underline="False" PageSize="2000"
ClientDataKeyNames="TYPE, START_TIME, ADDR, SP_CUST, REC_NO, lid, ln_sub_no"
Width="98%" AllowMultiColumnSorting="True">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="TYPE" HeaderText="Type" UniqueName="TYPE">
<HeaderStyle Width="12%" />
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="START_TIME" DataType="System.DateTime"
HeaderText="Start Time" UniqueName="START_TIME"
DataFormatString="{0:dd/MM/yyyy HH:mm:ss}">
<HeaderStyle Width="14%" />
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="ADDR" HeaderText="Address" UniqueName="ADDR">
<HeaderStyle Width="59%" />
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="SP_CUST" HeaderText="Sp. Cust."
UniqueName="SP_CUST" Aggregate="Count" ReadOnly="True">
<HeaderStyle Width="15px" />
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="REC_NO" HeaderText="Rec_No" UniqueName="REC_NO" Visible = "false">
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="lid" UniqueName="lid" Visible = "false" >
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="ln_sub_no" UniqueName="ln_sub_no" Visible = "false">
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
</Columns>
<PagerStyle Mode="NextPrevNumericAndAdvanced" />
<HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
Font-Strikeout="False" Font-Underline="False" ForeColor="Black" Wrap="True" />
</MasterTableView>
<FilterMenu EnableTheming="True" Skin="WebBlue">
<CollapseAnimation Duration="200" Type="OutQuint" />
</FilterMenu>
</telerik:RadGrid>
<telerik:RadGrid ID="rgAfftAdd" runat="server" AutoGenerateColumns="False"
GridLines="None" Skin="WebBlue" Width="100%" BorderStyle="Solid"
BorderColor="#3399FF" BorderWidth="1px"
AllowMultiRowSelection="True" AllowSorting="True"
onprerender="rgAfftAdd_PreRender">
<SelectedItemStyle BackColor="#99CCFF" />
<ClientSettings>
<Selecting AllowRowSelect="true" />
<Scrolling AllowScroll="True" UseStaticHeaders="true"></Scrolling>
</ClientSettings>
<MasterTableView Font-Bold="False" Font-Italic="False" Font-Overline="False"
Font-Strikeout="False" Font-Underline="False" PageSize="2000"
ClientDataKeyNames="TYPE, START_TIME, ADDR, SP_CUST, REC_NO, lid, ln_sub_no"
Width="98%" AllowMultiColumnSorting="True">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="TYPE" HeaderText="Type" UniqueName="TYPE">
<HeaderStyle Width="12%" />
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="START_TIME" DataType="System.DateTime"
HeaderText="Start Time" UniqueName="START_TIME"
DataFormatString="{0:dd/MM/yyyy HH:mm:ss}">
<HeaderStyle Width="14%" />
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="ADDR" HeaderText="Address" UniqueName="ADDR">
<HeaderStyle Width="59%" />
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="SP_CUST" HeaderText="Sp. Cust."
UniqueName="SP_CUST" Aggregate="Count" ReadOnly="True">
<HeaderStyle Width="15px" />
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="REC_NO" HeaderText="Rec_No" UniqueName="REC_NO" Visible = "false">
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="lid" UniqueName="lid" Visible = "false" >
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="ln_sub_no" UniqueName="ln_sub_no" Visible = "false">
<ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
</Columns>
<PagerStyle Mode="NextPrevNumericAndAdvanced" />
<HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
Font-Strikeout="False" Font-Underline="False" ForeColor="Black" Wrap="True" />
</MasterTableView>
<FilterMenu EnableTheming="True" Skin="WebBlue">
<CollapseAnimation Duration="200" Type="OutQuint" />
</FilterMenu>
</telerik:RadGrid>
