<%@ Page Title="" Language="C#" MasterPageFile="~/Application.Master" AutoEventWireup="true" CodeBehind="DataLog.aspx.cs" Inherits="ICDAS_3_0_Web_App.ICDAS_3_0.Data_Log_Analysis.DataLog" %>

<%@ Register Src="~/User_Controls/ucUserValidation.ascx" TagPrefix="uc1" TagName="ucUserValidation" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function checkDate(sender, args) {
            if (sender._selectedDate > new Date()) {
                alert("You cannot select a future date than today!");
                sender._selectedDate = new Date();
                // set the date back to the current date
                sender._textbox.set_Value(sender._selectedDate.format(sender._format))
            }
        }
    </script>

    <style type="text/css">
        body {
            margin: 0;
            padding: 0;
            font-family: Arial;
        }

        .loadingmodal {
            position: fixed;
            z-index: 999 !important;
            height: 100%;
            width: 100%;
            top: 0;
            background-color: white;
            filter: alpha(opacity=60);
            opacity: 0.8;
            -moz-opacity: 1;
        }

        .loadingcenter {
            z-index: 1000 !important;
            width: 200px;
            height: 100px;
            position: absolute;
            left: 45%;
            top: 60%;
            margin-left: -150px;
            margin-top: -150px;
            opacity: 1;
            /*-moz-opacity: 1;*/
            background: url("Images/loading.gif") no-repeat;
        }
    </style>


</asp:Content>
<asp:Content ID="cotMain" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upnlwzDataLog">
        <ProgressTemplate>
            <div class="loadingmodal">
                <div class="loadingcenter">
                </div>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="upnlwzDataLog" UpdateMode="Always" runat="server">
        <ContentTemplate>
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="x_panel">
                        <div class="x_content">
                            <asp:HiddenField runat="server" ID="hdncomments" Value="" />
                            <div class="x_title">
                                <h4>
                                    <asp:Label ID="lblFormTitle" runat="server"></asp:Label></h4>
                                <div class="clearfix"></div>
                            </div>
                            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                                <asp:Panel runat="server" ID="dtLogPnl" Visible="true">
                                    <div class="row">
                                        <div class="col-xs-12 col-sm-12 col-lg-6">
                                            <div class="input-group">
                                                <span class="input-group-addon">Equipment&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                <asp:DropDownList runat="server" ID="ddlEquipment" OnSelectedIndexChanged="ddlEquipment_SelectedIndexChanged" AutoPostBack="true" CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>
                                    <div runat="server" id="NoDataLog" visible="false">
                                        <h4 runat="server" id="noDatalogMsg" style="color: green; margin: 60px 250px; font-size: x-large; font-family: 'Sitka Text'"></h4>
                                    </div>
                                    <div runat="server" id="dvDataLog">
                                        <div class="row">
                                            <div class="col-xs-12 col-sm-12 col-lg-3">
                                                <div class="input-group ">
                                                    <span class="input-group-addon">From Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                    <asp:TextBox runat="server" ID="txtFromDate" CssClass="form-control"></asp:TextBox>
                                                    <ajaxToolkit:CalendarExtender ID="calFromDate" runat="server" Format="dd-MM-yyyy" OnClientDateSelectionChanged="checkDate" TargetControlID="txtFromDate" />
                                                </div>
                                            </div>
                                            <div class="col-xs-7 col-sm-6 col-lg-2">
                                                <div class="input-group ">
                                                    <span class="input-group-addon">Time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                    <asp:DropDownList runat="server" CssClass="form-control" ID="ddlFromHours" Width="75px">
                                                        <asp:ListItem Value="00" Selected="True">00</asp:ListItem>
                                                        <asp:ListItem Value="01">01</asp:ListItem>
                                                        <asp:ListItem Value="02">02</asp:ListItem>
                                                        <asp:ListItem Value="03">03</asp:ListItem>
                                                        <asp:ListItem Value="04">04</asp:ListItem>
                                                        <asp:ListItem Value="05">05</asp:ListItem>
                                                        <asp:ListItem Value="06">06</asp:ListItem>
                                                        <asp:ListItem Value="07">07</asp:ListItem>
                                                        <asp:ListItem Value="08">08</asp:ListItem>
                                                        <asp:ListItem Value="09">09</asp:ListItem>
                                                        <asp:ListItem Value="10">10</asp:ListItem>
                                                        <asp:ListItem Value="11">11</asp:ListItem>
                                                        <asp:ListItem Value="12">12</asp:ListItem>
                                                        <asp:ListItem Value="13">13</asp:ListItem>
                                                        <asp:ListItem Value="14">14</asp:ListItem>
                                                        <asp:ListItem Value="15">15</asp:ListItem>
                                                        <asp:ListItem Value="16">16</asp:ListItem>
                                                        <asp:ListItem Value="17">17</asp:ListItem>
                                                        <asp:ListItem Value="18">18</asp:ListItem>
                                                        <asp:ListItem Value="19">19</asp:ListItem>
                                                        <asp:ListItem Value="20">20</asp:ListItem>
                                                        <asp:ListItem Value="21">21</asp:ListItem>
                                                        <asp:ListItem Value="22">22</asp:ListItem>
                                                        <asp:ListItem Value="23">23</asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="col-xs-5 col-sm-6 col-lg-2">
                                                <asp:DropDownList runat="server" CssClass="form-control" ID="ddlFromMins" Width="75px">
                                                    <asp:ListItem Value="00" Selected="True">00</asp:ListItem>
                                                    <asp:ListItem Value="01">01</asp:ListItem>
                                                    <asp:ListItem Value="02">02</asp:ListItem>
                                                    <asp:ListItem Value="03">03</asp:ListItem>
                                                    <asp:ListItem Value="04">04</asp:ListItem>
                                                    <asp:ListItem Value="05">05</asp:ListItem>
                                                    <asp:ListItem Value="06">06</asp:ListItem>
                                                    <asp:ListItem Value="07">07</asp:ListItem>
                                                    <asp:ListItem Value="08">08</asp:ListItem>
                                                    <asp:ListItem Value="09">09</asp:ListItem>
                                                    <asp:ListItem Value="10">10</asp:ListItem>
                                                    <asp:ListItem Value="11">11</asp:ListItem>
                                                    <asp:ListItem Value="12">12</asp:ListItem>
                                                    <asp:ListItem Value="13">13</asp:ListItem>
                                                    <asp:ListItem Value="14">14</asp:ListItem>
                                                    <asp:ListItem Value="15">15</asp:ListItem>
                                                    <asp:ListItem Value="16">16</asp:ListItem>
                                                    <asp:ListItem Value="17">17</asp:ListItem>
                                                    <asp:ListItem Value="18">18</asp:ListItem>
                                                    <asp:ListItem Value="19">19</asp:ListItem>
                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                    <asp:ListItem Value="21">21</asp:ListItem>
                                                    <asp:ListItem Value="22">22</asp:ListItem>
                                                    <asp:ListItem Value="23">23</asp:ListItem>
                                                    <asp:ListItem Value="24">24</asp:ListItem>
                                                    <asp:ListItem Value="25">25</asp:ListItem>
                                                    <asp:ListItem Value="26">26</asp:ListItem>
                                                    <asp:ListItem Value="27">27</asp:ListItem>
                                                    <asp:ListItem Value="28">28</asp:ListItem>
                                                    <asp:ListItem Value="29">29</asp:ListItem>
                                                    <asp:ListItem Value="30">30</asp:ListItem>
                                                    <asp:ListItem Value="31">31</asp:ListItem>
                                                    <asp:ListItem Value="32">32</asp:ListItem>
                                                    <asp:ListItem Value="33">33</asp:ListItem>
                                                    <asp:ListItem Value="34">34</asp:ListItem>
                                                    <asp:ListItem Value="35">35</asp:ListItem>
                                                    <asp:ListItem Value="36">36</asp:ListItem>
                                                    <asp:ListItem Value="37">37</asp:ListItem>
                                                    <asp:ListItem Value="38">38</asp:ListItem>
                                                    <asp:ListItem Value="39">39</asp:ListItem>
                                                    <asp:ListItem Value="40">40</asp:ListItem>
                                                    <asp:ListItem Value="41">41</asp:ListItem>
                                                    <asp:ListItem Value="42">42</asp:ListItem>
                                                    <asp:ListItem Value="43">43</asp:ListItem>
                                                    <asp:ListItem Value="44">44</asp:ListItem>
                                                    <asp:ListItem Value="45">45</asp:ListItem>
                                                    <asp:ListItem Value="46">46</asp:ListItem>
                                                    <asp:ListItem Value="47">47</asp:ListItem>
                                                    <asp:ListItem Value="48">48</asp:ListItem>
                                                    <asp:ListItem Value="49">49</asp:ListItem>
                                                    <asp:ListItem Value="50">50</asp:ListItem>
                                                    <asp:ListItem Value="51">51</asp:ListItem>
                                                    <asp:ListItem Value="52">52</asp:ListItem>
                                                    <asp:ListItem Value="53">53</asp:ListItem>
                                                    <asp:ListItem Value="54">54</asp:ListItem>
                                                    <asp:ListItem Value="55">55</asp:ListItem>
                                                    <asp:ListItem Value="56">56</asp:ListItem>
                                                    <asp:ListItem Value="57">57</asp:ListItem>
                                                    <asp:ListItem Value="58">58</asp:ListItem>
                                                    <asp:ListItem Value="59">59</asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12 col-sm-12 col-lg-3">
                                                <div class="input-group">
                                                    <span class="input-group-addon">To Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                    <asp:TextBox runat="server" ID="txtTodate" CssClass="form-control"></asp:TextBox>
                                                    <ajaxToolkit:CalendarExtender ID="calToDate" runat="server" OnClientDateSelectionChanged="checkDate" Format="dd-MM-yyyy" TargetControlID="txtTodate" />
                                                </div>
                                            </div>
                                            <div class="col-xs-7 col-sm-6 col-lg-2">
                                                <div class="input-group">
                                                    <span class="input-group-addon">Time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                    <asp:DropDownList runat="server" CssClass="form-control" ID="ddlToHrs" Width="75px">
                                                        <asp:ListItem Value="00">00</asp:ListItem>
                                                        <asp:ListItem Value="01">01</asp:ListItem>
                                                        <asp:ListItem Value="02">02</asp:ListItem>
                                                        <asp:ListItem Value="03">03</asp:ListItem>
                                                        <asp:ListItem Value="04">04</asp:ListItem>
                                                        <asp:ListItem Value="05">05</asp:ListItem>
                                                        <asp:ListItem Value="06">06</asp:ListItem>
                                                        <asp:ListItem Value="07">07</asp:ListItem>
                                                        <asp:ListItem Value="08">08</asp:ListItem>
                                                        <asp:ListItem Value="09">09</asp:ListItem>
                                                        <asp:ListItem Value="10">10</asp:ListItem>
                                                        <asp:ListItem Value="11">11</asp:ListItem>
                                                        <asp:ListItem Value="12">12</asp:ListItem>
                                                        <asp:ListItem Value="13">13</asp:ListItem>
                                                        <asp:ListItem Value="14">14</asp:ListItem>
                                                        <asp:ListItem Value="15">15</asp:ListItem>
                                                        <asp:ListItem Value="16">16</asp:ListItem>
                                                        <asp:ListItem Value="17">17</asp:ListItem>
                                                        <asp:ListItem Value="18">18</asp:ListItem>
                                                        <asp:ListItem Value="19">19</asp:ListItem>
                                                        <asp:ListItem Value="20">20</asp:ListItem>
                                                        <asp:ListItem Value="21">21</asp:ListItem>
                                                        <asp:ListItem Value="22">22</asp:ListItem>
                                                        <asp:ListItem Value="23" Selected="True">23</asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="col-xs-5 col-sm-6 col-lg-2">
                                                <asp:DropDownList runat="server" CssClass="form-control" ID="ddlToMins" Width="75px">
                                                    <asp:ListItem Value="00">00</asp:ListItem>
                                                    <asp:ListItem Value="01">01</asp:ListItem>
                                                    <asp:ListItem Value="02">02</asp:ListItem>
                                                    <asp:ListItem Value="03">03</asp:ListItem>
                                                    <asp:ListItem Value="04">04</asp:ListItem>
                                                    <asp:ListItem Value="05">05</asp:ListItem>
                                                    <asp:ListItem Value="06">06</asp:ListItem>
                                                    <asp:ListItem Value="07">07</asp:ListItem>
                                                    <asp:ListItem Value="08">08</asp:ListItem>
                                                    <asp:ListItem Value="09">09</asp:ListItem>
                                                    <asp:ListItem Value="10">10</asp:ListItem>
                                                    <asp:ListItem Value="11">11</asp:ListItem>
                                                    <asp:ListItem Value="12">12</asp:ListItem>
                                                    <asp:ListItem Value="13">13</asp:ListItem>
                                                    <asp:ListItem Value="14">14</asp:ListItem>
                                                    <asp:ListItem Value="15">15</asp:ListItem>
                                                    <asp:ListItem Value="16">16</asp:ListItem>
                                                    <asp:ListItem Value="17">17</asp:ListItem>
                                                    <asp:ListItem Value="18">18</asp:ListItem>
                                                    <asp:ListItem Value="19">19</asp:ListItem>
                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                    <asp:ListItem Value="21">21</asp:ListItem>
                                                    <asp:ListItem Value="22">22</asp:ListItem>
                                                    <asp:ListItem Value="23">23</asp:ListItem>
                                                    <asp:ListItem Value="24">24</asp:ListItem>
                                                    <asp:ListItem Value="25">25</asp:ListItem>
                                                    <asp:ListItem Value="26">26</asp:ListItem>
                                                    <asp:ListItem Value="27">27</asp:ListItem>
                                                    <asp:ListItem Value="28">28</asp:ListItem>
                                                    <asp:ListItem Value="29">29</asp:ListItem>
                                                    <asp:ListItem Value="30">30</asp:ListItem>
                                                    <asp:ListItem Value="31">31</asp:ListItem>
                                                    <asp:ListItem Value="32">32</asp:ListItem>
                                                    <asp:ListItem Value="33">33</asp:ListItem>
                                                    <asp:ListItem Value="34">34</asp:ListItem>
                                                    <asp:ListItem Value="35">35</asp:ListItem>
                                                    <asp:ListItem Value="36">36</asp:ListItem>
                                                    <asp:ListItem Value="37">37</asp:ListItem>
                                                    <asp:ListItem Value="38">38</asp:ListItem>
                                                    <asp:ListItem Value="39">39</asp:ListItem>
                                                    <asp:ListItem Value="40">40</asp:ListItem>
                                                    <asp:ListItem Value="41">41</asp:ListItem>
                                                    <asp:ListItem Value="42">42</asp:ListItem>
                                                    <asp:ListItem Value="43">43</asp:ListItem>
                                                    <asp:ListItem Value="44">44</asp:ListItem>
                                                    <asp:ListItem Value="45">45</asp:ListItem>
                                                    <asp:ListItem Value="46">46</asp:ListItem>
                                                    <asp:ListItem Value="47">47</asp:ListItem>
                                                    <asp:ListItem Value="48">48</asp:ListItem>
                                                    <asp:ListItem Value="49">49</asp:ListItem>
                                                    <asp:ListItem Value="50">50</asp:ListItem>
                                                    <asp:ListItem Value="51">51</asp:ListItem>
                                                    <asp:ListItem Value="52">52</asp:ListItem>
                                                    <asp:ListItem Value="53">53</asp:ListItem>
                                                    <asp:ListItem Value="54">54</asp:ListItem>
                                                    <asp:ListItem Value="55">55</asp:ListItem>
                                                    <asp:ListItem Value="56">56</asp:ListItem>
                                                    <asp:ListItem Value="57">57</asp:ListItem>
                                                    <asp:ListItem Value="58">58</asp:ListItem>
                                                    <asp:ListItem Value="59" Selected="True">59</asp:ListItem>
                                                </asp:DropDownList>
                                                <%--</div>--%>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-4">
                                                <div class="input-group">
                                                    <asp:Label ID="lblDuration" runat="server" Text="Ploting Duration" CssClass="input-group-addon"></asp:Label>
                                                    <asp:DropDownList runat="server" ID="ddlDuration" CssClass="form-control">
                                                        <asp:ListItem Value="01">01</asp:ListItem>
                                                        <asp:ListItem Value="05" Selected="True">05</asp:ListItem>
                                                        <asp:ListItem Value="10">10</asp:ListItem>
                                                        <asp:ListItem Value="15">15</asp:ListItem>
                                                        <asp:ListItem Value="20">20</asp:ListItem>
                                                        <asp:ListItem Value="30">30</asp:ListItem>
                                                        <asp:ListItem Value="60">60</asp:ListItem>
                                                        <asp:ListItem Value="120">120</asp:ListItem>
                                                        <asp:ListItem Value="240">240</asp:ListItem>
                                                        <asp:ListItem Value="360">360</asp:ListItem>
                                                        <asp:ListItem Value="480">480</asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-7">
                                                (Minutes)
                                                <label style="margin: 9px; color: red">If Date Diff. is more,then Please Use max. Ploting duration</label>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12 col-sm-12 col-lg-4">
                                                <div class="input-group" runat="server" id="dvParameterType">
                                                    <asp:Label ID="Label1" runat="server" Text="Parameter Type" CssClass="input-group-addon"></asp:Label>
                                                    <asp:DropDownList runat="server" ID="ddlParameterType" CssClass="form-control">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12 col-sm-12 col-lg-4">
                                                <div class="input-group">
                                                    <span class="input-group-addon">Report Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                    <asp:DropDownList runat="server" ID="ddlReportType" CssClass="form-control">
                                                        <asp:ListItem Value="0" Selected="True">DataLog</asp:ListItem>
                                                        <asp:ListItem Value="1">Data Log Summary</asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-6 text-right alignright">
                                                    <asp:Button runat="server" ID="btnPrint" Text="View Report" ToolTip="VIEW REPORT" OnClick="btnPrint_Click" formvalidate="true" CausesValidation="false" formnovalidate="true" Style="float: right" CssClass="btn btn-primary btn-success btn-sm " />
                                                    <asp:Button runat="server" ID="btnGraph" Text="View Graph" ToolTip="VIEW GRAPH" OnClick="btnGraph_Click" Style="float: right" CssClass="btn btn-primary btn-success btn-sm " />

                                                </div>
                                            </div>
                                            <div id="dvValidation" runat="server" visible="false">
                                                <div class="row">
                                                    <div class="col-xs-12 col-sm-12 col-lg-4">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Username*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                            <asp:TextBox ID="txtUsername" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off" required ReadOnly="true" />
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-12 col-sm-12 col-lg-4">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Password*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                            <asp:TextBox ID="txtPassword" TextMode="Password" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off" required />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12 col-sm-12 col-lg-8">
                                                        <div class="input-group">
                                                            <span class="input-group-addon">Comments*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                            <%--<asp:TextBox ID="txtComments1" MaxLength="255" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off" TextMode="MultiLine" required
                                                                placeholder="Give Your Comments.." />--%>
                                                            <textarea id="txtComments" maxlength ="255" runat ="server" class="form-control"  autocomplete="off" cols ="20" rows ="2" 
                                                                 placeholder="Give Your Comments.. (max length 255)" ></textarea>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12 col-sm-12 col-lg-12" style="text-align: right;">
                                                        <asp:Button runat="server" ID="btnSave" Text="Save" ToolTip="SAVE" OnClick="btnSave_Click" CssClass="btn btn-primary btn-success btn-sm " />
                                                    </div>
                                                </div>
                                            </div>
                                            <%--<div class="row">
                                                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                                                    <uc1:ucUserValidation runat="server" ID="ucUserValidation" />
                                                </div>
                                            </div>--%>
                                        </div>
                                    </div>
                                </asp:Panel>
                                <asp:Panel runat="server" ID="pnlGraph" Width="100%" Visible="false">

                                    <div class="row">
                                        <div class="col-xs-12 col-sm-12 col-lg-1">
                                            <div class="input-group col-middle">
                                                <asp:CheckBoxList CssClass="col-middle" ID="chkHeader" runat="server">
                                                    <asp:ListItem Text="Header" Value="1" Selected="True"></asp:ListItem>
                                                </asp:CheckBoxList>
                                            </div>
                                        </div>
                                        <div class="col-xs-6 col-sm-6 col-lg-2">
                                            <div class="input-group col-lg-10">
                                                <span class="input-group-addon">LL</span>
                                                <asp:TextBox runat="server" ID="txtLowerLimit" CssClass="form-control" TextMode="Number"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="col-xs-6 col-sm-6 col-lg-2">
                                            <div class="input-group col-lg-10">
                                                <span class="input-group-addon">UL</span>
                                                <asp:TextBox runat="server" ID="txtUpperLimit" CssClass="form-control" TextMode="Number"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="col-xs-6 col-sm-6 col-lg-3">
                                            <div class="input-group col-lg-9">
                                                <span class="input-group-addon">Axis</span>
                                                <asp:DropDownList runat="server" CssClass="form-control" ID="ddlAxis">
                                                    <asp:ListItem Text="Primary" Value="0"></asp:ListItem>
                                                    <asp:ListItem Text="Secondary" Value="1"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="col-xs-12 col-sm-12 col-lg-2"></div>
                                        <div class="col-xs-12 col-sm-12 col-lg-3 text-right alignright">
                                            <asp:Button runat="server" ID="btnRefresh" CssClass="btn btn-primary btn-success btn-md" OnClick="btnRefresh_Click" Text="Refresh" ToolTip="Refresh" />
                                            <asp:Button runat="server" ID="btnReset" CssClass="btn btn-primary btn-success btn-md" OnClick="btnReset_Click" Text="Reset" ToolTip="Reset Graph" />
                                            <asp:Button runat="server" ID="btnPrintGraph" CssClass="btn btn-primary btn-success  btn-md" OnClick="btnPrintGraph_Click" ToolTip="Print Graph Report" Text="Print" />
                                        </div>
                                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                                            <hr style="border-width: 1px" />
                                            <asp:UpdatePanel runat="server" ID="upnlGraph">
                                                <ContentTemplate>
                                                    <div id="dvChartImg" runat="server" style="text-align: center">
                                                        <asp:Image runat="server" ID="imgChart" Style="display: block; margin: auto; width: 90%;" />
                                                        <asp:Label runat="server" ID="lblNoGraph" Visible="false" Style="font-size: xx-large; color: red"></asp:Label>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                            <%--<ajaxToolkit:LineChart runat="server" ID="dtLogChart" BackColor="White" ChartType="Basic" ChartHeight="450" ChartWidth="1000" ChartTitle="Data Log Report"
                                                ChartTitleColor="#0E426C" CategoryAxisLineColor="#D08AD9" ValueAxisLineColor="#D08AD9"
                                                BaseLineColor="#A156AB" AreaDataLabel=" thousands">
                                            </ajaxToolkit:LineChart>--%>
                                            <div class="row alignright">
                                                <asp:Button runat="server" ID="btnBack" Text="Back" CssClass="btn btn-primary btn-success btn-md" OnClick="btnBack_Click" ToolTip="Back" />
                                            </div>
                                        </div>
                                    </div>

                                </asp:Panel>
                                <br />

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
