<%@ page language="C#" autoeventwireup="true" inherits="ReportViewer, App_Web_reportviewer.aspx.cdcab7d2" enableEventValidation="false" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>..:: ICDAS 2.1 ::..</title>
   <meta http-equiv="X-UA-Compatible" content="IE=9">
    <link href="/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css"
        rel="stylesheet" type="text/css" />
    <link href="/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css"
        rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
			function dsPrint()
			{
			   document.all['hdnDSPrint'].value = "1";
			   alert(document.all['hdnDSPrint'].value)
			}
    </script>

</head>

<div id="loading" style="position: absolute; left : 0px; width: 100%; text-align: center; top: 300px;">
    <img src="Images/AnimatedProgressBar.gif" border="0" />
    <asp:Label ID="lblloading" runat="server" Text="...Loading..." CssClass="blink-text"
        Width="100%"></asp:Label>
</div>

<script>
    var ld = (document.all);
    var ns4 = document.layers;
    var ns6 = document.getElementById && !document.all;
    var ie4 = document.all;
    if (ns4)
        ld = document.loading;
    else if (ns6)
        ld = document.getElementById("loading").style;
    else if (ie4)
        ld = document.all.loading.style;
    function init() {
        if (typeof (Sys) !== 'undefined' && Sys.Browser.agent === Sys.Browser.InternetExplorer && Sys.Browser.version === 10) {
            Sys.WebForms.PageRequestManager.getInstance()._onFormElementActive = function Sys$WebForms$PageRequestManager$_onFormElementActive(element, offsetX, offsetY) {
                if (element.disabled) { return; }
                this._activeElement = element;
                this._postBackSettings = this._getPostBackSettings(element, element.name);
                if (element.name) {
                    var tagName = element.tagName.toUpperCase();
                    if (tagName === 'INPUT') {
                        var type = element.type;
                        if (type === 'submit') {
                            this._additionalInput = encodeURIComponent(element.name) + '=' + encodeURIComponent(element.value);
                        }
                        else if (type === 'image') {
                            this._additionalInput = encodeURIComponent(element.name) + '.x=' + Math.floor(offsetX) + '&' + encodeURIComponent(element.name) + '.y=' + Math.floor(offsetY);
                        }
                    }
                    else if ((tagName === 'BUTTON') && (element.name.length !== 0) && (element.type === 'submit')) {
                        this._additionalInput = encodeURIComponent(element.name) + '=' + encodeURIComponent(element.value);
                    }
                }
            };
        }
        if (ns4) { ld.visibility = "hidden"; }
        else if (ns6 || ie4) ld.display = "none";
    }
</script>


<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0" style="overflow: auto;"  onload="init();" oncontextmenu="return false;">

    <form id="Form1" runat="server">
    <div>
        <asp:HiddenField ID="hdnDSPrint" runat="server" Value="0" />
        <asp:HiddenField ID="hdnUserId" runat="server" Value="" />
        <asp:HiddenField ID="hdnBusinessUnitId" runat="server" Value="" />
        <asp:HiddenField ID="hdnBranchId" runat="server" Value="" />
        <asp:HiddenField ID="hdnCompanyName" runat="server" Value="" />
        <asp:HiddenField ID="hdnUserName" runat="server" Value="" />
        <asp:HiddenField ID="hdnReportDisplayDateTime" runat="server" Value="" />
        <asp:HiddenField ID="hdnHeaderNote" runat="server" Value="" />
        <asp:HiddenField ID="hdnFooterNote" runat="server" Value="" />
        <asp:HiddenField ID="hdnCO2HideValues" runat="server" Value="" />
        
        <asp:HiddenField ID="hdnReportId" runat="server" Value="" />
        <asp:HiddenField ID="hdnReportFilter" runat="server" Value="" />
        <asp:HiddenField ID="hdnFromDate" runat="server" Value="" />
        <asp:HiddenField ID="hdnToDate" runat="server" Value="" />
        <asp:HiddenField ID="hdnRecordKeys" runat="server" Value="" />
        <asp:HiddenField ID="hdnReportColumnQuery" runat="server" Value="" />
        <asp:HiddenField ID="hdnSearchValue" runat="server" Value="" />
        
        <asp:HiddenField ID="hdnPRINTERNAME" runat="server" Value="" />
        <asp:HiddenField ID="hdnPAPERSIZE" runat="server" Value="" />
        <asp:HiddenField ID="hdnORIENTATION" runat="server" Value="" />
        <asp:HiddenField ID="hdnNOCOPIES" runat="server" Value="" />
        <asp:HiddenField ID="hdnCOLLATE" runat="server" Value="" />
        <asp:HiddenField ID="hdnPRINTMODE" runat="server" Value="" />
        <asp:HiddenField ID="hdnPRINTOUTPUT" runat="server" Value="" />
        <asp:HiddenField ID="hdnUserIds" runat="server" Value="" />
        
        <table id="tdlReport" runat="server" align="center" width="100%" border="0" cellpadding="0"
            cellspacing="0"  >
            <%--<tr>
                    <td align="left" style="background-color: silver; width: 100%;">
                        <asp:ImageButton ID="ImgDSPrint" CssClass="ShowHand" runat="server" AlternateText="Click To Print"
                            ImageUrl="../Images/Print-icon.jpg" OnClientClick="dsPrint();" /> &nbsp; 
                        Printer 
                        <asp:DropDownList ID="cmbDSPrinter" runat="server" >
                        </asp:DropDownList> &nbsp; 
                        Paper Size : 
                        <asp:Label ID="lblDSPaperSize" runat="server" Text="none"></asp:Label> &nbsp; 
                        Orientation :
                        <asp:Label ID="lblDSOrientation" runat="server" Text="none"></asp:Label> &nbsp; 
                    </td>
                </tr>--%>
            <tr>
                <td align="center">
                    <CR:CrystalReportViewer ID="iERPReportViewer" runat="server" AutoDataBind="true" />
                    <CR:CrystalReportSource ID="iERPReportSource" runat="server">
                    </CR:CrystalReportSource>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
