<%@ page language="C#" autoeventwireup="true" inherits="Forms_PartnerHome, App_Web_3ejnptky" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/New_Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/New_Footer.ascx" TagName="Footer" TagPrefix="uc2" %>

<%--<%@ Register Assembly="DevExpress.Web.ASPxGridView.v8.2, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.v8.2, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dxpc" %>
<%@ Register Assembly="DevExpress.Web.v8.2, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxMenu" TagPrefix="dxm" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v8.2" Namespace="DevExpress.Web.ASPxEditors"
    TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.XtraCharts.v8.2.Web, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.XtraCharts.Web" TagPrefix="dxchartsui" %>
<%@ Register Assembly="DevExpress.XtraCharts.v8.2, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.XtraCharts" TagPrefix="cc1" %>
<%@ Register Assembly="DevExpress.XtraCharts.v8.2" Namespace="DevExpress.XtraCharts"
    TagPrefix="cc2" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v8.2.Export" Namespace="DevExpress.Web.ASPxGridView.Export"
    TagPrefix="exp" %>--%>

<%@ Register Assembly="DevExpress.Web.v14.2" Namespace="DevExpress.Web" TagPrefix="dxw" %>

<!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 id="Head1" runat="server">
    <title>tSense-IoT Partner Home</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Page-Enter" content="blendTrans(Duration=0)" />
    <meta http-equiv="Page-Exit" content="blendTrans(Duration=0)" />
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <link href="../css/reset.css" rel="stylesheet" type="text/css" />
    <link href="../css/stylesheet2.css" rel="stylesheet" type="text/css" />
    <link href="../css/dropdown.css" rel="stylesheet" type="text/css" />
    <link href="../css/AnimSheet.css" rel="stylesheet" type="text/css" />
    <link rel="SHORTCUT ICON" href="../images/favicon.ico" />
    <script src="../js/wow.min.js"></script>
</head>
<body>
    <div id="container">
        <form id="form1" runat="server">
            <div>
                <asp:ScriptManager ID="ScriptManager1" runat="server" />
            </div>
            <!-- Header Starts Here -->
            <uc1:Header ID="ucHeader" runat="server" />
            <!-- Nav Ends Here -->
            <!-- Content Starts Here -->
            <div id="outer">
                <div id="inner">
                    <div id="float-wrap">
                        <!-- Main Content Starts Here -->
                        <div id="content">
                            <div class="content-wrap">
                                <div id="top-content">
                                    <div id="heading">
                                        <img class="icon" src="../images/dashboard-icon.jpg" alt="" />
                                        <h1>Home</h1>
                                        <%--<a href="Dashboard.aspx">Home</a>--%>
                                        <asp:LinkButton ID="homeCaption" runat="server" Text="Home" PostBackUrl="~/Forms/PartnerHome.aspx"></asp:LinkButton>
                                    </div>
                                    <div id="control-box">
                                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                            <ContentTemplate>
                                                <table border="0" cellpadding="0" cellspacing="0" id="control-tbl">
                                                    <tr>
                                                        <td>&nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>&nbsp;&nbsp;
                                                        </td>
                                                        <td></td>
                                                    </tr>
                                                </table>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </div>
                                    <div class="clear clearfix">
                                    </div>
                                </div>
                                <div class="clear clearfix">
                                </div>
                                <asp:UpdatePanel ID="updPanel" runat="server">
                                    <ContentTemplate>
                                        <div class="form-box">
                                            <h1>
                                                <span class="icon">
                                                    <%-- <img src="../images/Manage News.png" alt="" />--%>
                                                </span>
                                                <asp:Label ID="lblorgDetails" runat="server" Text="Partner Organization Details"></asp:Label></h1>
                                        </div>
                                        <div id="grid-dsply">

                                            <dxw:ASPxGridView ID="gvOrgDetails" ClientInstanceName="gvOrgDetails" KeyFieldName="OrganizationId"
                                                runat="server" CssFilePath="~/App_Themes/Office2003 Blue/{0}/grid.css" CssPostfix="Office2003_Blue"
                                                Width="100%" AutoGenerateColumns="False">
                                                <Settings ShowVerticalScrollBar="true" />
                                                <Images ImageFolder="~/App_Themes/Office2003 Blue/{0}/">
                                                    <CollapsedButton Height="12px" Url="~/App_Themes/Office2  003 Blue/GridView/gvCollapsedButton.png"
                                                        Width="11px" />
                                                    <ExpandedButton Height="12px" Url="~/App_Themes/Office2003 Blue/GridView/gvExpandedButton.png"
                                                        Width="11px" />
                                                    <DetailCollapsedButton Height="12px" Url="~/App_Themes/Office2003 Blue/GridView/gvCollapsedButton.png"
                                                        Width="11px" />
                                                    <DetailExpandedButton Height="12px" Url="~/App_Themes/Office2003 Blue/GridView/gvExpandedButton.png"
                                                        Width="11px" />
                                                </Images>
                                                <Styles AlternatingRow-Enabled="True" CssFilePath="~/App_Themes/Office2003 Blue/{0}/grid.css"
                                                    CssPostfix="Office2003_Blue">
                                                    <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                                    </Header>
                                                    <LoadingPanel ImageSpacing="10px">
                                                    </LoadingPanel>
                                                    <PagerBottomPanel CssClass="PageFooter">
                                                    </PagerBottomPanel>
                                                    <PagerTopPanel CssClass="PageFooter">
                                                    </PagerTopPanel>
                                                </Styles>
                                                <SettingsPager PrevPageButton-Image-Url="../App_Themes/Office2003 Blue/GridView/pPrev.gif"
                                                    PrevPageButton-Image-UrlDisabled="../App_Themes/Office2003 Blue/GridView/pPrevDisabled.gif"
                                                    NextPageButton-Image-UrlDisabled="../App_Themes/Office2003 Blue/GridView/pNextDisabled.gif"
                                                    NextPageButton-Image-Url="../App_Themes/Office2003 Blue/GridView/pNext.gif" Visible="false" AlwaysShowPager="false">
                                                </SettingsPager>
                                                <Columns>

                                                    <dxw:GridViewDataTextColumn Caption="Link" Width="44%" HeaderStyle-HorizontalAlign="Center"
                                                        Name="Link">
                                                        <HeaderTemplate>
                                                            <div align="center">
                                                                <span class="icon">
                                                                    <img src="../images/icn-organization-name.gif" align="top" alt="" style="padding-bottom: 5px" /></span>
                                                                <asp:Label ID="lblOrgName" Text="Organization Name" runat="server"></asp:Label>
                                                            </div>
                                                        </HeaderTemplate>
                                                        <DataItemTemplate>
                                                            <asp:LinkButton ID="ibtorgName" runat="server" CommandArgument='<%# Eval("OrganizationID").ToString() %>'
                                                                AlternateText="GoTo" Text='<%# Eval("OrganizationName").ToString() %>' OnClick="ibtorgName_click"
                                                                ToolTip="Click here to Go" ForeColor="Blue" CssClass="handButton" />
                                                        </DataItemTemplate>
                                                    </dxw:GridViewDataTextColumn>
                                                    <dxw:GridViewDataColumn Caption="Organization Display Name" Width="36%" FieldName="OrganizationDisplayName"
                                                        CellStyle-Wrap="True">
                                                        <HeaderCaptionTemplate>
                                                            <span class="icon" style="padding-top: 5px">
                                                                <img src="../images/icn-org-display-name.gif" alt="" /></span>
                                                            <asp:Label ID="lblDisplayName" runat="server" Text="Display Name"></asp:Label>
                                                        </HeaderCaptionTemplate>
                                                    </dxw:GridViewDataColumn>
                                                    <dxw:GridViewDataColumn Caption="NoOfVehicles" Width="10%" FieldName="NoOfVehicles" CellStyle-HorizontalAlign="Center">
                                                        <HeaderCaptionTemplate>
                                                            <div align="center">
                                                                <span class="icon">
                                                                    <img src="../images/icn-num-of-vehicles.gif" align="top" alt="" style="padding-bottom: 5px" /></span>
                                                                <asp:Label ID="lblOrgName" Text="No.ofVehicles" runat="server"></asp:Label>
                                                            </div>
                                                        </HeaderCaptionTemplate>
                                                    </dxw:GridViewDataColumn>
                                                </Columns>
                                                <ClientSideEvents EndCallback="function(s, e) {document.getElementById('btnTest').click();}" />
                                                <Settings ShowStatusBar="Auto" ShowFilterRow="true" ShowGroupPanel="false" />
                                                <SettingsText EmptyDataRow="No data available" />
                                                <SettingsBehavior ColumnResizeMode="NextColumn" AllowSort="true" AllowDragDrop="true"
                                                    AllowGroup="true" AllowFocusedRow="false" />
                                                <Settings ShowVerticalScrollBar="true" VerticalScrollableHeight="400" />
                                                <SettingsPager PageSize="500" AlwaysShowPager="false">
                                                </SettingsPager>
                                            </dxw:ASPxGridView>
                                        </div>

                                        <asp:Button ID="btnTest" Text="Test" CssClass="ControlHide" runat="server" OnClick="btnTest_Click" />
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:PostBackTrigger ControlID="btnTest" />
                                    </Triggers>
                                </asp:UpdatePanel>
                                <asp:UpdateProgress ID="uprDataLoading" runat="server" DynamicLayout="True" AssociatedUpdatePanelID="updPanel">
                                    <ProgressTemplate>
                                        <asp:Panel ID="pnlProgress" runat="server" CssClass="processMessage" Style="z-index: 1000;">
                                            <center>
                                                <br />
                                                <img alt="Please Wait ..." src="../images/47.gif" /><br />
                                                <br />
                                                <asp:Label ID="lbl_msg12" Text="Processing... Please Wait..." runat="server" CssClass="specialdisplay"></asp:Label>
                                                <br />
                                                <br />
                                            </center>
                                        </asp:Panel>
                                    </ProgressTemplate>
                                </asp:UpdateProgress>
                            </div>
                        </div>
                    </div>
                    <!-- Main Content Ends Here -->

                    <!-- Progress Bar Ends Here -->
                    <div id="left">
                    </div>
                    <div class="clear clearfix">
                    </div>
                </div>
                <div id="right">
                </div>
                <div class="clear clearfix">
                </div>
            </div>

        </form>
    </div>
    <!-- Content Ends Here -->
    <uc2:Footer ID="ucFooter" runat="server" />
</body>

</html>

