<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div>
        <telerik:RadGrid ID="RadGrid1" Skin="Vista" ShowStatusBar="True" runat="server" Width="95%"
            AutoGenerateColumns="False" AllowSorting="True" AllowPaging="True" GridLines="None">
            <PagerStyle Mode="NumericPages"></PagerStyle>
            <MasterTableView Width="100%" DataKeyNames="CustomerID" AllowMultiColumnSorting="True">
                <NestedViewTemplate>
                    <asp:Label ID="Label1" Text='<%# Eval("CustomerID") %>' Visible="false" runat="server" />
                     <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAdditionalData"
                        TypeName="RadControlsWebApplication9.ServiceReference1.Service1Client">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="Label1" Name="value" PropertyName="Text" Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                    <asp:FormView ID="FormView" runat="server" DataSourceID="ObjectDataSource1" ViewStateMode="Enabled">
                        <ItemTemplate>
                            <asp:Panel ID="NestedViewPanel" runat="server" CssClass="viewWrap" Width="1000px">
                                <telerik:RadTabStrip runat="server" ID="TabStip" MultiPageID="Multipage" SelectedIndex="0"
                                    Skin="WebBlue">
                                    <Tabs>
                                        <telerik:RadTab runat="server" Text="General" PageViewID="General" />
                                        <telerik:RadTab runat="server" Text="Status" PageViewID="Status" />
                                        <telerik:RadTab runat="server" Text="Coverage" PageViewID="Coverage" />
                                        <telerik:RadTab runat="server" Text="Rejection" PageViewID="Rejection" />
                                    </Tabs>
                                </telerik:RadTabStrip>
                                <telerik:RadMultiPage runat="server" ID="Multipage" SelectedIndex="0" RenderSelectedPageOnly="false"
                                    Height="90px">
                                    <telerik:RadPageView runat="server" ID="Genearal">
                                        <table>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;CustomerID:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label0" runat="server" Text='<%# Eval("CustomerID") %>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;CompanyName:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label2" runat="server" Text='<%# Eval("CompanyName") %>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;ContactName:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label3" runat="server" Text='<%# Eval("ContactName") %>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;ContactTitle:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label4" runat="server" Text='<%# Eval("ContactTitle") %>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;Address:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label5" runat="server" Text='<%# Eval("Address") %>' />
                                                </td>
                                            </tr>
                                        </table>
                                    </telerik:RadPageView>
                                    <telerik:RadPageView runat="server" ID="Status">
                                        <table>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;City:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label6" runat="server" Text='<%# Eval("City") %>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;Region:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label7" runat="server" Text='<%# Eval("Region") %>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;PostalCode:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label8" runat="server" Text='<%# Eval("PostalCode") %>' />
                                                </td>
                                            </tr>
                                        </table>
                                    </telerik:RadPageView>
                                    <telerik:RadPageView runat="server" ID="Coverage">
                                        <table>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;Country</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label9" runat="server" Text='<%# Eval("Country") %>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;Phone:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label10" runat="server" Text='<%# Eval("Phone") %>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;Fax:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label11" runat="server" Text='<%# Eval("Fax") %>' />
                                                </td>
                                            </tr>
                                        </table>
                                    </telerik:RadPageView>
                                    <telerik:RadPageView runat="server" ID="Rejection">
                                        <table>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;Report Delivery:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label12" runat="server" Text="Email" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;Indicator:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label13" runat="server" Text="abc" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;Email Recipients:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label14" runat="server" Text="joe@mail.com|jane@mail.com" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;Node Id:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label15" runat="server" Text="1234" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <b>&nbsp; &nbsp;FTP Name:</b>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label16" runat="server" Text="ftp://server.com" />
                                                </td>
                                            </tr>
                                        </table>
                                    </telerik:RadPageView>
                                </telerik:RadMultiPage>
                            </asp:Panel>
                        </ItemTemplate>
                    </asp:FormView>
                   
                </NestedViewTemplate>
                <ExpandCollapseColumn Visible="True">
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridBoundColumn SortExpression="CustomerID" HeaderText="CustomerID" HeaderButtonType="TextButton"
                        DataField="CustomerID" UniqueName="CustomerID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="ContactName" HeaderText="Contact Name" HeaderButtonType="TextButton"
                        DataField="ContactName" UniqueName="ContactName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="CompanyName" HeaderText="Company" HeaderButtonType="TextButton"
                        DataField="CompanyName" UniqueName="CompanyName">
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
            <FilterMenu EnableTheming="True">
                <CollapseAnimation Duration="200" Type="OutQuint" />
            </FilterMenu>
        </telerik:RadGrid>

    </div>
    </form>
</body>
</html>
