[CLOSED] A script on this page is causing your web browser to run slowly is seen in Internet Explorer-8

  1. #1

    [CLOSED] A script on this page is causing your web browser to run slowly is seen in Internet Explorer-8

    We are in migration of Ext.Net V 1.7 to V 2.5.2. we are getting the following error in IE 8 while loading the page itself. For us release date is nearing. Please help on this ASAP. Same code is working without any issue with Ext.net V1.7

    A script on this page is causing your web browser to run slowly is seen in Internet Explorer-8
    Please check attachment for actual exception.


    It is very critical for us for release and there is no functionality change only we are migrating the application to V2.5.2
    Attached Images  
    Last edited by Daniil; Dec 31, 2014 at 3:58 PM. Reason: [CLOSED]
  2. #2
    Hi @velusoft,

    Please provide a test case to reproduce the problem.
  3. #3

    Everytime while loading page, we are getting this issue in Internet explorer

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CamView.aspx.cs" MasterPageFile="~/Main.master"
        Inherits="WebApp.Pages.Views.CamView" MaintainScrollPositionOnPostback="true" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
    <asp:Content ID="cntCamMain" ContentPlaceHolderID="headContentPlaceHolder" runat="Server">
        <link href="../../CSS/Common/Common.css" rel="stylesheet" type="text/css" />
        <link href="../../CSS/Common/Icons.css" rel="stylesheet" type="text/css" />
    
        <script src="../../JavaScriptFiles/PMR/PMRForm.js" type="text/javascript"></script>
    
        <script src="../../JavaScriptFiles/Jquery/Jquery1.6.1.js" type="text/javascript"></script>
        <script type="text/javascript" src="../../JavaScriptFiles/HomePages/CommonHome.js"></script>
        <script src="../../JavaScriptFiles/Pages/View/CamScript.js" type="text/javascript"></script>
    
        <style type="text/css">
            .x-grid3-cell-inner, .x-grid3-hd-inner
            {
                white-space: normal; /* changed from nowrap */
            }
    
            .x-grid3-td-Name
            {
                background-color: White;
            }
            .NoteCss
            {
               font-size: 8.5pt !important;
               font-family: Arial !important;
            }
    
            .ForecastAccuracy 
            { 
                text-align: left !important; 
                font-family: Arial !important; 
                font-size: 8.5pt !important; 
                font-weight: bold !important; 
            }
    
            
        </style>
        <ext:XScript ID="XScriptdd1" runat="server">
    
            <script type="text/javascript">        
                //-------V1.8: Ticket 1041
                var onBeforeHide = function(win) { 
                    if(win.title.toUpperCase()=="TECHNICAL INDICATORS FORM" || win.title.toUpperCase()=="ERL ENTRY FORM")  
                    { 
                        var isUserAuth=getCookie("isUserAuthorized"); 
                        if (!win.lockedBeforeHide) 
                        { 
                            if(isUserAuth.toUpperCase()=="TRUE") 
                            {     
                                boolConfirm = confirm("Are you sure you want to navigate away from this page? \n\nAny unsaved data will be lost! Do you want to continue? \n\n Press OK to continue, or Cancel to stay on the current page.");
                                if (boolConfirm == true) { 
                                    win.lockedBeforeHide = true; 
                                    #{pnlWinScorecard}.clearContent(); 
                                    win.hide(); 
                                    win.restore(); 
                                    win.lockedBeforeHide = false;  
                                } 
                                return false ;
                            }else 
                            { 
                                win.lockedBeforeHide = true; 
                                #{pnlWinScorecard}.clearContent(); 
                                win.hide(); 
                                win.restore(); 
                                win.lockedBeforeHide = false; 
                                return true; 
                            }  
                        
                        } 
                    } 
                };
    
                //--End V1.8.
            
                var financialCell = function (value, metadata) {
                    metadata.style = "background-color: #F7F7F7;width:149px;font-weight: bold";
                    return value;
                };
            
                var financialGreyCell = function (value, metadata) { 
                    var retValue; 
                    if(value!="") 
                    { 
                        retValue = Ext.util.Format.number(value,'000,000,000.0'); 
                        return retValue; 
                    } 
                    else 
                    { 
                        metadata.style = "background-color: #F7F7F7;width:98px"; 
                        return ""; 
                    } 
                };
    
            
                function SetVocValueHiddenField() {            
                  #{HdnSelectedVoc}.setValue( #{ddlVoc}.getValue());  
                 #{hdnVocValue}.setValue( #{ddlVoc}.getValue());          
                }
               
                function Submit4UpComments(commentId)
                { 
                    //Ext.net.DirectMethods.Submit4UpCommentsFromUi(commentId);
                    AP3Direct.Submit4UpCommentsFromUi(commentId);
                }
            
                function CloseWindow(windowName)
                { 
                    var windowRef = '';            
                    if(windowName=='AC')
                    {
                        #{HdnRecentlyClicked}.setValue(' ');
                        #{Hdn4UpCommentsCopy}.setValue(' ');
                        windowRef = #{WndAchievements};        
                        windowRef.hide();
                    }
                    else if(windowName=='PL')
                    {
                        windowRef = #{Wnd4UpPickList};        
                        windowRef.hide();
                    }
                    else if(windowName=='MC')
                    {
                        windowRef = #{WndMetricsCommentsPickList};        
                        windowRef.hide();
                    }
                }
            
                function ShowPopWindow(windowName,windowText)
                { 
                    var windowRef = '';            
                    if(windowName=='AC')
                    {             
                        windowRef = #{WndAchievements}; 
                        if(windowText != undefined)
                        {                                  
                            windowRef.setTitle(windowText); 
                        }
                        windowRef.center();
                        windowRef.show();
                    }
                }
                function Cam_RowSelect()
                { 
                    #{StrPrograms}.removeAll();
                    #{StrProjects}.removeAll();
                    #{pnlLegend}.hide();
                    #{BtnConfirmCAMs}.enable();
                    #{ChkPrograms}.setValue(false);
                    #{BtnConfirmProgs}.disable();
                      
                    #{ChkProjects}.setValue(false);
                    #{ChkProjects}.disable();      
                    if(#{GrdCams}.store.getCount() == #{GrdCams}.getSelectionModel().getCount())
                    {
                        #{HdnSelectUnselect}.setValue(1);
                        #{ChkCAMs}.setValue(true);
                    }
    
                    HideControl_Select();
                }
                
                function Cam_RowDeSelect()
                {
                    #{StrPrograms}.removeAll();
                    #{StrProjects}.removeAll();
                  
                    #{ChkPrograms}.setValue(false);
                    #{ChkPrograms}.disable();  
                    #{BtnConfirmProgs}.disable();  
                    
                    #{ChkProjects}.setValue(false);
                    #{ChkProjects}.disable();
                    if(#{ChkCAMs}.getValue())
                    {
                        #{HdnSelectUnselect}.setValue(1);
                        #{ChkCAMs}.setValue(false);
                    }
                    else
                    {
                        #{HdnSelectUnselect}.setValue(0);
                    }
                    if(!#{GrdCams}.hasSelection()) 
                    { 
                        #{BtnConfirmCAMs}.disable();
                    }
                    else
                    {
                        #{BtnConfirmCAMs}.enable();
                    }
                    HideControl_Select();
                }
                
                function Program_RowSelect()
                { 
                    #{StrProjects}.removeAll();
    
                    #{BtnConfirmProgs}.enable();
                      
                    #{ChkProjects}.setValue(false);
                    #{ChkProjects}.disable();  
                    
                    if(#{GrdPrograms}.store.getCount() == #{GrdPrograms}.getSelectionModel().getCount())
                    {
                        #{HdnSelectUnselect}.setValue(1);
                        #{ChkPrograms}.setValue(true);
                    }
                    HideControl_Select();
                }
                
                function Program_RowDeSelect()
                { 
                    #{StrProjects}.removeAll();                
                    #{ChkProjects}.setValue(false);
                    #{ChkProjects}.disable();              
                    
                    if(#{ChkPrograms}.getValue())
                    {
                        #{HdnSelectUnselect}.setValue(1);
                        #{ChkPrograms}.setValue(false);
                    }
                    else
                    {
                        #{HdnSelectUnselect}.setValue(0);
                    }
                    if(!#{GrdPrograms}.hasSelection()) 
                    { 
                        #{BtnConfirmProgs}.disable();
                    }
                    else
                    {
                        #{BtnConfirmProgs}.enable();
                    }
                    
                    HideControl_Select(); 
                }
                
                function Project_RowSelect()
                { 
                    #{ChkProjects}.enable();
                    if(#{GrdProjects}.store.getCount() == #{GrdProjects}.getSelectionModel().getCount())
                    {
                        #{HdnSelectUnselect}.setValue(1);
                        #{ChkProjects}.setValue(true);
                    }
                    #{BtnView}.enable();
                    #{tbmain}.hide(true); 
                    // V1.8 : PN (22July2014)Removed 'SetSubViewPanelsFalse()' added below code
                    HideControl_Select();
                }
                
                function Project_RowDeSelect()
                {
                    if(#{ChkProjects}.getValue())
                    {
                        #{HdnSelectUnselect}.setValue(1);
                        #{ChkProjects}.setValue(false);
                    }
                    else
                    {
                        #{HdnSelectUnselect}.setValue(0);
                    }
                    
                    // V1.8 : PN (22July2014)Removed '!#{GrdProjects}.hasSelection()' added below code
                    HideControl_Select();
                }
                
                function fixComboArrow(flid) {
                    if (navigator.userAgent.indexOf('MSIE 7.0') != -1) {
                        $('#' + flid).css('padding-top', '0px');
                        $('#' + flid).css('padding-bottom', '0px');
                        $('#' + flid).css('margin-top', '0px');
                        $('#' + flid).css('margin-bottom', '0px');
                        $('#' + flid).css('height', '20px');
                    }
                }
    
                function HideControl_Select() {
                    if(!#{GrdProjects}.hasSelection()) 
                    { 
                        #{BtnView}.disable();
                    } 
                    else{
                        #{BtnView}.enable();
                    }
                        #{pnlLegend}.hide();
                        #{tbmain}.hide(true);
                        #{pnlExportExcel}.hide(true);
                    //#{fSetCamLinks}.hide(true);
                    SetSubViewPanelsFalse();
                }
                
                function ClearAndHideControl_Select(ControlId) {
                
                    if(ControlId == 'ddlTier2')
                    {
                        #{StrTier3}.removeAll();
                        #{StrTier4}.removeAll();                    
                        
                        #{ChkCAMs}.setValue(false);
                        #{ChkCAMs}.disable();  
                        #{BtnConfirmCAMs}.disable(); 
                         
                        #{ChkPrograms}.setValue(false);
                        #{ChkPrograms}.disable();  
                        #{BtnConfirmProgs}.disable();  
    
                        #{ChkProjects}.setValue(false);
                        #{ChkProjects}.disable();         
                         
                    }
                    else  if(ControlId == 'ddlTier3')
                    { 
                        #{StrTier4}.removeAll();                    
                        
                        #{ChkCAMs}.setValue(false);
                        #{ChkCAMs}.disable();  
                        #{BtnConfirmCAMs}.disable(); 
                         
                        #{ChkPrograms}.setValue(false);
                        #{ChkPrograms}.disable();  
                        #{BtnConfirmProgs}.disable();  
    
                        #{ChkProjects}.setValue(false);
                        #{ChkProjects}.disable();      
                    }
                    else  if(ControlId == 'ddlTier4')
                    {  
                        #{ChkCAMs}.setValue(false);
                        #{ChkCAMs}.disable();  
                        #{BtnConfirmCAMs}.disable(); 
                         
                        #{ChkPrograms}.setValue(false);
                        #{ChkPrograms}.disable();  
                        #{BtnConfirmProgs}.disable();  
    
                        #{ChkProjects}.setValue(false);
                        #{ChkProjects}.disable();      
                    }
                    
                    #{BtnView}.disable();
                    #{tbmain}.hide(true);
                    SetSubViewPanelsFalse();
                }
    
                function Deselection_DirectMethod() {
                    //TODO: Uncomment this line Ext.net.DirectMethods.DeselectionDirectMethod();
                    //Ext.net.DirectMethods.Deselection_DirectMethod();
                    AP3Direct.Deselection_DirectMethod();
                }
    
                function Tier4Deselection_DirectMethod() {
                    //Ext.net.DirectMethods.Tier4Deselection_DirectMethod();
                    AP3Direct.Tier4Deselection_DirectMethod();
                }
                
                function CollapsePanelAfter_ClickOnView() {
                    /* after collapsing scroll bar is disappering in the selected project or program,
                        so we have remove it, then focus is placed */
                    #{pnlSubSearchCriteria}.collapse(true);  
                } 
                
                function ClearFilterValues() {
                    //Ext.net.DirectMethods.ClearFilterValues();
                    AP3Direct.ClearFilterValues();
                }
                
                function DdlMsPerformanceChart_ChangeOnSetScaleIndex() {            
                    //Ext.net.DirectMethods.LoadMilestonePerformanceChartDetails();              
                    AP3Direct.LoadMilestonePerformanceChartDetails();
                }          
    
                var showTipForGridforMilestone = function(toolTip, grid) {
                    //debugger
                    if (toolTip.triggerElement != undefined && toolTip.triggerElement != null) {
                        var view = grid.getView(),         
                               record =  view.getRecord(view.findItemByChild(toolTip.triggerElement)),
                               column = view.getHeaderByCell(toolTip.triggerElement),
                               data = record.get(column.dataIndex);
    
                        var fieldName =  column.dataIndex;//view.getHeaderByCell(toolTip.triggerElement).headerId;
                        src = record.get("Source");
    
                        if ((fieldName != "" && fieldName != null) && (data != "" && data != null)) {
                    
                            if (fieldName == 'HealthIndicator') {
                                if (data == "2") {
                                    toolTip.update("Completed Ontime");
                                }
                                else if (data == "3") {
                                    toolTip.update("Completed Late");
                                }
                                else if (data == "4") {
                                    toolTip.update("Pastdue");
                                }
                                else {
                                    toolTip.update("Likely to miss");
                                }
                            }                       
                            else if (data == '~/Images/HealthIndicators/green_cb.png') {
                                toolTip.update("Healthy");
                            }
                            else if (data == '~/Images/HealthIndicators/yellow_cb.png') {
                                toolTip.update("Needs Improvements");
                            }
                            else if (data == '~/Images/HealthIndicators/red_cb.png') {
                                toolTip.update( "Not Healthy");
                            }
                            else {
                                //toolTip.update(data);
                                toolTip.hide();
                            }
                        }
                        else
                        {
                            toolTip.hide();
                        }
                    }
                };
      
                            
              /*  var showTipForGridforMilestone = function(tooltip, grid, store) {
                    if (tooltip.triggerElement != undefined && tooltip.triggerElement != null) {
                        var rowIndex = grid.view.findRowIndex(tooltip.triggerElement),
                        cellIndex = grid.view.findCellIndex(tooltip.triggerElement),
                        record = store.getAt(rowIndex),
                        fieldName = grid.getColumnModel().getDataIndex(cellIndex),
                        data = record.get(fieldName);
                        if ((fieldName != "" && fieldName != null) && (data != "" && data != null)) {
                            tooltip.body.show();
                            if (fieldName == 'HealthIndicator') {
                                if (data == "2") {
                                    tooltip.body.dom.innerHTML = 'Completed Ontime';
                                }
                                else if (data == "3") {
                                    tooltip.body.dom.innerHTML = 'Completed Late';
                                }
                                else if (data == "4") {
                                    tooltip.body.dom.innerHTML = 'Pastdue';
                                }
    
                                else {
                                    tooltip.body.dom.innerHTML = 'Likely to miss';
                                }
                            }
                            else
                            {
                                tooltip.hide();
                            }
    
                        }
                        else {
                            tooltip.body.dom.innerHTML = "";
                            tooltip.DismissDelay = 0;
                            tooltip.hideDelay = 0;
                            tooltip.hide();
                        }
                    }
                    else {
                        tooltip.body.dom.innerHTML = "";
                        tooltip.DismissDelay = 0;
                        tooltip.hideDelay = 0;
                        tooltip.hide();
                    }
                };
                */
            
                var indicatorRenderFORMilestone = function(value) {
                    var imagePath = value.toString();
                    if (imagePath == 2) {
                        imagePath = '../../Images/HealthIndicators/green_cb.png';
                    }
                    else if (imagePath == 3) {
                        imagePath = '../../Images/HealthIndicators/yellow_cb.png';
                    }
                    else if (imagePath == 4) {
                        imagePath = '../../Images/HealthIndicators/red_cb.png';
                    }
                    else if (imagePath == 6) {
                        imagePath = '../../Images/HealthIndicators/LikelyMiss_cb.png';
                    }
                    else {
                        imagePath = '../../Images/HealthIndicators/NotRated_cb.png';
                    }
                    return '<img  src="' + imagePath + '" />'
                };    
                window.lookup = [];  
                
                var rerenderNestedGrid = function(view, rowIndex, record) {
                    var grid = window["GridPanelRow_" + record.id];
                    if (grid && !grid.moved) {
                        var ce = Ext.get(grid.getPositionEl()),
                            el = Ext.net.ResourceMgr.getAspForm() || Ext.getBody();
    
                        ce.addClass("x-hidden");
                        el.dom.appendChild(ce.dom);
                        grid.moved = true;
                        view.on("rowupdated", function() {
                            if (!grid.moved) {
                                return;
                            }
                            var row = view.getRow(rowIndex),
                                body = Ext.DomQuery.selectNode(#{rowExpanderMissedMilestones}.rowBodySelector, row);
    
                            Ext.fly("row-" + record.id).appendChild(ce.dom);
                            ce.removeClass("x-hidden");
                            grid.moved = false;
                            body.rendered = true;
                            body.expanderRendered = true;
                        }, view, { single: true });
                    }
                };  
              
                function DetailedView(Month, Year, WindowName, mtype, val) {
                    //This line is for tracking un saved data.              
                   #{HdnIsButtonClick}.setValue(1);
                  
                    // Ext.net.DirectMethods.DetailViewDirecMethod(Month, Year, WindowName, mtype);
                    AP3Direct.DetailViewDirecMethod(Month, Year, WindowName, mtype);
                }
                function Milestones_Renderer(columnValue, columnValueCls, record, rowIndex, columnNumber) { 
                    var health; 
                    
                    // var currentColumn = columnValueCSS.id;   
                    var currentColumn = columnValueCls.columnIndex;
    
                    if (currentColumn == 1) { 
                        //health = record.json.ITD_H; 
                        health = record.data['ITD_H']; 
                    } 
                    else if (currentColumn == 2) { 
                        health = record.data['YTD_H']; 
                    } 
                    else if (currentColumn == 3) { 
                        health = record.data['1_H']; 
                    } 
                    else if (currentColumn == 4) { 
                        health = record.data['2_H']; 
                    } 
                    else if (currentColumn == 5) { 
                        health = record.data['3_H']; 
                    } 
                    else if (currentColumn == 6) { 
                        health = record.data['4_H']; 
                    } 
                    else if (currentColumn == 7) { 
                        health = record.data['5_H']; 
                    } 
                    else if (currentColumn == 8) { 
                        health = record.data['6_H']; 
                    } 
                    else if (currentColumn == 9) { 
                        health = record.data['7_H']; 
                    } 
                    else if (currentColumn == 10) { 
                        health = record.data['8_H']; 
                    } 
                    else if (currentColumn == 11) { 
                        health = record.data['EAC1_H']; 
                    } 
                    else if (currentColumn == 12) { 
                        health = record.data['EAC2_H']; 
                    } 
    
                    if (rowIndex==2 && health == 'G') { 
                        //columnValueCSS.css = "GreenColor"; 
                        columnValueCls.tdCls = "GreenColor";
                    } 
                    else if (rowIndex==2 && health == 'Y') { 
                        //columnValueCSS.css = "YellowColor"; 
                        columnValueCls.tdCls = "YellowColor";
                    } 
                    else if (rowIndex==2 && health == 'R') { 
                        // columnValueCSS.css = "RedColor"; 
                        columnValueCls.tdCls = "RedColor";
                    } 
                    else if(rowIndex==2){ 
                        //columnValueCSS.css = "WhiteColor"; 
                        columnValueCls.tdCls = "WhiteColor";
                    } 
    
                    return columnValue; 
                }
                
                function ForecastAccuracy_Renderer(columnValue, columnValueCls, record, rowIndex, columnNumber) { 
                    var health;                 
                    //var currentColumn = columnValueCSS.id;   
                    var currentColumn = columnValueCls.columnIndex;
    
                    if (currentColumn == 1) { 
                        //health = record.json.ITD_H; 
                        health = record.data['1_H']; 
                    } 
                    else if (currentColumn == 2) { 
                        health = record.data['2_H']; 
                    } 
                    else if (currentColumn == 3) { 
                        health = record.data['3_H']; 
                    }                 
    
                    if(health == 'G') { 
                        //columnValueCSS.css = "GreenColor"; 
                        columnValueCls.tdCls = "GreenColor";
                    } 
                    else if (health == 'Y') { 
                        //columnValueCSS.css = "YellowColor"; 
                        columnValueCls.tdCls = "YellowColor";
                    } 
                    else if (health == 'R') { 
                        //columnValueCSS.css = "RedColor"; 
                        columnValueCls.tdCls = "RedColor";
                    } 
                    else { 
                        //columnValueCSS.css = "WhiteColor"; 
                        columnValueCls.tdCls = "WhiteColor";
                    } 
    
                    return columnValue; 
                }     
                /*-------------------------------End Milestones--------------------------------*/
            
                /*-------------------------------Total Factored Risk--------------------------------*/
                function ShowRiskLog() {
                    // Ext.net.DirectMethods.ShowRiskLog();
                    AP3Direct.ShowRiskLog();
                    return false;
                }   
            
                ////Added By Sangeeta Singh on 28 July 2014:V1.9 AP3-1049.
                function SetVOCSubmitButtonMode()
                {
                    var VOCSelected = #{ddlVoc}.getValue();
                    var VOCSaved =  #{HdnVocColor}.getValue();
                    if(VOCSelected == VOCSaved)
                    {
                        if(#{HdnVocState}.getValue() == "Draft")
                        {
                             #{BtnVocSubmit}.setIconCls("cls-ico-draftmode");
                        }
                        else if(#{HdnVocState}.getValue() == "Submitted")
                        {
                             #{BtnVocSubmit}.setIconCls("cls-ico-submitmode");
                        } 
                    }
                    else
                    {
                        #{BtnVocSubmit}.setIconCls("cls-ico-defaultmode");
                    }                 
                };
            
                /*-------------------------------End - Total Factored Risk--------------------------------*/
                /*        
                var removeFromCache = function(c) {
                    var c = window[c];
                    window.lookup.remove(c);
                    if (c) {
                        c.destroy();
                    }
                };
                */
                var removeFromCache = function(c) {
                    var c = window[c];
                    //window.lookup.remove(c); // check with Praveen..           
                    if(c != undefined || c != null)
                    {
                        if (c) {
                            c.destroy();
                        }
                    }
                };
    
                var addToCache = function(c) {
                    window.lookup.push(window[c]);
                }; 
            
            
                window.lookup = [];  
                
                var rerenderNestedGrid = function(view, rowIndex, record) {
                    var grid = window["GridPanelRow_" + record.id];
                    if (grid && !grid.moved) {
                        var ce = Ext.get(grid.getPositionEl()),
                            el = Ext.net.ResourceMgr.getAspForm() || Ext.getBody();
    
                        ce.addClass("x-hidden");
                        el.dom.appendChild(ce.dom);
                        grid.moved = true;
                        view.on("rowupdated", function() {
                            if (!grid.moved) {
                                return;
                            }
                            var row = view.getRow(rowIndex),
                                body = Ext.DomQuery.selectNode(#{rowExpanderMissedMilestones}.rowBodySelector, row);
    
                            Ext.fly("row-" + record.id).appendChild(ce.dom);
                            ce.removeClass("x-hidden");
                            grid.moved = false;
                            body.rendered = true;
                            body.expanderRendered = true;
                        }, view, { single: true });
                    }
                };  
            
                var clean = function() {
                    if (window.lookup.length > 0) {
                        #{rowExpanderMissedMilestones}.collapseAll();
                        Ext.each(window.lookup, function(control) {
                            if (control) {
                                control.destroy();
                            }
                        });
                        window.lookup = [];
                    }
                };    
               
                var Common_PrepareToolbar = function (grid, toolbar, rowIndex, record) {            
                    if (record.get("State") == 'Draft') {    
                        //otherwise add another button
                        toolbar.add(new Ext.Button({
                            iconCls : "cls-ico-draftmode",
                            command : "Submit",
                            tooltip : "Click to save the comment and submit it to the next-level scorecard"
                        }));
                        toolbar.doLayout();      
                        //toolbar.items.itemAt(0).setDisabled(false);                       
                        toolbar.items.items[0].setDisabled(false); 
                    }   
                    else
                    {    
                        toolbar.add(new Ext.Button({
                            iconCls : "cls-ico-submitmode",
                            command : "Submit",
                            tooltip : "Click to save the comment and submit it to the next-level scorecard"
                        }));
                        toolbar.doLayout();
                        //toolbar.items.itemAt(0).setDisabled(true); 
                        toolbar.items.items[0].setDisabled(true); 
                    }    
                };
            
                var enableDisableMetricsSubmitButton = function (txtComments,strMetric) {   
                    /*18Sep2013: Praveen Nampally : replacing the values from '<' to '' */
                    var value = txtComments.getValue().replace(/[<]/g, '');
                    value = value.replace(/[>]/g, '');
                    txtComments.setValue(value);
                    //Enable or Disable save button.
                    if(strMetric=="SPI" || strMetric=="CPI" || strMetric=="MSPI" || strMetric=="MCPI")
                    {             
                        //To track un saved data.
                        if(strMetric=="SPI")
                        {             
                            if(Ext.util.Format.trim(#{txtSPIComments}.getValue()) != #{HdnSpiCommentsCopy}.getValue() )
                            {
                              #{hdnIsSpiChanged}.setValue("1");
                              #{BtnSPISubmit}.setIconCls("cls-ico-defaultmode");
                            }
                            else
                            {
                               #{hdnIsSpiChanged}.setValue("-1");
                                if(#{HdnSPIState}.getValue() == "Draft")
                                {
                                     #{BtnSPISubmit}.setIconCls("cls-ico-draftmode");
                                }
                                else if(#{HdnSPIState}.getValue() == "Submitted")
                                {
                                     #{BtnSPISubmit}.setIconCls("cls-ico-submitmode");
                                }
                                else
                                {
                                     #{BtnSPISubmit}.setIconCls("cls-ico-defaultmode");
                                }
                            }
                        }
                        else if(strMetric=="CPI")
                        {             
                            if(Ext.util.Format.trim(#{txtCPIComments}.getValue()) != #{HdnCpiCommentsCopy}.getValue() )
                            {
                              #{hdnIsCpiChanged}.setValue("1");
                              #{BtnCPISubmit}.setIconCls("cls-ico-defaultmode");
                            }
                            else
                            {
                               #{hdnIsCpiChanged}.setValue("-1");
                                if(#{HdnCPIState}.getValue() == "Draft")
                                {
                                     #{BtnCPISubmit}.setIconCls("cls-ico-draftmode");
                                }
                                else if(#{HdnCPIState}.getValue() == "Submitted")
                                {
                                     #{BtnCPISubmit}.setIconCls("cls-ico-submitmode");
                                }
                                else
                                {
                                     #{BtnCPISubmit}.setIconCls("cls-ico-defaultmode");
                                }
                            }  
                        }
                        else if(strMetric=="MSPI")
                        {             
                            if(Ext.util.Format.trim(#{txtCurrentSPIComments}.getValue()) != #{HdnCurSpiCommentsCopy}.getValue() )
                            {
                              #{hdnIsMSpiChanged}.setValue("1");
                              #{BtnCurrentSPISubmit}.setIconCls("cls-ico-defaultmode");
                            }
                            else
                            {
                               #{hdnIsMSpiChanged}.setValue("-1");
                                if(#{HdnCurSpiState}.getValue() == "Draft")
                                {
                                     #{BtnCurrentSPISubmit}.setIconCls("cls-ico-draftmode");
                                }
                                else if(#{HdnCurSpiState}.getValue() == "Submitted")
                                {
                                     #{BtnCurrentSPISubmit}.setIconCls("cls-ico-submitmode");
                                }
                                else
                                {
                                     #{BtnCurrentSPISubmit}.setIconCls("cls-ico-defaultmode");
                                }
                            }    
                        }
                        else if(strMetric=="MCPI")
                        {             
                            if(Ext.util.Format.trim(#{txtCurrentCPIComments}.getValue()) != #{HdnCurCpiCommentsCopy}.getValue() )
                            {
                              #{hdnIsMCpiChanged}.setValue("1");
                              #{BtnCurrentCPISubmit}.setIconCls("cls-ico-defaultmode");
                            }
                            else
                            {
                               #{hdnIsMCpiChanged}.setValue("-1");
                                if(#{HdnCurSpiState}.getValue() == "Draft")
                                {
                                     #{BtnCurrentCPISubmit}.setIconCls("cls-ico-draftmode");
                                }
                                else if(#{HdnCurSpiState}.getValue() == "Submitted")
                                {
                                     #{BtnCurrentCPISubmit}.setIconCls("cls-ico-submitmode");
                                }
                                else
                                {
                                     #{BtnCurrentCPISubmit}.setIconCls("cls-ico-defaultmode");
                                }
                            }  
                        }
                    }
                    else if(strMetric=="FillRate")
                    {           
                        if(Ext.util.Format.trim(#{TxtFillRateComment}.getValue()) != #{HdnFileRateCommentCopy}.getValue())
                        {
                          #{hdnIsFillRateChanged}.setValue("1");
                          #{BtnFillRateSubmit}.setIconCls("cls-ico-defaultmode");
                        }
                        else
                        {
                           #{hdnIsFillRateChanged}.setValue("-1");
                            if(#{HdnFileRateState}.getValue() == "Draft")
                            {
                                 #{BtnFillRateSubmit}.setIconCls("cls-ico-draftmode");
                            }
                            else if(#{HdnFileRateState}.getValue() == "Submitted")
                            {
                                 #{BtnFillRateSubmit}.setIconCls("cls-ico-submitmode");
                            }
                            else
                            {
                                 #{BtnFillRateSubmit}.setIconCls("cls-ico-defaultmode");
                            }
                        }  
                    }
                    else if(strMetric=="YTD")
                    {  
                        if(Ext.util.Format.trim(#{txtYTDComments}.getValue()) != #{HdnYtdCommentsCopy}.getValue())
                        {
                            #{hdnIsYtdChanged}.setValue("1");
                            #{BtnYTDSubmit}.setIconCls("cls-ico-defaultmode");
                        }
                        else
                        {
                           #{hdnIsYtdChanged}.setValue("-1");
                            if(#{HdnYtdState}.getValue() == "Draft")
                            {
                                 #{BtnYTDSubmit}.setIconCls("cls-ico-draftmode");
                            }
                            else if(#{HdnYtdState}.getValue() == "Submitted")
                            {
                                 #{BtnYTDSubmit}.setIconCls("cls-ico-submitmode");
                            }
                            else
                            {
                                 #{BtnYTDSubmit}.setIconCls("cls-ico-defaultmode");
                            }
                        }            
                    } 
                    else if(strMetric=="Risk")
                    {
                        if(Ext.util.Format.trim(#{txtRiskAssessmentComments}.getValue()) != #{HdnRiskAssCommentsCopy}.getValue())
                        {
                              #{hdnIsRiskChanged}.setValue("1");
                              #{BtnRiskAssessmentSubmit}.setIconCls("cls-ico-defaultmode");
                        }
                        else
                        {
                             #{hdnIsRiskChanged}.setValue("-1");
                            if(#{HdnRiskAssState}.getValue() == "Draft")
                            {
                                 #{BtnRiskAssessmentSubmit}.setIconCls("cls-ico-draftmode");
                            }
                            else if(#{HdnRiskAssState}.getValue() == "Submitted")
                            {
                                 #{BtnRiskAssessmentSubmit}.setIconCls("cls-ico-submitmode");
                            }
                            else
                            {
                                 #{BtnRiskAssessmentSubmit}.setIconCls("cls-ico-defaultmode");
                            }
                        } 
                    }
                    else if(strMetric=="Voc")
                    {
                        if(Ext.util.Format.trim(#{txtVocComments}.getValue()) != #{HdnVocCommentsCopy}.getValue())
                        {
                             #{hdnIsVocChanged}.setValue("1");
                             #{BtnVocSubmit}.setIconCls("cls-ico-defaultmode");
                        }
                        else
                        {
                            #{hdnIsVocChanged}.setValue("-1");
                            if(#{HdnVocState}.getValue() == "Draft")
                            {
                                 #{BtnVocSubmit}.setIconCls("cls-ico-draftmode");
                            }
                            else if(#{HdnVocState}.getValue() == "Submitted")
                            {
                                 #{BtnVocSubmit}.setIconCls("cls-ico-submitmode");
                            }
                            else
                            {
                                 #{BtnVocSubmit}.setIconCls("cls-ico-defaultmode");
                            }
                        }                      
                    }
                };
            
            
                var SetBrowserTitle = function(PageTitle){
                    document.title = PageTitle;
                };  
            
                var SetEmptyTextForTextBox = function(){
                
                    if(#{HdnIsCommentsAllowed}.value == "True") 
                    { 
                         #{TxtWbsScope}.emptyText = "Type WBS Scope here (500 characters max)...";                
                    }
                    else
                    {
                        #{TxtWbsScope}.emptyText = "";
                    } 
                       #{TxtWbsScope}.applyEmptyText();
                };
          
                var prepareCommand = function(grid, command, record, row) {
                    // you can prepare command
                    if (command.command == 'Download' && record.data.OriginalName == null) {
                        command.hidden = true;
                        command.hideMode = 'visibility';
                    }
                };
          
                function grdCommandHandler(commandName, Id, fileName) {
                    if (commandName == 'Download')
                        AP3Direct.DownloadFile(Id, fileName, {isUpload: true});
                    //Ext.net.DirectMethods.DownloadFile(Id, fileName, {isUpload: true});
                };
                
            </script>
    
        </ext:XScript>
    
        <script type="text/javascript">
    
            function onVocChanged() {
                document.getElementById('<%= HdnIsFormChanged.ClientID %>').value = "1";
                document.getElementById('<%= hdnIsVocChanged.ClientID %>').value = "1";
                ////Added by NM (E314037) on 08th Aug 2013  -   APPP-2872
                ////To fix background color and font color not retained in firefox
                ////Start
                var ddlData = document.getElementById('<%= ddlVoc.ClientID %>');
                if (document.getElementById('<%= ddlVoc.ClientID %>').value == "2") {
                    document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "#008000";
                    document.getElementById('<%= ddlVoc.ClientID %>').style.color = "white";
                } else if (document.getElementById('<%= ddlVoc.ClientID %>').value == "3") {
                    document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "#FFFF00";
                    document.getElementById('<%= ddlVoc.ClientID %>').style.color = "black";
                }
                else if (document.getElementById('<%= ddlVoc.ClientID %>').value == "4") {
                    document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "#FF0000";
                    document.getElementById('<%= ddlVoc.ClientID %>').style.color = "white";
                } else {
                    document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "white";
                    document.getElementById('<%= ddlVoc.ClientID %>').style.color = "black";
                }
                ////Following lines added by NM on 26th Aug 2013 to fix APPP-2913 "VOC - Need to change the color of the selection background from blue to some lighter shade"
        document.getElementById('<%= Fieldset2.ClientID %>').focus();
                document.getElementById('<%= ddlVoc.ClientID %>').style.border = "1px solid #B5B8C8";
                ////End
            }
    
            function SetVocSelectedIndex() {
                SetSelectedIndex('<%= ddlVoc.ClientID %>', document.getElementById('<%= hdnVocValue.ClientID %>').value);
    
                if (document.getElementById('<%= hdnVocValue.ClientID %>').value == "2") {
                    document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "#008000";
                    document.getElementById('<%= ddlVoc.ClientID %>').style.color = "white";
                }
                else if (document.getElementById('<%= hdnVocValue.ClientID %>').value == "3") {
                    document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "#FFFF00";
                    document.getElementById('<%= ddlVoc.ClientID %>').style.color = "black";
                }
                else if (document.getElementById('<%= hdnVocValue.ClientID %>').value == "4") {
                    document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "#FF0000";
                    document.getElementById('<%= ddlVoc.ClientID %>').style.color = "white";
                }
                else {
                    document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "white";
                    document.getElementById('<%= ddlVoc.ClientID %>').style.color = "black";
                }
        document.getElementById('<%= ddlVoc.ClientID %>').style.border = "1px solid #B5B8C8";
            }
    
            function SetSelectedIndex(dropdownlist, sVal) {
                var a = document.getElementById(dropdownlist);
    
                for (i = 0; i < a.length; i++) {
                    if (a.options[i].value == sVal) {
                        a.SelectedItem.Index = i;
                        break;
                    }
                }
            }
    
    
            function SetVocAndOverAllRiskLabelColor(OverAllRiskValue, VocValue, IsCommentsAllowed) {
                //Over All risk.
                if (OverAllRiskValue == "2") {
                    document.getElementById('mainContentPlaceholder_tdOverallRisk').style.backgroundColor = "#008000";
                    document.getElementById('mainContentPlaceholder_tdOverallRisk').style.color = "white";
    
                } else if (OverAllRiskValue == "3") {
                    document.getElementById('mainContentPlaceholder_tdOverallRisk').style.backgroundColor = "#FFFF00";
                    document.getElementById('mainContentPlaceholder_tdOverallRisk').style.color = "black";
                }
                else if (OverAllRiskValue == "4") {
                    document.getElementById('mainContentPlaceholder_tdOverallRisk').style.backgroundColor = "#FF0000";
                    document.getElementById('mainContentPlaceholder_tdOverallRisk').style.color = "white";
                } else {
                    document.getElementById('mainContentPlaceholder_tdOverallRisk').style.backgroundColor = "white";
                    document.getElementById('mainContentPlaceholder_tdOverallRisk').style.color = "black";
                }
                document.getElementById('mainContentPlaceholder_tdOverallRisk').style.fontWeight = "bold";
    
                //Voc.
    
                if (VocValue == "2") {
                    document.getElementById('mainContentPlaceholder_tblVoc').style.backgroundColor = "#008000";
                    document.getElementById('mainContentPlaceholder_tblVoc').style.color = "white";
    
                } else if (VocValue == "3") {
                    document.getElementById('mainContentPlaceholder_tblVoc').style.backgroundColor = "#FFFF00";
                    document.getElementById('mainContentPlaceholder_tblVoc').style.color = "black";
                }
                else if (VocValue == "4") {
                    document.getElementById('mainContentPlaceholder_tblVoc').style.backgroundColor = "#FF0000";
                    document.getElementById('mainContentPlaceholder_tblVoc').style.color = "white";
                } else {
                    document.getElementById('mainContentPlaceholder_tblVoc').style.backgroundColor = "white";
                    document.getElementById('mainContentPlaceholder_tblVoc').style.color = "black";
                }
                document.getElementById('mainContentPlaceholder_tblVoc').style.fontWeight = "bold";
    
                if (IsCommentsAllowed == "true") {
                    document.getElementById('mainContentPlaceholder_tblVoc').style.visibility = 'hidden';
                }
            };
    
            function ddlVocOnChange() {
                document.getElementById('<%= HdnIsFormChanged.ClientID %>').value = "1";
                ////Added By Sangeeta Singh on 25 July 2014:V1.9 AP3-1049 Submit button for VOC should change color if only a VOC color is selected.
                document.getElementById('<%= HdnVocDropDownChangeFlag.ClientID %>').value = "1";
                var flag = document.getElementById('<%= hdnFlag.ClientID %>').value;
    
                var ddlData = document.getElementById('<%= ddlVoc.ClientID %>');
                if (document.getElementById('<%= ddlVoc.ClientID %>').value == "1") {
                    var abc = document.getElementById('<%= HdnVocCommentsCopy.ClientID %>').value
                    document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "white";
                    document.getElementById('<%= ddlVoc.ClientID %>').style.color = "black";
                    document.getElementById('<%= txtVocComments.ClientID %>').readOnly = true;
                }
                else {
                            if (document.getElementById('<%= ddlVoc.ClientID %>').value == "2") {
                                document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "#008000";
                                document.getElementById('<%= ddlVoc.ClientID %>').style.color = "white";
                            } else if (document.getElementById('<%= ddlVoc.ClientID %>').value == "3") {
                                document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "#FFFF00";
                                document.getElementById('<%= ddlVoc.ClientID %>').style.color = "black";
                            }
                            else if (document.getElementById('<%= ddlVoc.ClientID %>').value == "4") {
                                document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "#FF0000";
                                document.getElementById('<%= ddlVoc.ClientID %>').style.color = "white";
                            } else {
                                document.getElementById('<%= ddlVoc.ClientID %>').style.backgroundColor = "white";
                                document.getElementById('<%= ddlVoc.ClientID %>').style.color = "black";
                            }  
                    
                            if (flag == 3) {
                               // document.getElementById('<%= txtVocComments.ClientID %>').readOnly = true;
                                AP3Direct.ReadOnlyVocCommentTextFiled(true);
                            }
                            else {
                                //document.getElementById('<%= txtVocComments.ClientID %>').readOnly = false;
                                AP3Direct.ReadOnlyVocCommentTextFiled(false);           
                            }
                      }
                
                //Need to change the color of the selection background from blue to some lighter shade"
                 document.getElementById('<%= Fieldset2.ClientID %>').focus();
                document.getElementById('<%= ddlVoc.ClientID %>').style.border = "1px solid #B5B8C8";
                //End
                //This hidden field voc valuse used to store in the database on click of save.
                document.getElementById('<%=HdnSelectedVoc.ClientID %>').value = document.getElementById('<%= ddlVoc.ClientID %>').value;
                //document.getElementById('<%=hdnVocValue.ClientID %>').value = document.getElementById('<%= ddlVoc.ClientID %>').value;
    
                ////Added By Sangeeta Singh on 1 Aug 2014:V1.9 AP3-1049.
                SetVOCSubmitButtonMode()
            }
    
    
            function GetClientBrowserDateTime() {
                document.getElementById('<%=HdnIsButtonClick.ClientID %>').value = "1";
    
                var currentDt = new Date();
                var mm = currentDt.getMonth() + 1;
                var dd = currentDt.getDate();
                var yyyy = currentDt.getFullYear();
                var hours24 = currentDt.getHours();
                var hours = (hours24 === 0 ? 12 : hours24 > 12 ? hours24 - 12 : hours24);
                var minutes = currentDt.getMinutes();
                minutes = (minutes <= 9 ? '0' + minutes : minutes);
                var secs = currentDt.getSeconds();
                secs = (secs <= 9 ? '0' + secs : secs);
                var hours = (hours24 == 0 ? 12 : hours24 > 12 ? hours24 - 12 : hours24);
                var meridiem = hours24 >= 12 ? "PM" : "AM";
                var clientBrowserDate = mm + '/' + dd + '/' + yyyy + ' ' + hours + ":" + minutes + ":" + secs + " " + meridiem;
    
                ////var clientBrowserDate = mm + '/' + dd + '/' + yyyy + ' ' + currentDt.getHours() + ":" + currentDt.getMinutes() + ":" + currentDt.getSeconds() + " " + meridiem;
                //var clientBrowserDate = mm + '/' + dd + '/' + yyyy + ' ' + currentDt.getHours() + ":" + currentDt.getMinutes() + ":" + currentDt.getSeconds();
    
                var clientDateMMDDYYYY = mm + '_' + dd + '_' + yyyy;
                document.getElementById('<%= HdnClientDateTime.ClientID %>').value = clientBrowserDate;
                document.getElementById('<%= HdnClientDateMMDDYYYY.ClientID %>').value = clientDateMMDDYYYY;
    
                return true;
            }
    
            function CollapsePanelAfterClickOnView() {
                //debugger;            
                SetProgSubViewVisibility();
                if (document.getElementById('<%= pnlSubMilestoneView.ClientID  %>') != null && document.getElementById('<%= pnlSubMilestoneView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubMilestoneView.ClientID  %>').style.display = 'none';
                }
                if (document.getElementById('<%= pnlSubCommentsView.ClientID  %>') != null && document.getElementById('<%= pnlSubCommentsView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubCommentsView.ClientID  %>').style.display = 'none';
                }
                ////End
            }
    
            function SetSubViewPanelsFalse() {
                //debugger;
                if (document.getElementById('<%= pnlSubProgView.ClientID  %>') != null && document.getElementById('<%= pnlSubProgView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubProgView.ClientID  %>').style.display = 'none';
                }
                if (document.getElementById('<%= pnlSubCPISPIView.ClientID  %>') != null && document.getElementById('<%= pnlSubCPISPIView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubCPISPIView.ClientID  %>').style.display = 'none';
                }
                if (document.getElementById('<%= pnlSubMilestoneView.ClientID  %>') != null && document.getElementById('<%= pnlSubMilestoneView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubMilestoneView.ClientID  %>').style.display = 'none';
                }
                if (document.getElementById('<%= pnlSubTotalFactorRiskView.ClientID  %>') != null && document.getElementById('<%= pnlSubTotalFactorRiskView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubTotalFactorRiskView.ClientID  %>').style.display = 'none';
                }
                if (document.getElementById('<%= pnlSubYTDSpendView.ClientID  %>') != null && document.getElementById('<%= pnlSubYTDSpendView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubYTDSpendView.ClientID  %>').style.display = 'none';
                }
                if (document.getElementById('<%= pnlSubCommentsView.ClientID  %>') != null && document.getElementById('<%= pnlSubCommentsView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubCommentsView.ClientID  %>').style.display = 'none';
                }
            }
            function ShowSubViewPanel() {
                //debugger;
                document.getElementById('<%= pnlSubView.ClientID  %>').style.display = 'block';
            }
            function SetProgSubViewVisibility() {
                //debugger;
                SetSubViewPanelsFalse();
                if (document.getElementById('<%= pnlSubProgView.ClientID  %>') != null && document.getElementById('<%= pnlSubProgView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubProgView.ClientID  %>').style.display = 'block';
                    document.getElementById('<%= fSetCamLinks.ClientID  %>').style.display = 'block';
                    ShowSubViewPanel();
                }
            }
    
            function SetSpiCpiSubViewVisibility() {
                //debugger;
                SetSubViewPanelsFalse();
                if (document.getElementById('<%= pnlSubCPISPIView.ClientID  %>') != null && document.getElementById('<%= pnlSubCPISPIView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubCPISPIView.ClientID  %>').style.display = 'block';
                    if (document.getElementById('mainContentPlaceholder_HdnCPISPIView').value == "") {
                        document.getElementById('mainContentPlaceholder_HdnCPISPIView').value = "1";
                        if (document.getElementById('<%= pnlSubView.ClientID  %>') != null && document.getElementById('<%= pnlSubView.ClientID  %>') != 'undefined') {
                            document.getElementById('<%= pnlSubView.ClientID  %>').style.display = 'block';
                        }
                        if (document.getElementById('<%= fSetCamLinks.ClientID  %>') != null && document.getElementById('<%= fSetCamLinks.ClientID  %>') != 'undefined') {
                            document.getElementById('<%= fSetCamLinks.ClientID  %>').style.display = 'none';
                        }
                        // Ext.net.DirectMethods.BindScorecardSpiCpi();
                        AP3Direct.BindScorecardSpiCpi();
                    }
                }
            }
    
            function SetMilestoneSubViewVisibility() {
                //debugger;
                SetSubViewPanelsFalse();
                if (document.getElementById('<%= pnlSubMilestoneView.ClientID  %>') != null && document.getElementById('<%= pnlSubMilestoneView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubMilestoneView.ClientID  %>').style.display = 'block';
                    if (document.getElementById('mainContentPlaceholder_HdnMilestoneView').value == "") {
                        document.getElementById('mainContentPlaceholder_HdnMilestoneView').value = "1";
                        if (document.getElementById('<%= pnlSubView.ClientID  %>') != null && document.getElementById('<%= pnlSubView.ClientID  %>') != 'undefined') {
                            document.getElementById('<%= pnlSubView.ClientID  %>').style.display = 'block';
                        }
                        if (document.getElementById('<%= fSetCamLinks.ClientID  %>') != null && document.getElementById('<%= fSetCamLinks.ClientID  %>') != 'undefined') {
                            document.getElementById('<%= fSetCamLinks.ClientID  %>').style.display = 'none';
                        }
                        //Ext.net.DirectMethods.BindScorecardMilestones();
                        AP3Direct.BindScorecardMilestones();
                    }
                }
            }
    
            function SetTotalFactorRiskSubViewVisibility() {
                //debugger;
                SetSubViewPanelsFalse();
                if (document.getElementById('<%= pnlSubTotalFactorRiskView.ClientID  %>') != null && document.getElementById('<%= pnlSubTotalFactorRiskView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubTotalFactorRiskView.ClientID  %>').style.display = 'block';
                    if (document.getElementById('mainContentPlaceholder_HdnTotalFactorRiskView').value == "") {
                        document.getElementById('mainContentPlaceholder_HdnTotalFactorRiskView').value = "1";
                        if (document.getElementById('<%= pnlSubView.ClientID  %>') != null && document.getElementById('<%= pnlSubView.ClientID  %>') != 'undefined') {
                            document.getElementById('<%= pnlSubView.ClientID  %>').style.display = 'block';
                        }
                        if (document.getElementById('<%= fSetCamLinks.ClientID  %>') != null && document.getElementById('<%= fSetCamLinks.ClientID  %>') != 'undefined') {
                            document.getElementById('<%= fSetCamLinks.ClientID  %>').style.display = 'none';
                        }
                        //Ext.net.DirectMethods.BindScorecardTotalFactoredRisk();
                        AP3Direct.BindScorecardTotalFactoredRisk();
                    }
                }
            }
    
            function SetYTDSpendSubViewVisibility() {
                // debugger;
                SetSubViewPanelsFalse();
                if (document.getElementById('<%= pnlSubYTDSpendView.ClientID  %>') != null && document.getElementById('<%= pnlSubYTDSpendView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubYTDSpendView.ClientID  %>').style.display = 'block';
                    if (document.getElementById('mainContentPlaceholder_HdnYTDView').value == "") {
                        document.getElementById('mainContentPlaceholder_HdnYTDView').value = "1";
                        if (document.getElementById('<%= pnlSubView.ClientID  %>') != null && document.getElementById('<%= pnlSubView.ClientID  %>') != 'undefined') {
                            document.getElementById('<%= pnlSubView.ClientID  %>').style.display = 'block';
                        }
                        if (document.getElementById('<%= fSetCamLinks.ClientID  %>') != null && document.getElementById('<%= fSetCamLinks.ClientID  %>') != 'undefined') {
                            document.getElementById('<%= fSetCamLinks.ClientID  %>').style.display = 'none';
                        }
                        //Ext.net.DirectMethods.BindScorecardYtd();
                        AP3Direct.BindScorecardYtd();
                    }
                }
            }
    
            function SetCommentsSubViewVisibility() {
                //debugger;
                SetSubViewPanelsFalse();
                if (document.getElementById('<%= pnlSubCommentsView.ClientID  %>') != null && document.getElementById('<%= pnlSubCommentsView.ClientID  %>') != 'undefined') {
                    document.getElementById('<%= pnlSubCommentsView.ClientID  %>').style.display = 'block';
                    if (document.getElementById('mainContentPlaceholder_HdnCommentsView').value == "") {
                        document.getElementById('mainContentPlaceholder_HdnCommentsView').value = "1";
                        if (document.getElementById('<%= pnlSubView.ClientID  %>') != null && document.getElementById('<%= pnlSubView.ClientID  %>') != 'undefined') {
                            document.getElementById('<%= pnlSubView.ClientID  %>').style.display = 'block';
                        }
                        if (document.getElementById('<%= fSetCamLinks.ClientID  %>') != null && document.getElementById('<%= fSetCamLinks.ClientID  %>') != 'undefined') {
                            document.getElementById('<%= fSetCamLinks.ClientID  %>').style.display = 'none';
                        }
                        //Ext.net.DirectMethods.BindScorecardComments();
                        AP3Direct.BindScorecardComments();
                    }
                }
            }
    
            function ClearPanelTitles() {
                //debugger;
                document.getElementById('<%= HdnCPISPIView.ClientID  %>').value = '';
                document.getElementById('<%= HdnMilestoneView.ClientID  %>').value = '';
                document.getElementById('<%= HdnTotalFactorRiskView.ClientID  %>').value = '';
                document.getElementById('<%= HdnYTDView.ClientID  %>').value = '';
                document.getElementById('<%= HdnCommentsView.ClientID  %>').value = '';
            }
    
            function openHANAWindow(URL) {
                if (document.all) {
                    var xMax = screen.width - 20, yMax = screen.height - 80
                }
                else if (document.layers) {
                    var xMax = window.outerWidth - 20, yMax = window.outerHeight - 80
                }
                else {
                    var xMax = 1280, yMax = 700
                };
                wnd = window.open(URL + document.getElementById('<%= HdnAdditionalURLParams.ClientID  %>').value, 'HANA', 'location=yes,scrollbars=yes,width=' + xMax + ',height=' + yMax + ',top=0,left=0,resizable=yes');
                wnd.focus();
                return false;
            }
    
            var setHref = function(menuItem, url) { menuItem.setText(url); menuItem.el.set({ href: url }); };
            //------------------------------------------------------       
    
            if (navigator.appName == "Microsoft Internet Explorer") // For IE
            {
                (function($) {
                    $(document).ready(function() {
    
                        /* if (document.getElementById('<%= hdnIsMultiCamView.ClientID %>').value != null && document.getElementById('<%= hdnIsMultiCamView.ClientID %>').value == "-1") {
                        alert('hi');
                        return false;
                    }*/
                        /*This JQuery code to avoid firing the method "onbeforeunload" twice for link button or link click */
    
                        $('a').filter(function() {
                            return (/^javascript\:/i).test($(this).attr('href'));
                        }).each(function() {
                            var hrefscript = $(this).attr('href');
                            //alert('hrefscript' + hrefscript);
                            hrefscript = hrefscript.substr(11);
                            $(this).data('hrefscript', hrefscript);
    
                        }).click(function() {
                            var hrefscript = $(this).data('hrefscript');
                            eval(hrefscript); return false;
                        }).attr('href', '#');
                });
            })(jQuery);
            }
    
    
    
            var __ignoreDirtyFlag = false;
    
            $(document).ready(function() {
                if ($.browser.msie) {
                    $('[href^="javascript:"]').bind('click.ignoreDirtyFlag', function() {
                        __ignoreDirtyFlag = true;
                    });
                }
            });
    
            $(window).load(function() {
                Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequestHandler);
            });
    
            function endRequestHandler(sender, args) {
                // Do your stuff
                if ($.browser.msie) {
                    $('[href^="javascript:"]').bind('click.ignoreDirtyFlag', function() {
                        __ignoreDirtyFlag = true;
                    });
                }
            }
    
            //--------------------------------------------------------------
    
    
            //1.5.0- updated by Velmurugan Subramanian.
            var isEventAccured;
            var onBeforeUnloadFired = false;
            var IsButtonClick;
            window.onbeforeunload = function() {
                // alert('Beign');
    
                var HdnIsFormChanged = document.getElementById('<%= HdnIsFormChanged.ClientID %>').value;
                IsButtonClick = document.getElementById('<%=HdnIsButtonClick.ClientID %>').value;
    
                var hdnFrmIsSpiChanged = document.getElementById('<%= hdnIsSpiChanged.ClientID %>').value;
                var hdnFrmIsCpiChanged = document.getElementById('<%= hdnIsCpiChanged.ClientID %>').value;
                var hdnFrmIsMSpiChanged = document.getElementById('<%= hdnIsMSpiChanged.ClientID %>').value;
                var hdnFrmIsMCpiChanged = document.getElementById('<%= hdnIsMCpiChanged.ClientID %>').value;
                var hdnFrmIsFillRateChanged = document.getElementById('<%= hdnIsFillRateChanged.ClientID %>').value;
                var hdnFrmIsYtdChanged = document.getElementById('<%= hdnIsYtdChanged.ClientID %>').value;
                var hdnFrmIsRiskChanged = document.getElementById('<%= hdnIsRiskChanged.ClientID %>').value;
                var hdnFrmIsVocChanged = document.getElementById('<%= hdnIsVocChanged.ClientID %>').value;
    
                var ProgramNotLocked = 0;
                var PageChanged = 1;
                /*23Oct2013:PN-->Checking whether condition is null or display style is null*/
                // if (document.getElementById('mainContentPlaceholder_tprowMain') != null && document.getElementById('mainContentPlaceholder_tprowMain').style.visibility != 'hidden') {
                if (HdnIsFormChanged == PageChanged || hdnFrmIsSpiChanged == PageChanged || hdnFrmIsCpiChanged == PageChanged || hdnFrmIsMSpiChanged == PageChanged
                    || hdnFrmIsMCpiChanged == PageChanged || hdnFrmIsFillRateChanged == PageChanged || hdnFrmIsYtdChanged == PageChanged
                    || hdnFrmIsRiskChanged == PageChanged || hdnFrmIsVocChanged == PageChanged) {
                    /*23Oct2013 - PN ---> for popup screen 'this.location.search' will not be empty, but for menu 'this.location.search' will be empty*/
                    if (this.location.search == "") {
    
                        /*alert(__ignoreDirtyFlag);
                        alert(onBeforeUnloadFired);
                        alert(IsButtonClick);*/
    
                        if (!__ignoreDirtyFlag && !onBeforeUnloadFired && IsButtonClick == -1) {
                            //event.returnValue = "Any unsaved data will be lost ! Do you want to continue ?";
                            onBeforeUnloadFired = true;
                            setTimeout("ResetOnBeforeUnloadFired()", 100);
                            return "Any unsaved data will be lost ! Do you want to continue ?";
                        }
                    }
                }
                //}
                __ignoreDirtyFlag = false;
                document.getElementById('<%=HdnIsButtonClick.ClientID %>').value = "-1";
                //for view button, alert should not be shown.
                //HdnIsViewButtonClick = false;
            }
    
    
            function ResetOnBeforeUnloadFired() {
                onBeforeUnloadFired = false;
            }
    
            function SetcontrolsVisibility(IsMultipleCAM)
            {             
                if(IsMultipleCAM =="TRUE")
                {
                    document.getElementById('<%= fSetMultipleCams.ClientID  %>').style.display = 'block';
                    document.getElementById('<%= fSetPerformingOwning.ClientID  %>').style.display = 'none';
                    document.getElementById('<%= fSetFinancials.ClientID  %>').style.display = 'none';
                    document.getElementById('<%= fSetCamLinks.ClientID  %>').style.display = 'none';
                   
                }
                else
                {
                    document.getElementById('<%= fSetMultipleCams.ClientID  %>').style.display = 'none';
                    document.getElementById('<%= fSetPerformingOwning.ClientID  %>').style.display = 'block';
                    document.getElementById('<%= fSetFinancials.ClientID  %>').style.display = 'block';
                    document.getElementById('<%= fSetCamLinks.ClientID  %>').style.display = 'block';
                   
                }
    
            }
        </script>
    
    </asp:Content>
    <asp:Content ID="cntCamSub" ContentPlaceHolderID="mainContentPlaceHolder" runat="Server">
        <ext:ResourceManager ID="rsMgrCamView" runat="server" ShowWarningOnAjaxFailure="false" Namespace="" DirectMethodNamespace="AP3Direct" />
        <asp:HiddenField ID="hdnVocValue" runat="server" />
        <ext:Hidden ID="HdnIsButtonClick" Text="-1" runat="server" />
        <ext:Hidden ID="HdnIsFormChanged" runat="server" />
        <ext:Hidden ID="HdnIsPagePopup" runat="server" />
        <ext:Hidden ID="HdnSelectedCAMs" runat="server" />
        <ext:Hidden ID="HdnSelectedProjs" runat="server" />
        <ext:Hidden ID="HdnSelectedProgramIds" runat="server" />
        <ext:Hidden ID="hdnSelectedTier1Id" runat="server" />
        <ext:Hidden ID="hdnSelectedTier2Id" runat="server" />
        <ext:Hidden ID="hdnSelectedTier3Id" runat="server" />
        <ext:Hidden ID="hdnSelectedTier4Id" runat="server" />
        <ext:Hidden ID="HdnCat1Cat2MissedMilestoneCount" runat="server" />
        <ext:Hidden ID="HdnClientDateTime" runat="server" />
        <ext:Hidden ID="HdnClientDateMMDDYYYY" runat="server" />
        <ext:Hidden ID="HdnProgramExecutionType" runat="server" />
        <ext:Hidden ID="hdnSelectedMonth" runat="server" />
        <ext:Hidden ID="hdnSelectedYear" runat="server" />
        <ext:Hidden ID="hdnMtype" runat="server" />
        <ext:Hidden ID="hdnMonth" runat="server" />
        <ext:Hidden ID="hdnYear" runat="server" />
        <ext:Hidden ID="HdnIsCommentsAllowed" Text="false" runat="server" />
        <ext:Hidden ID="HdnIsProgramLocked" Text="-1" runat="server" />
        <ext:Hidden ID="hdnCpiSpiAxisYMaximumScale" runat="server" />
        <ext:Hidden ID="hdnCpiSpiAxisYInterval" runat="server" />
        <ext:Hidden ID="hdnCpiSpiAxisYMinimum" runat="server" />
        <ext:Hidden ID="HdnCPISPIView" runat="server" />
        <ext:Hidden ID="HdnMilestoneView" runat="server" />
        <ext:Hidden ID="HdnTotalFactorRiskView" runat="server" />
        <ext:Hidden ID="HdnYTDView" runat="server" />
        <ext:Hidden ID="HdnCommentsView" runat="server" />
        <ext:Hidden ID="HdnSelectedVoc" runat="server" />
        <ext:Hidden ID="HdnSelectUnselect" runat="server" />
        <ext:Hidden ID="hdnIsSpiChanged" runat="server" Text="-1" />
        <ext:Hidden ID="hdnIsCpiChanged" runat="server" Text="-1" />
        <ext:Hidden ID="hdnIsMSpiChanged" runat="server" Text="-1" />
        <ext:Hidden ID="hdnIsMCpiChanged" runat="server" Text="-1" />
        <ext:Hidden ID="hdnIsFillRateChanged" runat="server" Text="-1" />
        <ext:Hidden ID="hdnIsYtdChanged" runat="server" Text="-1" />
        <ext:Hidden ID="hdnIsRiskChanged" runat="server" Text="-1" />
        <ext:Hidden ID="hdnIsVocChanged" runat="server" Text="-1" />
        <ext:Hidden ID="Hdn4UpCommentsCopy" runat="server" />
        <ext:Hidden ID="hdnFlag" runat="server" Text="-1" />
        <ext:Hidden ID="HdnMetricSelected" runat="server" Text="-1" />
        <ext:Hidden ID="HdnWbsId" runat="server" Text="-1" />
        <ext:Hidden ID="hdnIsMultiCamView" Text="-1" runat="server" />
        <ext:Hidden ID="HdnIsUnassignedCAM" Text="false" runat="server" />
        <ext:Hidden ID="HdnGridviewRefresh" runat="server" Text="-1" />
        <ext:Hidden ID="HdnAdditionalURLParams" runat="server" Text="" />
        <ext:Hidden ID="HdnSelectedProjPEID" Text="false" runat="server" />
        <ext:Hidden ID="HdnVocDropDownChangeFlag" runat="server" Text="-1" />
        <%--    Added By Sangeeta Singh on 25 July 2014:V1.9 AP3-1049.--%>
        <ext:Hidden ID="HdnVocColor" runat="server" />
        <%--BELOW TABLE IS REQUIRED , SINCE IT WILL ALIGN THE TABLE TO WARDS LEFT SIDE--%>
        <table style="width: 99%; height: auto;">
            <tr>
                <td align="left" style="text-align: left; vertical-align: top">
                    <table border="0" style="width: 1255px; height: auto;">
                        <tr>
                            <td style="vertical-align: top">
                                <ext:Panel ID="pnlSubSearchCriteria" runat="server" Title="<b>Filter</b>"
                                    Border="true" Padding="1" Collapsible="true" TitleCollapse="true" Width="1254px" Height="445px">
                                    <Content>
                                        <ext:Label ID="LblMandate" Html="<%$ Resources:WebResource,Mandatory_Note%>" runat="server" />
                                        <ext:Container ID="cntMonthYear" runat="server" Layout="HBoxLayout" Height="45px">
                                            <Defaults>
                                                <ext:StoreParameter Name="margins" Value="2 2 22 2" Mode="Value" />
                                            </Defaults>
                                            <Items>
                                                <ext:ComboBox ID="CmbYear" runat="server" FieldLabel="Year<span class='foreColorRed'>*"
                                                    LabelAlign="Top" Editable="false" DisplayField="Year" ValueField="YearId" TypeAhead="true"
                                                    Mode="Local" ForceSelection="true" SelectOnFocus="false" Width="100" Resizable="false">
                                                    <Store>
                                                        <ext:Store ID="StrYear" runat="server">
                                                            <Model>
                                                                <ext:Model runat="server">
                                                                    <Fields>
                                                                        <ext:ModelField Name="YearId" Type="Int" />
                                                                        <ext:ModelField Name="Year" Type="String" />
                                                                    </Fields>
                                                                </ext:Model>
                                                            </Model>
                                                        </ext:Store>
                                                    </Store>
                                                    <Listeners>
                                                        <AfterRender Handler="fixComboArrow('#{CmbYear}')" />
                                                        <Select Handler="HideControl_Select();" />
                                                    </Listeners>
                                                </ext:ComboBox>
                                                <ext:ComboBox ID="CmbMonth" runat="server" FieldLabel="Month<span class='foreColorRed'>*"
                                                    LabelAlign="Top" Editable="false" DisplayField="Month" ValueField="MonthId" TypeAhead="true"
                                                    Mode="Local" ForceSelection="true" SelectOnFocus="false" Width="100" Resizable="false">
                                                    <Store>
                                                        <ext:Store ID="StrMonth" runat="server">
                                                            <Model>
                                                                <ext:Model runat="server">
                                                                    <Fields>
                                                                        <ext:ModelField Name="MonthId" Type="Int" />
                                                                        <ext:ModelField Name="Month" Type="String" />
                                                                    </Fields>
                                                                </ext:Model>
                                                            </Model>
                                                        </ext:Store>
                                                    </Store>
                                                    <Listeners>
                                                        <AfterRender Handler="fixComboArrow('#{CmbMonth}')" />
                                                        <Select Handler="HideControl_Select();" />
                                                    </Listeners>
                                                </ext:ComboBox>
                                                <ext:ComboBox TabIndex="2" ID="ddlTier2" runat="server" FieldLabel="Engineering Tier2<span class='foreColorRed'>*"
                                                    LabelAlign="Top" DisplayField="NAME" EmptyText="<%$ Resources:WebResource,WaterMark_Select%>"
                                                    ValueField="ID" Selectable="true" Mode="Local" Resizable="false" HideTrigger="false"
                                                    Width="175" Editable="false" MaxLength="100">
                                                    <Store>
                                                        <ext:Store ID="StrTier2" runat="server">
                                                            <Model>
                                                                <ext:Model IDProperty="ID" runat="server">
                                                                    <Fields>
                                                                        <ext:ModelField Name="ID" Type="Int" />
                                                                        <ext:ModelField Name="NAME" Type="String" />
                                                                    </Fields>
                                                                </ext:Model>
                                                            </Model>
                                                        </ext:Store>
                                                    </Store>
                                                    <Triggers>
                                                        <ext:FieldTrigger Icon="Clear" Qtip="Clear selection" />
                                                    </Triggers>
                                                    <Listeners>
                                                        <AfterRender Handler="fixComboArrow('#{ddlTier2}')" />
                                                        <TriggerClick Handler="this.clearValue();Deselection_DirectMethod();HideControl_Select();" />
                                                        <%-- <TriggerClick Handler="Deselection_DirectMethod();" />--%>
                                                        <%--<Select Handler="HideControl_Select();" />--%>
                                                        <Select Handler="ClearAndHideControl_Select('ddlTier2');" />
                                                        <BeforeSelect Handler="#{BtnView}.disable();" />
                                                    </Listeners>
                                                    <DirectEvents>
                                                        <Select OnEvent="DdlTier_SelectedIndexChanged">
                                                            <ExtraParams>
                                                                <ext:StoreParameter Name="parameter" Value="Tier2" />
                                                            </ExtraParams>
                                                        </Select>
                                                    </DirectEvents>
                                                </ext:ComboBox>
                                                <ext:ComboBox TabIndex="3" ID="ddlTier3" FieldLabel="Engineering Tier3<span class='foreColorRed'>*"
                                                    LabelAlign="Top" runat="server" DisplayField="NAME" EmptyText="<%$ Resources:WebResource,WaterMark_Select%>"
                                                    ValueField="ID" Width="225" Editable="false" Resizable="false" MaxLength="100"
                                                    Mode="Local" Selectable="true">
                                                    <Store>
                                                        <ext:Store ID="StrTier3" runat="server">
                                                            <Model>
                                                                <ext:Model IDProperty="ID" runat="server">
                                                                    <Fields>
                                                                        <ext:ModelField Name="ID" Type="Int" />
                                                                        <ext:ModelField Name="NAME" Type="String" />
                                                                    </Fields>
                                                                </ext:Model>
                                                            </Model>
                                                        </ext:Store>
                                                    </Store>
                                                    <Triggers>
                                                        <ext:FieldTrigger Icon="Clear" Qtip="Clear selection" />
                                                    </Triggers>
                                                    <Listeners>
                                                        <AfterRender Handler="fixComboArrow('#{ddlTier3}')" />
                                                        <TriggerClick Handler="this.clearValue();Tier4Deselection_DirectMethod();HideControl_Select();" />
                                                        <%--<Select Handler="HideControl_Select();" />--%>
                                                        <Select Handler="ClearAndHideControl_Select('ddlTier3');" />
                                                        <BeforeSelect Handler="#{BtnView}.disable();" />
                                                    </Listeners>
                                                    <DirectEvents>
                                                        <Select OnEvent="DdlTier_SelectedIndexChanged">
                                                            <ExtraParams>
                                                                <ext:StoreParameter Name="parameter" Value="Tier3" />
                                                            </ExtraParams>
                                                        </Select>
                                                    </DirectEvents>
                                                </ext:ComboBox>
                                                <ext:ComboBox TabIndex="4" ID="ddlTier4" FieldLabel="Engineering Tier4<span class='foreColorRed'>*"
                                                    LabelAlign="Top" runat="server" DisplayField="NAME" EmptyText="<%$ Resources:WebResource,WaterMark_Select%>"
                                                    ValueField="ID" Width="225" Editable="false" Resizable="false" MaxLength="100"
                                                    Mode="Local" Selectable="true">
                                                    <Store>
                                                        <ext:Store ID="StrTier4" runat="server">
                                                            <Model>
                                                                <ext:Model IDProperty="ID" runat="server">
                                                                    <Fields>
                                                                        <ext:ModelField Name="ID" Type="Int" />
                                                                        <ext:ModelField Name="NAME" Type="String" />
                                                                    </Fields>
                                                                </ext:Model>
                                                            </Model>
                                                        </ext:Store>
                                                    </Store>
                                                    <Triggers>
                                                        <ext:FieldTrigger Icon="Clear" Qtip="Clear selection" />
                                                    </Triggers>
                                                    <Listeners>
                                                        <AfterRender Handler="fixComboArrow('#{ddlTier4}')" />
                                                        <TriggerClick Handler="this.clearValue();ClearFilterValues();HideControl_Select();" />
                                                        <%--<Select Handler="HideControl_Select();" />--%>
                                                        <Select Handler="ClearAndHideControl_Select('ddlTier4');" />
                                                    </Listeners>
                                                    <DirectEvents>
                                                        <Select OnEvent="DdlTier_SelectedIndexChanged">
                                                            <ExtraParams>
                                                                <ext:StoreParameter Name="parameter" Value="Tier4" />
                                                            </ExtraParams>
                                                            <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Loading%>" Target="CustomTarget"
                                                                CustomTarget="#{GrdCams}" ShowMask="true" />
                                                        </Select>
                                                    </DirectEvents>
                                                </ext:ComboBox>
                                            </Items>
                                        </ext:Container>
                                        <ext:Container ID="cntCamOrProjects" runat="server" Margins="2 2 2 2">
                                            <Defaults>
                                               <%-- <ext:StoreParameter Name="margins" Value="2 2 5 2" Mode="Value" />--%>
                                            </Defaults>
                                            <Content>
                                                <fieldset id="fSetCamOrProjects" runat="server">
                                                    <legend>CAM / Project Selection<span class='foreColorRed'>*</span></legend>
                                                    <table>
                                                        <tr>
                                                            <td>
                                                                <ext:GridPanel ID="GrdCams" runat="server" Height="265" Width="274" EnableDragDrop="false" SelectionMemory="false"
                                                                    AutoScroll="true" EnableColumnMove="false" Margins="0 5 5 5" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>">
                                                                    <Store>
                                                                        <ext:Store ID="StrCams" runat="server">
                                                                            <Model>
                                                                                <ext:Model IDProperty="CamUnassignedId" runat="server">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="CamEmployeeId" Type="Int" />
                                                                                        <ext:ModelField Name="CamName" Type="String" />
                                                                                        <ext:ModelField Name="IsUnassigned" Type="String" />
                                                                                        <ext:ModelField Name="CamUnassignedId" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <TopBar>
                                                                        <ext:Toolbar ID="Toolbar1" runat="server">
                                                                            <Items>
                                                                                <ext:Checkbox ID="ChkCAMs" runat="server" BoxLabel="Select All" Disabled="true">
                                                                                    <DirectEvents>
                                                                                        <Change OnEvent="ChkSelectAll_Click">
                                                                                            <ExtraParams>
                                                                                                <ext:StoreParameter Name="parameter" Value="CAM" />
                                                                                            </ExtraParams>
                                                                                        </Change>
                                                                                    </DirectEvents>
                                                                                </ext:Checkbox>
                                                                                <ext:ToolbarFill ID="ToolbarFill5" runat="server" Width="100" />
                                                                                <ext:Button ID="BtnConfirmCAMs" runat="server" Text="Confirm Selection" Icon="Accept"
                                                                                    Disabled="true">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="BtnSelectedPrograms_Click">
                                                                                            <EventMask ShowMask="true" Target="CustomTarget" CustomTarget="GrdPrograms" />
                                                                                            <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Loading%>" Target="CustomTarget"
                                                                                                CustomTarget="#{GrdPrograms}" ShowMask="true" />
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                            </Items>
                                                                        </ext:Toolbar>
                                                                    </TopBar>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column runat="server" ID="CamName" Text="<b>Select CAM(s)</b>" DataIndex="CamName"
                                                                                Width="246" MenuDisabled="true" Wrap="true" />
                                                                            <ext:Column runat="server" ID="IsUnassigned" DataIndex="IsUnassigned" Hidden="true" Wrap="true" />
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <SelectionModel>
                                                                        <%-- <ext:CheckboxSelectionModel ID="CheckboxSelectionModel1" runat="server" ShowHeaderCheckbox="false" Mode="Multi"
                                                                    Width="0">
                                                                    <Listeners>
                                                                        <Select Handler="Cam_RowSelect();" />
                                                                        <Deselect Handler="Cam_RowDeSelect();" /> 
                                                                    </Listeners>
                                                                </ext:CheckboxSelectionModel>--%>
                                                                        <ext:RowSelectionModel ID="RowSelectionModelCAM" runat="server" Mode="Simple" Width="0">
                                                                            <Listeners>
                                                                                <Select Handler="Cam_RowSelect();" />
                                                                                <Deselect Handler="Cam_RowDeSelect();" />
                                                                            </Listeners>
                                                                        </ext:RowSelectionModel>
    
                                                                    </SelectionModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewAvailableCAMs" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                                                                    </View>
                                                                </ext:GridPanel>
                                                            </td>
                                                            <td>
                                                                <ext:GridPanel ID="GrdPrograms" runat="server" Height="265" Width="274" EnableDragDrop="false" SelectionMemory="false"
                                                                    AutoScroll="true" EnableColumnMove="false" Margins="0 5 5 5" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>">
                                                                    <Store>
                                                                        <ext:Store ID="StrPrograms" runat="server">
                                                                            <Model>
                                                                                <ext:Model runat="server" IDProperty="ProgramId">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="ProgramId" Type="Int" />
                                                                                        <ext:ModelField Name="ProgramName" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <TopBar>
                                                                        <ext:Toolbar ID="Toolbar2" runat="server">
                                                                            <Items>
                                                                                <ext:Checkbox ID="ChkPrograms" runat="server" BoxLabel="Select All" Disabled="true">
                                                                                    <DirectEvents>
                                                                                        <Change OnEvent="ChkSelectAll_Click">
                                                                                            <ExtraParams>
                                                                                                <ext:StoreParameter Name="parameter" Value="PROGRAM" />
                                                                                            </ExtraParams>
                                                                                        </Change>
                                                                                    </DirectEvents>
                                                                                </ext:Checkbox>
                                                                                <ext:ToolbarFill ID="ToolbarFill3" runat="server" />
                                                                                <ext:Button ID="BtnConfirmProgs" runat="server" Text="Confirm Selection" Icon="Accept"
                                                                                    Disabled="true">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="BtnSelectedProject_Click">
                                                                                            <EventMask ShowMask="true" Target="CustomTarget" CustomTarget="GrdPrograms" />
                                                                                            <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Loading%>" Target="CustomTarget"
                                                                                                CustomTarget="#{GrdProjects}" ShowMask="true" />
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                            </Items>
                                                                        </ext:Toolbar>
                                                                    </TopBar>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column runat="server" ColumnID="ProgramName" Text="<b>Select Program(s)</b>" DataIndex="ProgramName"
                                                                                Width="246" MenuDisabled="true" Wrap="true" />
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <SelectionModel>
                                                                        <%--<ext:CheckboxSelectionModel ID="CheckboxSelectionModel2" runat="server" HideCheckAll="true"
                                                                    Width="0">
                                                                    <Listeners>                                                                  
                                                                        <Select Handler="Program_RowSelect();" />
                                                                        <Deselect Handler="Program_RowDeSelect();" />
                                                                    </Listeners>
                                                                </ext:CheckboxSelectionModel>--%>
                                                                        <ext:RowSelectionModel ID="RowSelectionModeProgram" runat="server" Mode="Simple" Width="0">
                                                                            <Listeners>
                                                                                <Select Handler="Program_RowSelect();" />
                                                                                <Deselect Handler="Program_RowDeSelect();" />
                                                                            </Listeners>
                                                                        </ext:RowSelectionModel>
    
                                                                    </SelectionModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewAvailableProject" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                                                                    </View>
                                                                </ext:GridPanel>
                                                            </td>
                                                            <td>
                                                                <ext:GridPanel ID="GrdProjects" runat="server" Height="265" Width="274" EnableDragDrop="false"
                                                                    AutoScroll="true" EnableColumnMove="false" Margins="0 5 5 5" SelectionMemory="false">
                                                                    <Store>
                                                                        <ext:Store ID="StrProjects" runat="server">
                                                                            <Model>
                                                                                <ext:Model runat="server" IDProperty="ProjectId">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="ProjectId" Type="Int" />
                                                                                        <ext:ModelField Name="ProjectName" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <TopBar>
                                                                        <ext:Toolbar ID="Toolbar3" runat="server">
                                                                            <Items>
                                                                                <ext:Checkbox ID="ChkProjects" runat="server" BoxLabel="Select All" Disabled="true">
                                                                                    <DirectEvents>
                                                                                        <Change OnEvent="ChkSelectAll_Click">
                                                                                            <ExtraParams>
                                                                                                <ext:StoreParameter Name="parameter" Value="PROJECT" />
                                                                                            </ExtraParams>
                                                                                        </Change>
                                                                                    </DirectEvents>
                                                                                </ext:Checkbox>
                                                                                <ext:ToolbarFill ID="ToolbarFill2" runat="server" />
                                                                            </Items>
                                                                        </ext:Toolbar>
                                                                    </TopBar>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column runat="server" Text="<b>Select Project(s)</b>" DataIndex="ProjectName"
                                                                                Width="246" MenuDisabled="true" Wrap="true" />
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <SelectionModel>
                                                                        <%--<ext:CheckboxSelectionModel ID="CheckboxSelectionModel3" runat="server" HideCheckAll="true"
                                                                    Width="0">
                                                                    <Listeners>                                                                    
                                                                        <Select Handler="Project_RowSelect();" />
                                                                        <Deselect Handler="Project_RowDeSelect();" />
                                                                    </Listeners>
                                                                </ext:CheckboxSelectionModel>--%>
                                                                        <ext:RowSelectionModel ID="RowSelectionModelProject" runat="server" Mode="Simple" Width="0">
                                                                            <Listeners>
                                                                                <Select Handler="Project_RowSelect();" />
                                                                                <Deselect Handler="Project_RowDeSelect();" />
                                                                            </Listeners>
                                                                        </ext:RowSelectionModel>
                                                                    </SelectionModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewSelectedProject" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                                                                    </View>
                                                                </ext:GridPanel>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                                <ext:Label ID="lblCAMNote" Text="Note: Project structure in SAP that does not have a CAM EID value is assigned to the Project PE and is considered unassigned."
                                                    runat="server" Cls="NoteCss" />
                                                <ext:Panel ID="Panel1" runat="server" Border="false" ButtonAlign="Center">
                                                    <Buttons>
                                                        <ext:Button ID="BtnView" runat="server" Text="View" Width="70">
                                                            <Listeners>
                                                                <Click Handler="SetProgSubViewVisibility();ClearPanelTitles();" />
                                                            </Listeners>
                                                            <DirectEvents>
                                                                <Click OnEvent="BtnView_Click">
                                                                    <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Loading%>" ShowMask="true" />
                                                                    <ExtraParams>
                                                                        <ext:StoreParameter Name="Values" Value="Ext.encode(#{GrdCams}.getRowsValues({selectedOnly:true}))"
                                                                            Mode="Raw" />
                                                                    </ExtraParams>
                                                                </Click>
                                                            </DirectEvents>
                                                        </ext:Button>
                                                        <ext:Button ID="BtnReset" runat="server" Text="Reset" Width="70">
                                                            <DirectEvents>
                                                                <Click OnEvent="BtnReset_Click">
                                                                    <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Loading%>" ShowMask="true" />
                                                                </Click>
                                                            </DirectEvents>
                                                            <%--<Listeners>
                                                                <Click Handler="return HideSubmitLegend();" />
                                                            </Listeners>--%>
                                                        </ext:Button>
                                                    </Buttons>
                                                </ext:Panel>
                                            </Content>
                                        </ext:Container>
                                    </Content>
                                </ext:Panel>
                            </td>
                        </tr>
                    </table>
                    <table border="0" style="width: 1260px; height: auto;">
                        <tr style="vertical-align: top; padding: 0px" align="left">
                            <td align="left">
                                <ext:Panel ID="pnlLegendsAndLinks" runat="server" Border="false" Text="false" Padding="0" Height="75px">
                                    <Content>
                                        <table width="100%" border="0">
                                            <tr align="left" id="trLegend">
                                                <td>
                                                    <ext:Panel ID="pnlLegend" runat="server" Border="false" Text="false" Hidden="true" Padding="0">
                                                        <Content>
                                                            <table class="tableLegend" cellpadding="0" cellspacing="0">
                                                                <tbody>
                                                                    <tr>
                                                                        <td class="tdLegend">
                                                                            <b>Submit Button States</b>
                                                                        </td>
                                                                        <td class="tdLegend">
                                                                            <div class="divDefaultImg" />
                                                                        </td>
                                                                        <td class="tdLegend">- Not Saved or Submitted
                                                                        </td>
                                                                        <td class="tdLegend">
                                                                            <div class="divNotSavedSubmittedImg" />
                                                                        </td>
                                                                        <td class="tdLegend">- Saved but not Submitted
                                                                        </td>
                                                                        <td class="tdLegend">
                                                                            <div class="divSavedSubmittedImg" />
                                                                        </td>
                                                                        <td class="tdLegend">- Saved and Submitted
                                                                        </td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                        </Content>
                                                    </ext:Panel>
                                                </td>
                                            </tr>
                                            <tr align="left">
                                                <td style="vertical-align: top;">
                                                    <ext:Panel ID="pnlExportExcel" runat="server" Hidden="true" Width="1249px"
                                                        Padding="0" Margin="0" BodyPadding="0" Height="40px">
                                                        <Content>
                                                            <table border="0" style="vertical-align: top; width: 1250px;" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td align="left" style="vertical-align: middle; width: 860px; padding-left: 5px;padding-bottom:18px">
                                                                        <b class="NoteCss">Selected year and month: </b>
                                                                        <ext:Label ID="lblSelectedyearAndMonth" runat="server" Cls="NoteCss" />
                                                                    </td>
                                                                    <td id="tdTechIndicator" style="vertical-align: middle; text-align: left; width: 130px; padding-bottom:18px">
                                                                        <ext:LinkButton ID="extLinkTechIndicator" OnClientClick="return GetClientBrowserDateTime();"
                                                                            runat="server" Text="Technical Indicators Form" Font-Bold="false" Font-Names="Arial" 
                                                                            Cls="NoteCss" Height="10px">
                                                                            <DirectEvents>
                                                                                <Click OnEvent="TechIndicatorPopUp_Click" />
                                                                            </DirectEvents>
                                                                        </ext:LinkButton>
                                                                    </td>
                                                                    <td id="td1" style="vertical-align: middle; text-align: left; width: 120px; padding-left: 5px;padding-bottom:18px">&nbsp;
                                                                        <ext:LinkButton ID="LnkBtnErlEntry" runat="server" OnClientClick="return GetClientBrowserDateTime();" 
                                                                            Text="ERL Entry Form" Font-Bold="false" Hidden="true" Cls="NoteCss" Height="10px" >
                                                                            <DirectEvents>
                                                                                <Click OnEvent="LnkBtnErlEntry_Click">
                                                                                </Click>
                                                                            </DirectEvents>
                                                                        </ext:LinkButton>
                                                                        &nbsp;&nbsp;
                                                                    </td>
                                                                    <td valign="middle" style="padding-bottom:15px">
                                                                        <ext:Button ID="MenuItemCAM" runat="server" Text="External Reports" Icon="WorldLink"
                                                                            MenuArrow="true" Flat="true" Width="120px" Cls="NoteCss" >
                                                                            <Menu>
                                                                                <ext:Menu ID="Menus" runat="server">
                                                                                </ext:Menu>
                                                                            </Menu>
                                                                        </ext:Button>
                                                                    </td>
                                                                    <td style="vertical-align: middle; text-align: right; width: 160px; padding-right: 20px;padding-bottom:18px">
                                                                        <asp:LinkButton ID="LnkBtnExport" ToolTip="Click to open Excel view" OnClick="BtnGenenrateExcel_Click"
                                                                            runat="server" OnClientClick="return GetClientBrowserDateTime();" CssClass="NoteCss"
                                                                            Text="<img src='../../Images/forAll/Excel-icon.jpg' alt='X' />Export to excel" />
                                                                    </td>
                                                                    <td></td>
                                                                </tr>
                                                            </table>
    
                                                        </Content>
                                                    </ext:Panel>
                                                </td>
                                            </tr>
                                        </table>
                                    </Content>
                                </ext:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td style="vertical-align: top;">
                                <ext:TabPanel ID="tbmain" runat="server" Width="1254px" Plain="true"
                                    Border="false" AutoScroll="false" Hidden="true">
                                    <Items>
                                        <ext:Panel ID="pnlProgramDetails" runat="server" AutoScroll="false" Padding="0" Title="Overview" Width="1249px">
                                            <Listeners>
                                                <BeforeShow Handler="SetProgSubViewVisibility()" />
                                            </Listeners>
                                            <DirectEvents>
                                                <Activate OnEvent="pnlProgramDetails_Active">
                                                </Activate>
                                                <Deactivate OnEvent="pnlProgramDetails_Deactivate">
                                                </Deactivate>
                                            </DirectEvents>
                                        </ext:Panel>
                                        <ext:Panel ID="pnlSpiCpi" runat="server" AutoScroll="false" Title="CPI/SPI Performance" Padding="0" Width="1249px">
                                            <Listeners>
                                                <BeforeShow Handler="SetSpiCpiSubViewVisibility()" />
                                            </Listeners>
                                        </ext:Panel>
                                        <ext:Panel ID="PnlMilestonePerformance" runat="server" Width="1249px" Padding="0" AutoScroll="false" Title="Milestone Performance">
                                            <Listeners>
                                                <BeforeShow Handler="SetMilestoneSubViewVisibility()" />
                                            </Listeners>
                                        </ext:Panel>
                                        <ext:Panel ID="pnlYTDSpendView" runat="server" AutoScroll="false" Title="YTD Spend" Width="1249px">
                                            <Listeners>
                                                <BeforeShow Handler="SetYTDSpendSubViewVisibility()" />
                                            </Listeners>
                                        </ext:Panel>
                                        <ext:Panel ID="pnlTotalFactoredRisk" runat="server" AutoScroll="false" Title="Total Factored Risk" Padding="0" Width="1249px">
                                            <Listeners>
                                                <BeforeShow Handler="SetSubViewPanelsFalse();SetTotalFactorRiskSubViewVisibility();" />
                                            </Listeners>
                                        </ext:Panel>
                                        <ext:Panel ID="pnlComments" runat="server" AutoScroll="false" Padding="0" Width="1249px"
                                            Title="Comments">
                                            <Listeners>
                                                <BeforeShow Handler="SetCommentsSubViewVisibility()" />
                                            </Listeners>
                                        </ext:Panel>
                                    </Items>
                                </ext:TabPanel>
                                <ext:Container ID="pnlSubView" runat="server" Width="1260px">
                                    <Items>
                                        <ext:Panel ID="pnlSubProgView" runat="server" AutoScroll="false" Border="false">
                                            <Content>
                                                <table width="1254px" border="0" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td style="width: 50%; vertical-align: top">
    
                                                            <fieldset id="fSetPerformingOwning" runat="server" style="height: 391px; padding: 5px" clientidmode="Static">
                                                                <legend>WBS Details</legend>
                                                                <table class="tblCustom" border="0" width="100%">
                                                                    <tr style="display: none">
                                                                        <td width="16%"></td>
                                                                        <td width="16%"></td>
                                                                        <td width="16%"></td>
                                                                        <td width="16%"></td>
                                                                        <td width="16%"></td>
                                                                    </tr>
                                                                    <tr style="width: 35px">
                                                                        <td class="tdGrayColor">Program Name
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblProgramName" runat="server" />
                                                                        </td>
                                                                        <td class="tdGrayColor">Project Name
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblProjectName" runat="server" />
                                                                        </td>
                                                                        <td class="tdGrayColor">Program PE
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblProgramPe" runat="server" />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td class="tdGrayColor">Project PE
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblProjectPe" runat="server" />
                                                                        </td>
                                                                        <td class="tdGrayColor">CAM Name
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblCamName" runat="server" />
                                                                        </td>
                                                                        <td class="tdGrayColor">PPC Analyst
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblPpcAnalyst" runat="server" />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td class="tdGrayColor">Tier 2
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblIter2" runat="server" />
                                                                        </td>
                                                                        <td class="tdGrayColor">Tier 3
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblTier3" runat="server" />
                                                                        </td>
                                                                        <td class="tdGrayColor">Tier 4
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblIter4" runat="server" />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td class="tdGrayColor">SBU
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblSBU" runat="server" />
                                                                        </td>
                                                                        <td class="tdGrayColor">Tier2 CBT
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblTier2Cbt" runat="server" />
                                                                        </td>
                                                                        <td class="tdGrayColor">Business Segment
                                                                        </td>
                                                                        <td>
                                                                            <ext:Label ID="lblBusinessSegment" runat="server" />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td colspan="6"></td>
                                                                    </tr>
                                                                </table>                                                          
                                                                <ext:GridPanel ID="GrdWbs" runat="server" Height="240px" Width="650px" EnableDragDrop="false"
                                                                    AutoScroll="true" EnableColumnMove="false">
                                                                    <Store>
                                                                        <ext:Store ID="StrWbs" runat="server">
                                                                            <Model>
                                                                                <ext:Model ID="Model5" runat="server" IDProperty="WBSId">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="WBSDBId" Type="String" />
                                                                                        <ext:ModelField Name="WBSId" Type="String" />
                                                                                        <ext:ModelField Name="WBSName" Type="String" />
                                                                                        <ext:ModelField Name="WBSScope" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:TemplateColumn ID="TemplateColumn1" runat="server" Text="WBS Element" DataIndex="WBSId" MenuDisabled="true" Width="150"
                                                                                StyleSpec="text-align:left;word-break:break-all;" Height="22px">
                                                                                <Template ID="Template2" runat="server">
                                                                                    <Html>
                                                                                        <a id="{WBSDBId},{WBSName}" href="#" onclick="WbsDrillDown_Click(this)">{WBSId}</a>
                                                                                    </Html>
                                                                                </Template>
                                                                            </ext:TemplateColumn>
                                                                            <ext:Column ID="Column1" runat="server" ColumnID="WBSName" Text="WBS Description" DataIndex="WBSName" Width="240"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" />
                                                                            <ext:Column ID="Column2" runat="server" ColumnID="WBSScope" Text="WBS Scope" DataIndex="WBSScope" Width="230"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" />
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewWbs" runat="server" StripeRows="false"
                                                                            EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" TrackOver="false" />
                                                                    </View>
                                                                </ext:GridPanel>
                                                            </fieldset>
                                                        </td>
                                                        <td style="width: 50%; vertical-align: top">
                                                            <fieldset id="fSetFinancials" runat="server" style="width: 573px; height: 391px; padding: 5px" clientidmode="Static">
                                                                <legend>Financial Details</legend>
                                                                <ext:GridPanel ID="GrdFinancialDetails" runat="server" Width="555px" AutoScroll="false" 
                                                                    EnableColumnMove="false" Draggable="false">
                                                                    <Store>
                                                                        <ext:Store ID="StrFinancialDetails" runat="server">
                                                                            <Model>
                                                                                <ext:Model ID="Model6" runat="server">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="ProgramFinancials" />
                                                                                        <ext:ModelField Name="TotalProgram" Type="String" />
                                                                                        <ext:ModelField Name="CurrentYear" Type="String" />
                                                                                        <ext:ModelField Name="NextYear" Type="String" />
                                                                                        <ext:ModelField Name="ETC" Type="String" />
                                                                                        <ext:ModelField Name="Capital" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column ID="Column3" runat="server" ColumnID="ProgramFinancials" Text="Program Financials (k$)" DataIndex="ProgramFinancials"
                                                                                Width="150" MenuDisabled="true" Resizable="false" Sortable="false" Height="22px">
                                                                                <Renderer Fn="financialCell" />
                                                                            </ext:Column>
                                                                            <ext:Column ID="Column4" runat="server" ColumnID="TotalProgram" Text="Total Program" DataIndex="TotalProgram"
                                                                                Width="105" MenuDisabled="true" StyleSpec="text-align:right;padding-left:5px" Resizable="false"
                                                                                Sortable="false" Align="Right">
                                                                                <Renderer Fn="Ext.util.Format.numberRenderer('000,000,000.0')" />
                                                                            </ext:Column>
                                                                            <ext:Column ID="Column5" runat="server" ColumnID="CurrentYear" Text="Current Year" DataIndex="CurrentYear"
                                                                                Width="105" MenuDisabled="true" StyleSpec="text-align:right;padding-left:5px" Resizable="false"
                                                                                Sortable="false" Align="Right">
                                                                                <Renderer Fn="Ext.util.Format.numberRenderer('000,000,000.0')" />
                                                                            </ext:Column>
                                                                            <ext:Column ID="Column6" runat="server" ColumnID="NextYear" Text="Next Year" DataIndex="NextYear" Width="95"
                                                                                MenuDisabled="true" StyleSpec="text-align:right;padding-left:5px" Resizable="false"
                                                                                Sortable="false" Align="Right">
                                                                                <Renderer Fn="financialGreyCell" />
                                                                            </ext:Column>
                                                                            <ext:Column ID="Column7" runat="server" ColumnID="ETC" Text="ETC" DataIndex="ETC" Width="97" MenuDisabled="true"
                                                                                StyleSpec="text-align:right;padding-left:5px" Resizable="false" Sortable="false" Align="Right">
                                                                                <Renderer Fn="financialGreyCell" />
                                                                            </ext:Column>
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewFinancialDetails" runat="server" StripeRows="false"
                                                                            EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" TrackOver="false" />
                                                                    </View>
                                                                </ext:GridPanel>
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table width="1254px" border="0" cellpadding="0" cellspacing="0">
                                                    <tr>
    
                                                        <td colspan="2" style="vertical-align: top">
    
                                                            <fieldset id="fSetCamLinks" runat="server" style="width: 1240px; padding: 5px" clientidmode="Static">
                                                                <legend>CAM Links</legend>
    
                                                                <%--20 Aug 2014: V1.9:AP3-328: Sangeeta Singh --%>
                                                                <ext:Store ID="storeUploadedFiles" runat="server">
                                                                    <Model>
                                                                        <ext:Model ID="Model7" runat="server">
                                                                            <Fields>
                                                                                <ext:ModelField Name="Id" Type="Int" />
                                                                                <ext:ModelField Name="Date" Type="Date" />
                                                                                <ext:ModelField Name="ProgramName" />
                                                                                <ext:ModelField Name="ProjectName" />
                                                                                <ext:ModelField Name="ArtifactType" />
                                                                                <ext:ModelField Name="FileURL" />
                                                                                <ext:ModelField Name="OriginalName" />
                                                                                <ext:ModelField Name="TextToDisplay" />
                                                                                <ext:ModelField Name="Comments" />
                                                                                <ext:ModelField Name="UploadedOn" Type="Date" />
                                                                            </Fields>
                                                                        </ext:Model>
                                                                    </Model>
                                                                </ext:Store>
                                                                <ext:GridPanel ID="grdUploadedFiles" runat="server" StoreID="storeUploadedFiles"
                                                                    AutoScroll="true" EnableColumnMove="false" Width="1225px">
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column ID="Column8" runat="server" DataIndex="ArtifactType" Text="Artifact Type" Width="150">
                                                                            </ext:Column>
                                                                            <ext:Column ID="Column9" runat="server" DataIndex="TextToDisplay" ColumnID="TextToDisplay" Text="Artifact Link"
                                                                                Width="260" ToolTip="FileURL">
                                                                                <Renderer Fn="showAsLinkDocUpload" />
                                                                            </ext:Column>
                                                                            <ext:Column ID="Column10" runat="server" DataIndex="Comments" Text="Comments" Width="325">
                                                                            </ext:Column>
                                                                            <ext:Column ID="Column11" runat="server" DataIndex="OriginalName" Text="Uploaded File" 
                                                                                Width="200" Wrap="true">
                                                                            </ext:Column>
                                                                            <ext:ImageCommandColumn ID="ImageCommandColumn1" Width="80" Align="Center" runat="server">
                                                                                <Commands>
                                                                                    <ext:ImageCommand CommandName="Download" Icon="ApplicationPut" Text="Download">
                                                                                        <ToolTip Text="Click here to Download the Artifact." />
                                                                                    </ext:ImageCommand>
                                                                                </Commands>
                                                                                <Listeners>
                                                                                    <Command Handler="grdCommandHandler(command, record.data.Id,record.data.OriginalName);" />
                                                                                </Listeners>
                                                                                <PrepareCommand Fn="prepareCommand" />
                                                                            </ext:ImageCommandColumn>
                                                                            <ext:DateColumn ID="DateColumn1" DataIndex="UploadedOn" Text="Uploaded On" Width="150" Format="m/d/Y h:i A"
                                                                                StyleSpec="text-align:center;" runat="server">
                                                                            </ext:DateColumn>
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <SelectionModel>
                                                                        <ext:RowSelectionModel ID="RowSelectionModel3" runat="server" />
                                                                    </SelectionModel>
                                                                    <View>
                                                                        <ext:GridView ID="GridView12" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                            DeferEmptyText="false" StripeRows="false" TrackOver="false" />
                                                                    </View>
                                                                    <ToolTips>
                                                                        <ext:ToolTip ID="ttArtifactsDetails" runat="server" Target="={#{grdUploadedFiles}.getView().mainBody}"
                                                                            Delegate=".x-grid3-cell" DismissDelay="120000" Anchor="bottom" TrackMouse="true"
                                                                            BodyCssClass="wrap-tooltip">
                                                                            <Listeners>
                                                                                <Show Handler="showTipForDocUpload(this, #{grdUploadedFiles}, #{storeUploadedFiles})" />
                                                                            </Listeners>
                                                                        </ext:ToolTip>
                                                                    </ToolTips>
                                                                </ext:GridPanel>
    
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2" style="vertical-align: top">
    
                                                            <fieldset id="fSetMultipleCams" runat="server" style="width: 1240px; padding-left: 5px" clientidmode="Static">
                                                                <legend>Selected CAM/ Project/ WBS Details</legend>
    
                                                                <table class="tblCustom" border="0" width="1225px">
                                                                    <tr style="display: none">
                                                                        <td width="05%"></td>
                                                                        <td width="15%"></td>
                                                                        <td width="05%"></td>
                                                                        <td width="15%"></td>
                                                                        <td width="05%"></td>
                                                                        <td width="15%"></td>
                                                                    </tr>
                                                                    <tr style="width: 100%">
                                                                        <td class="tdGrayColor" style="width: 10%">Tier2
                                                                        </td>
                                                                        <td style="width: 20%">
                                                                            <ext:Label ID="lblSelectedTier2" runat="server" />
                                                                        </td>
                                                                        <td class="tdGrayColor" style="width: 10%">Tier3
                                                                        </td>
                                                                        <td style="width: 20%">
                                                                            <ext:Label ID="lblSelectedTier3" runat="server" />
                                                                        </td>
                                                                        <td class="tdGrayColor" style="width: 10%">Tier4
                                                                        </td>
                                                                        <td style="width: 20%">
                                                                            <ext:Label ID="lblSelectedTier4" runat="server" />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td colspan="6">
                                                                            <br />
                                                                        </td>
                                                                    </tr>
                                                                </table>                                                            
                                                                <ext:GridPanel ID="GrdMultipleCams" runat="server" Height="250px" Width="1225px" EnableDragDrop="false"
                                                                    AutoScroll="true" EnableColumnMove="false" Margins="0 0 0 0">
                                                                    <Store>
                                                                        <ext:Store ID="StrMultipleCams" runat="server">
                                                                            <Model>
                                                                                <ext:Model ID="Model8" runat="server">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="CAMName" Type="String" />
                                                                                        <ext:ModelField Name="Keycode" Type="String" />
                                                                                        <ext:ModelField Name="ProjectName" Type="String" />
                                                                                        <ext:ModelField Name="ProjectPEName" Type="String" />
                                                                                        <ext:ModelField Name="WBSDBId" Type="String" />
                                                                                        <ext:ModelField Name="WBSId" Type="String" />
                                                                                        <ext:ModelField Name="WBSScope" Type="String" />
                                                                                        <ext:ModelField Name="WBSName" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column ID="Column12" runat="server" ColumnID="CAMName" Text="CAM Name" DataIndex="CAMName" Width="160"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;" Height="22px" />
                                                                            <ext:Column ID="Column13" runat="server" ColumnID="Keycode" Text="Keycode" DataIndex="Keycode" Width="70" MenuDisabled="true" />
                                                                            <ext:Column ID="Column14" runat="server" ColumnID="ProjectName" Text="Project Name" DataIndex="ProjectName"
                                                                                Width="120" MenuDisabled="true" />
                                                                            <ext:Column ID="Column15" runat="server" ColumnID="ProjectPEName" Text="Project PE Name" DataIndex="ProjectPEName"
                                                                                Width="130" MenuDisabled="true" />
                                                                            <ext:TemplateColumn ID="TemplateColumn2" runat="server" Text="WBS Element" DataIndex="WBSId" Width="190" MenuDisabled="true"
                                                                                StyleSpec="text-align:left;word-break:break-all;">
                                                                                <Template ID="Template1" runat="server">
                                                                                    <Html>
                                                                                        <a id="A1" href="#" onclick="WbsDrillDown_Click(this)">{WBSId}</a>
                                                                                    </Html>
                                                                                </Template>
                                                                            </ext:TemplateColumn>
                                                                            <ext:Column ID="Column16" runat="server" ColumnID="WBSName" Text="WBS Description" DataIndex="WBSName" Width="263"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" />
                                                                            <ext:Column ID="Column17" runat="server" ColumnID="WBSScope" Text="WBS Scope" DataIndex="WBSScope" Width="263"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" />
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewMultipleCams" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" StripeRows="false" TrackOver="false"/>
                                                                    </View>
                                                                </ext:GridPanel>
    
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                </table>
    
                                                <br />
                                                <br />
                                                <br />
                                                <br />
    
                                            </Content>
                                        </ext:Panel>
                                        <ext:Panel ID="pnlSubCPISPIView" runat="server" AutoScroll="false"
                                            Border="false" Style="display: none" Width="1260px" Height="2050px">
                                            <Content>
                                                <table width="1250px" cellpadding="0" cellspacing="0" border="0" style="border-color: #8DB2E3; border-style: solid; border-width: 1px;">
                                                    <tr style="background-color: #D8E3F3; height: 20px">
                                                        <td align="right" style="width: 50%">
                                                            <ext:Button ID="BtnSaveSpiCpiComments" runat="server" Text="Save" Icon="Disk" EnableViewState="false">
                                                                <DirectEvents>
                                                                    <Click OnEvent="BtnSaveSpiCpiComments_Click" Delay="200">
                                                                        <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                                                        <ExtraParams>
                                                                            <ext:StoreParameter Name="parameter" Value="10" Mode="Raw" />
                                                                            <ext:StoreParameter Name="parameter1" Value="11" Mode="Raw" />
                                                                            <ext:StoreParameter Name="parameter2" Value="12" Mode="Raw" />
                                                                            <ext:StoreParameter Name="parameter3" Value="13" Mode="Raw" />
                                                                        </ExtraParams>
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:Button>
                                                        </td>
                                                        <td align="left" style="width: 50%; padding-left: 5px">
                                                            <ext:Label ID="LblSpiCpiSaveWarning" runat="server" Cls="save-label-note" Text="<%$ Resources:WebResource,Page_ETScorecard_SaveWarning %>" />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table width="1252px" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td colspan="2" style="vertical-align: top;" align="center">
                                                            <fieldset id="PnlchrCpiSpi" runat="server">
                                                                <legend>CPI/SPI Performance</legend>
                                                                <table width="100%" border="0">
                                                                    <tr>
                                                                        <td valign="middle" align="right" class="NoteCss">Set Index Limit :
                                                                        </td>
                                                                        <td valign="middle" align="left" style="padding-left: 5px">
                                                                            <ext:ComboBox runat="server" ID="ddlCpiSpiChartScale" Editable="false" HideTrigger="false"
                                                                                Width="100px">
                                                                                <Items>
                                                                                    <ext:ListItem Text="None" Value="1" />
                                                                                    <ext:ListItem Text="0 to 2" Value="2" />
                                                                                    <ext:ListItem Text="0 to 4" Value="3" />
                                                                                </Items>
                                                                                <SelectedItems>
                                                                                    <ext:ListItem Value="3" />
                                                                                </SelectedItems>
                                                                                <Listeners>
                                                                                    <Select Handler="ShowCpiSpiChartAfter_ChangeOnSetScaleIndex();(function() {Ext.net.Mask.hide();});" />
                                                                                </Listeners>
                                                                            </ext:ComboBox>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td class="cur_pointer" style="vertical-align: top; " colspan="2" align="center" >
                                                                            <ext:Panel ID="pnlCpiSpiChart" runat="server" Height="420px" Width="975px" Border="false">
                                                                                <Content>
                                                                                    <asp:Chart ID="chrCpiSpi" runat="server" ImageLocation="../../Images/Charts/YTD/YTDs_#SEQ(200,1)"
                                                                                        ImageType="Png" ImageStorageMode="UseImageLocation" Width="950px" Height="400px">
                                                                                        <Legends>
                                                                                            <asp:Legend LegendStyle="Row" IsTextAutoFit="False" Docking="Bottom" IsDockedInsideChartArea="False"
                                                                                                Name="Default" BackColor="Transparent" Font="Arial, 8.5pt" Alignment="Center">
                                                                                            </asp:Legend>
                                                                                        </Legends>
                                                                                        <Series>
                                                                                            <asp:Series Name="SPI" LegendText="Cumulative SPI" ChartType="Line" MarkerStyle="Circle"
                                                                                                Color="#6A8829" BorderWidth="3" BorderColor="180, 26, 59, 105" LabelFormat="C"
                                                                                                Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VALY(Click here to see drill down report)">
                                                                                            </asp:Series>
                                                                                            <asp:Series Name="CPI" LegendText="Cumulative CPI" ChartType="Line" MarkerStyle="Circle"
                                                                                                MarkerSize="6" Color="#E15E00" BorderWidth="3" LabelFormat="C" Font="Arial, 8.5pt"
                                                                                                ToolTip="#LEGENDTEXT: #VALY(Click here to see drill down report)">
                                                                                            </asp:Series>
                                                                                            <asp:Series Name="MSPI" LegendText="Current SPI (Month)" ChartType="Line" MarkerStyle="Diamond"
                                                                                                Color="#1E7A93" BorderWidth="3" BorderColor="180, 26, 59, 105" LabelFormat="C"
                                                                                                Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VALY(Click here to see drill down report)">
                                                                                            </asp:Series>
                                                                                            <asp:Series Name="MCPI" LegendText="Current CPI (Month)" ChartType="Line" MarkerStyle="Diamond"
                                                                                                Color="#50386E" BorderWidth="3" LabelFormat="C" Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VALY(Click here to see drill down report)">
                                                                                            </asp:Series>
                                                                                        </Series>
                                                                                        <ChartAreas>
                                                                                            <asp:ChartArea Name="ChatareaCPISPI" BackSecondaryColor="White" BackColor="White"
                                                                                                ShadowColor="Transparent" BorderColor="Black" BorderDashStyle="Solid" BorderWidth="1">
                                                                                                <Area3DStyle Rotation="10" Perspective="10" LightStyle="Realistic" Inclination="15"
                                                                                                    IsRightAngleAxes="False" WallWidth="0" IsClustered="False" />
                                                                                                <AxisY Title="Performance Index" LineColor="64, 64, 64, 64" LabelAutoFitStyle="LabelsAngleStep30"
                                                                                                    IsLabelAutoFit="true" IsMarginVisible="true">
                                                                                                    <LabelStyle Font="Arial, 8.5pt" />
                                                                                                </AxisY>
                                                                                                <AxisX LineColor="64, 64, 64" Interval="1" Maximum="Auto" IntervalAutoMode="FixedCount"
                                                                                                    LabelAutoFitStyle="None" IsLabelAutoFit="false">
                                                                                                    <LabelStyle Font="Arial, 8.5pt" />
                                                                                                    <MajorGrid Enabled="false" />
                                                                                                </AxisX>
                                                                                            </asp:ChartArea>
                                                                                        </ChartAreas>
                                                                                    </asp:Chart>
                                                                                </Content>
                                                                            </ext:Panel>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2" style="padding-left: 75px">
                                                            <fieldset id="fSetCumulativeSpi" runat="server" style="width: 1020px">
                                                                <legend>Cumulative SPI</legend>
                                                                <table border="0">
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <ext:GridPanel ID="GrdCumulativeSpi" runat="server" Height="50" Width="1005" EnableDragDrop="false"
                                                                                AutoScroll="true" EnableColumnMove="false" Margins="0 5 5 5">
                                                                                <Store>
                                                                                    <ext:Store ID="StrCumulativeSpi" runat="server">
                                                                                        <Model>
                                                                                            <ext:Model runat="server" IDProperty="Id">
                                                                                                <Fields>
                                                                                                    <ext:ModelField Name="Id" Type="Int" />
                                                                                                    <ext:ModelField Name="Name" Type="String" />
                                                                                                    <ext:ModelField Name="ITD" Type="Auto" />
                                                                                                    <ext:ModelField Name="ITD_H" Type="String" />
                                                                                                    <ext:ModelField Name="M1" Type="Auto" />
                                                                                                    <ext:ModelField Name="M1_H" Type="String" />
                                                                                                    <ext:ModelField Name="M2" Type="Auto" />
                                                                                                    <ext:ModelField Name="M2_H" Type="String" />
                                                                                                    <ext:ModelField Name="M3" Type="Auto" />
                                                                                                    <ext:ModelField Name="M3_H" Type="String" />
                                                                                                    <ext:ModelField Name="M4" Type="Auto" />
                                                                                                    <ext:ModelField Name="M4_H" Type="String" />
                                                                                                    <ext:ModelField Name="M5" Type="Auto" />
                                                                                                    <ext:ModelField Name="M5_H" Type="String" />
                                                                                                    <ext:ModelField Name="M6" Type="Auto" />
                                                                                                    <ext:ModelField Name="M6_H" Type="String" />
                                                                                                </Fields>
                                                                                            </ext:Model>
                                                                                        </Model>
                                                                                    </ext:Store>
                                                                                </Store>
                                                                                <ColumnModel>
                                                                                    <Columns>
                                                                                        <ext:Column runat="server" Text="" DataIndex="Name" Width="596" Resizable="false"
                                                                                            MenuDisabled="true" StyleSpec="text-align:right;" Sortable="false" ID="GrdCumulativeSpi_Name" />
                                                                                        <ext:Column runat="server" Text="ITD" DataIndex="ITD" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeSpi_ITD">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Jan" DataIndex="M1" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeSpi_M1">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Feb" DataIndex="M2" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeSpi_M2">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Mar" DataIndex="M3" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeSpi_M3">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Apr" DataIndex="M4" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeSpi_M4">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="May" DataIndex="M5" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeSpi_M5">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Jun" DataIndex="M6" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeSpi_M6">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                    </Columns>
                                                                                </ColumnModel>
                                                                                <View>
                                                                                    <ext:GridView ID="GrdViewCumulativeSpi" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                                        StripeRows="false" TrackOver="false" />
                                                                                </View>
                                                                                <SelectionModel>
                                                                                    <ext:CellSelectionModel runat="server"></ext:CellSelectionModel>
                                                                                </SelectionModel>
                                                                            </ext:GridPanel>
                                                                        </td>
                                                                    </tr>
                                                                    <tr id="trCumulativeSpi" runat="server">
                                                                        <td align="left">
                                                                            <ext:TextArea ID="txtSPIComments" runat="server" Width="985px" AutoScroll="true"
                                                                                DisabledClass="DisabledFieldCss" MaxLength="500" Height="60px" EmptyText="Insert comments here (500 char max)..."
                                                                                MaskRe="[^<>]">
                                                                                <Listeners>
                                                                                    <Change Handler="enableDisableMetricsSubmitButton(#{txtSPIComments},'SPI')" />
                                                                                </Listeners>
                                                                            </ext:TextArea>
                                                                        </td>
                                                                        <td align="left" style="width: 30px">
                                                                            <ext:Hidden ID="HdnSpiCommentsCopy" runat="server" />
                                                                            <ext:Hidden ID="HdnSPIState" runat="server" />
                                                                            <ext:Hidden ID="HdnSpiCommentId" Text="-1" runat="server" />
                                                                            <ext:Button ID="BtnSPIPicklist" runat="server" IconCls="cls-ico-picklist" Flat="true"
                                                                                EnableViewState="false">
                                                                                <DirectEvents>
                                                                                    <Click OnEvent="MetricsCommentsPicklist_Click">
                                                                                        <ExtraParams>
                                                                                            <ext:StoreParameter Name="parameter" Value="10" Mode="Raw" />
                                                                                        </ExtraParams>
                                                                                    </Click>
                                                                                </DirectEvents>
                                                                            </ext:Button>
                                                                            <ext:Button ID="BtnSPISubmit" runat="server" IconCls="cls-ico-defaultmode" Flat="true"
                                                                                EnableViewState="false">
                                                                                <DirectEvents>
                                                                                    <Click OnEvent="BtnMetricsCommentSubmit_Click" Delay="200">
                                                                                        <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                                                                        <ExtraParams>
                                                                                            <ext:StoreParameter Name="parameter" Value="10" Mode="Raw" />
                                                                                        </ExtraParams>
                                                                                    </Click>
                                                                                </DirectEvents>
                                                                            </ext:Button>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <ext:GridPanel ID="GrdCumulativeWbsSpi" runat="server" Height="222px" Width="1005"
                                                                                EnableDragDrop="false" AutoScroll="true" EnableColumnMove="false" EnableColumnResize="false"
                                                                                Margins="0 5 5 5">
                                                                                <Store>
                                                                                    <ext:Store ID="StrCumulativeWbsSpi" runat="server">
                                                                                        <Model>
                                                                                            <ext:Model runat="server">
                                                                                                <Fields>
                                                                                                    <ext:ModelField Name="CAMName" Type="String" />
                                                                                                    <ext:ModelField Name="Keycode" Type="String" />
                                                                                                    <ext:ModelField Name="ProjectName" Type="String" />
                                                                                                    <ext:ModelField Name="WBSId" Type="String" />
                                                                                                    <ext:ModelField Name="WBSDescription" Type="String" />
                                                                                                    <ext:ModelField Name="ITD" Type="String" />
                                                                                                    <ext:ModelField Name="ITD_H" Type="String" />
                                                                                                    <ext:ModelField Name="M1" Type="String" />
                                                                                                    <ext:ModelField Name="M1_H" Type="String" />
                                                                                                    <ext:ModelField Name="M2" Type="String" />
                                                                                                    <ext:ModelField Name="M2_H" Type="String" />
                                                                                                    <ext:ModelField Name="M3" Type="String" />
                                                                                                    <ext:ModelField Name="M3_H" Type="String" />
                                                                                                    <ext:ModelField Name="M4" Type="String" />
                                                                                                    <ext:ModelField Name="M4_H" Type="String" />
                                                                                                    <ext:ModelField Name="M5" Type="String" />
                                                                                                    <ext:ModelField Name="M5_H" Type="String" />
                                                                                                    <ext:ModelField Name="M6" Type="String" />
                                                                                                    <ext:ModelField Name="M6_H" Type="String" />
                                                                                                </Fields>
                                                                                            </ext:Model>
                                                                                        </Model>
                                                                                    </ext:Store>
                                                                                </Store>
                                                                                <ColumnModel>
                                                                                    <Columns>
                                                                                        <ext:Column runat="server" Text="CAM Name" DataIndex="CAMName" Width="120"
                                                                                            MenuDisabled="true" StyleSpec="text-align:left;" ID="GrdCumWbsSpi_CAMName" />
                                                                                        <ext:Column runat="server" Text="Keycode" DataIndex="Keycode" Width="80" MenuDisabled="true"
                                                                                            StyleSpec="text-align:left;" ID="GrdCumWbsSp_Keycode" />
                                                                                        <ext:Column runat="server" DataIndex="ProjectName" Sortable="true" Text="Project Name" Width="140"
                                                                                            Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;"
                                                                                            Align="Left" ID="GrdCumWbsSp_PrjName" />
                                                                                        <ext:Column runat="server" Text="WBS Element" DataIndex="WBSId" Width="150" MenuDisabled="true"
                                                                                            StyleSpec="text-align:left;word-break:break-all;" ID="GrdCumWbsSp_WbsID" />
                                                                                        <ext:Column runat="server" Text="WBS Description" DataIndex="WBSDescription" ID="GrdCumWbsSp_WbsDes"
                                                                                            Width="110" MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" />
                                                                                        <ext:Column runat="server" Text="ITD" DataIndex="ITD" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsSp_ITD">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Jan" DataIndex="M1" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsSp_M1">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Feb" DataIndex="M2" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsSp_M2">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Mar" DataIndex="M3" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsSp_M3">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Apr" DataIndex="M4" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsSp_M4">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="May" DataIndex="M5" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsSp_M5">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Jun" DataIndex="M6" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsSp_M6">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                    </Columns>
                                                                                </ColumnModel>
                                                                                <View>
                                                                                    <ext:GridView ID="GridView2" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                                        StripeRows="false" TrackOver="false" StyleSpec="overflow-x: hidden !important;"  />
                                                                                </View>
                                                                                 <SelectionModel>
                                                                                    <ext:CellSelectionModel ID="CellSelectionModel1" runat="server"></ext:CellSelectionModel>
                                                                                </SelectionModel>
                                                                            </ext:GridPanel>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2" style="padding-left: 75px">
                                                            <fieldset id="fSetCumulativeCpi" runat="server" style="width: 1020px">
                                                                <legend>Cumulative CPI</legend>
    
                                                                <table border="0">
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <ext:GridPanel ID="GrdCumulativeCpi" runat="server" Height="222px" Width="1005" EnableDragDrop="false"
                                                                                AutoScroll="true" EnableColumnMove="false" Margins="0 5 5 5">
                                                                                <Store>
                                                                                    <ext:Store ID="StrCumulativeCpi" runat="server">
                                                                                        <Model>
                                                                                            <ext:Model runat="server" IDProperty="Id">
                                                                                                <Fields>
                                                                                                    <ext:ModelField Name="Id" Type="Int" />
                                                                                                    <ext:ModelField Name="Name" Type="String" />
                                                                                                    <ext:ModelField Name="ITD" Type="Auto" />
                                                                                                    <ext:ModelField Name="ITD_H" Type="String" />
                                                                                                    <ext:ModelField Name="M1" Type="Auto" />
                                                                                                    <ext:ModelField Name="M1_H" Type="String" />
                                                                                                    <ext:ModelField Name="M2" Type="Auto" />
                                                                                                    <ext:ModelField Name="M2_H" Type="String" />
                                                                                                    <ext:ModelField Name="M3" Type="Auto" />
                                                                                                    <ext:ModelField Name="M3_H" Type="String" />
                                                                                                    <ext:ModelField Name="M4" Type="Auto" />
                                                                                                    <ext:ModelField Name="M4_H" Type="String" />
                                                                                                    <ext:ModelField Name="M5" Type="Auto" />
                                                                                                    <ext:ModelField Name="M5_H" Type="String" />
                                                                                                    <ext:ModelField Name="M6" Type="Auto" />
                                                                                                    <ext:ModelField Name="M6_H" Type="String" />
                                                                                                </Fields>
                                                                                            </ext:Model>
                                                                                        </Model>
                                                                                    </ext:Store>
                                                                                </Store>
                                                                                <ColumnModel>
                                                                                    <Columns>
                                                                                        <ext:Column runat="server" Text="" DataIndex="Name" Width="596" Resizable="false"
                                                                                            MenuDisabled="true" StyleSpec="text-align:right;" Sortable="false" ID="GrdCumulativeCpi_Name" />
                                                                                        <ext:Column runat="server" Text="ITD" DataIndex="ITD" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeCpi_ITD">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Jan" DataIndex="M1" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeCpi_M1">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Feb" DataIndex="M2" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeCpi_M2">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Mar" DataIndex="M3" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeCpi_M3">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="Apr" DataIndex="M4" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeCpi_M4">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" Text="May" DataIndex="M5" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeCpi_M5">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M6" Text="Jun" DataIndex="M6" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeCpi_M6">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                    </Columns>
                                                                                </ColumnModel>
                                                                                <View>
                                                                                    <ext:GridView ID="GridView3" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                                        StripeRows="false" TrackOver="false" />
                                                                                </View>
                                                                                 <SelectionModel>
                                                                                    <ext:CellSelectionModel ID="CellSelectionModel2" runat="server"></ext:CellSelectionModel>
                                                                                </SelectionModel>
                                                                            </ext:GridPanel>
                                                                        </td>
                                                                    </tr>
                                                                    <tr id="trCumulativeCpi" runat="server">
                                                                        <td align="left">
                                                                            <ext:TextArea ID="txtCPIComments" runat="server" Width="985px" AutoScroll="true"
                                                                                DisabledClass="DisabledFieldCss" MaxLength="500" Height="60px" EmptyText="Insert comments here (500 char max)..."
                                                                                MaskRe="[^<>]">
                                                                                <Listeners>
                                                                                    <Change Handler="enableDisableMetricsSubmitButton(#{txtCPIComments},'CPI')" />
                                                                                </Listeners>
                                                                            </ext:TextArea>
                                                                        </td>
                                                                        <td align="left" style="width: 30px">
                                                                            <ext:Hidden ID="HdnCpiCommentsCopy" runat="server" />
                                                                            <ext:Hidden ID="HdnCPIState" runat="server" />
                                                                            <ext:Hidden ID="HdnCpiCommentId" Text="-1" runat="server" />
                                                                            <ext:Button ID="BtnCPIPicklist" runat="server" IconCls="cls-ico-picklist" Flat="true"
                                                                                EnableViewState="false">
                                                                                <DirectEvents>
                                                                                    <Click OnEvent="MetricsCommentsPicklist_Click">
                                                                                        <ExtraParams>
                                                                                            <ext:StoreParameter Name="parameter" Value="11" Mode="Raw" />
                                                                                        </ExtraParams>
                                                                                    </Click>
                                                                                </DirectEvents>
                                                                            </ext:Button>
                                                                            <ext:Button ID="BtnCPISubmit" runat="server" IconCls="cls-ico-defaultmode" Flat="true"
                                                                                EnableViewState="false">
                                                                                <DirectEvents>
                                                                                    <Click OnEvent="BtnMetricsCommentSubmit_Click" Delay="200">
                                                                                        <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                                                                        <ExtraParams>
                                                                                            <ext:StoreParameter Name="parameter" Value="11" Mode="Raw" />
                                                                                        </ExtraParams>
                                                                                    </Click>
                                                                                </DirectEvents>
                                                                            </ext:Button>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <ext:GridPanel ID="GrdCumulativeWbsCpi" runat="server" Height="222px" Width="1005"
                                                                                EnableDragDrop="false" AutoScroll="true" EnableColumnMove="false" EnableColumnResize="false"
                                                                                Margins="0 5 5 5">
                                                                                <Store>
                                                                                    <ext:Store ID="StrCumulativeWbsCpi" runat="server">
                                                                                        <Model>
                                                                                            <ext:Model runat="server">
                                                                                                <Fields>
                                                                                                    <ext:ModelField Name="CAMName" Type="String" />
                                                                                                    <ext:ModelField Name="Keycode" Type="String" />
                                                                                                    <ext:ModelField Name="ProjectName" Type="String" />
                                                                                                    <ext:ModelField Name="WBSId" Type="String" />
                                                                                                    <ext:ModelField Name="WBSDescription" Type="String" />
                                                                                                    <ext:ModelField Name="ITD" Type="String" />
                                                                                                    <ext:ModelField Name="ITD_H" Type="String" />
                                                                                                    <ext:ModelField Name="M1" Type="String" />
                                                                                                    <ext:ModelField Name="M1_H" Type="String" />
                                                                                                    <ext:ModelField Name="M2" Type="String" />
                                                                                                    <ext:ModelField Name="M2_H" Type="String" />
                                                                                                    <ext:ModelField Name="M3" Type="String" />
                                                                                                    <ext:ModelField Name="M3_H" Type="String" />
                                                                                                    <ext:ModelField Name="M4" Type="String" />
                                                                                                    <ext:ModelField Name="M4_H" Type="String" />
                                                                                                    <ext:ModelField Name="M5" Type="String" />
                                                                                                    <ext:ModelField Name="M5_H" Type="String" />
                                                                                                    <ext:ModelField Name="M6" Type="String" />
                                                                                                    <ext:ModelField Name="M6_H" Type="String" />
                                                                                                </Fields>
                                                                                            </ext:Model>
                                                                                        </Model>
                                                                                    </ext:Store>
                                                                                </Store>
                                                                                <ColumnModel>
                                                                                    <Columns>
                                                                                        <ext:Column runat="server" ColumnID="CAMName" Text="CAM Name" DataIndex="CAMName" Width="120"
                                                                                            MenuDisabled="true" StyleSpec="text-align:left;" ID="GrdCumulativeWbsCpi_Name" />
                                                                                        <ext:Column runat="server" ColumnID="Keycode" Text="Keycode" DataIndex="Keycode" Width="80" MenuDisabled="true"
                                                                                            StyleSpec="text-align:left;" ID="GrdCumulativeWbsCpi_Keycode" />
                                                                                        <ext:Column runat="server" DataIndex="ProjectName" Sortable="true" Text="Project Name" Width="140"
                                                                                            Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;"
                                                                                            Align="Left" ID="GrdCumulativeWbsCpi_PrjName" />
                                                                                        <ext:Column runat="server" ColumnID="WBSId" Text="WBS Element" DataIndex="WBSId" Width="150" MenuDisabled="true"
                                                                                            StyleSpec="text-align:left;word-break:break-all;" ID="GrdCumulativeWbsCpi_WbsId" />
                                                                                        <ext:Column runat="server" ColumnID="WBSDescription" Text="WBS Description" DataIndex="WBSDescription"
                                                                                            Width="110" MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" ID="GrdCumulativeWbsCpi_WbsDes" />
                                                                                        <ext:Column runat="server" ColumnID="ITD" Text="ITD" DataIndex="ITD" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumulativeWbsCpi_ITD">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M1" Text="Jan" DataIndex="M1" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumulativeWbsCpi_M1">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M2" Text="Feb" DataIndex="M2" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumulativeWbsCpi_M2">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M3" Text="Mar" DataIndex="M3" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumulativeWbsCpi_M3">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M4" Text="Apr" DataIndex="M4" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumulativeWbsCpi_M4">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M5" Text="May" DataIndex="M5" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumulativeWbsCpi_M5">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M6" Text="Jun" DataIndex="M6" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumulativeWbsCpi_M6">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                    </Columns>
                                                                                </ColumnModel>
                                                                                <View>
                                                                                    <ext:GridView ID="GridView4" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                                        StripeRows="false" TrackOver="false" StyleSpec="overflow-x: hidden !important;" />
                                                                                </View>
                                                                                 <SelectionModel>
                                                                                    <ext:CellSelectionModel ID="CellSelectionModel3" runat="server"></ext:CellSelectionModel>
                                                                                </SelectionModel>
                                                                            </ext:GridPanel>
                                                                        </td>
                                                                    </tr>
                                                                </table>
    
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2" style="padding-left: 75px">
                                                            <fieldset id="fSetCumulativeMSpi" runat="server" style="width: 1020px">
                                                                <legend>Monthly Cumulative SPI</legend>
                                                                <table border="0">
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <ext:GridPanel ID="GrdCumulativeMSpi" runat="server" Height="222px" Width="1005"
                                                                                EnableDragDrop="false" AutoScroll="true" EnableColumnMove="false" Margins="0 5 5 5">
                                                                                <Store>
                                                                                    <ext:Store ID="StrCumulativeMSpi" runat="server">
                                                                                        <Model>
                                                                                            <ext:Model runat="server" IDProperty="Id">
                                                                                                <Fields>
                                                                                                    <ext:ModelField Name="Id" Type="Int" />
                                                                                                    <ext:ModelField Name="Name" Type="String" />
                                                                                                    <ext:ModelField Name="YTD" Type="Auto" />
                                                                                                    <ext:ModelField Name="YTD_H" Type="String" />
                                                                                                    <ext:ModelField Name="M1" Type="Auto" />
                                                                                                    <ext:ModelField Name="M1_H" Type="String" />
                                                                                                    <ext:ModelField Name="M2" Type="Auto" />
                                                                                                    <ext:ModelField Name="M2_H" Type="String" />
                                                                                                    <ext:ModelField Name="M3" Type="Auto" />
                                                                                                    <ext:ModelField Name="M3_H" Type="String" />
                                                                                                    <ext:ModelField Name="M4" Type="Auto" />
                                                                                                    <ext:ModelField Name="M4_H" Type="String" />
                                                                                                    <ext:ModelField Name="M5" Type="Auto" />
                                                                                                    <ext:ModelField Name="M5_H" Type="String" />
                                                                                                    <ext:ModelField Name="M6" Type="Auto" />
                                                                                                    <ext:ModelField Name="M6_H" Type="String" />
                                                                                                </Fields>
                                                                                            </ext:Model>
                                                                                        </Model>
                                                                                    </ext:Store>
                                                                                </Store>
                                                                                <ColumnModel>
                                                                                    <Columns>
                                                                                        <ext:Column runat="server" ColumnID="Name" Text="" DataIndex="Name" Width="596" Resizable="false"
                                                                                            MenuDisabled="true" StyleSpec="text-align:right;" Sortable="false" ID="GrdCumulativeMSpi_Name" />
                                                                                        <ext:Column runat="server" ColumnID="YTD" Text="YTD" DataIndex="YTD" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" StyleSpec="text-align:center;" Align="Center" ID="GrdCumulativeMSpi_YTD">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M1" Text="Jan" DataIndex="M1" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" StyleSpec="text-align:center;" Align="Center" ID="GrdCumulativeMSpi_M1">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M2" Text="Feb" DataIndex="M2" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeMSpi_M2">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M3" Text="Mar" DataIndex="M3" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeMSpi_M3">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M4" Text="Apr" DataIndex="M4" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeMSpi_M4">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M5" Text="May" DataIndex="M5" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeMSpi_M5">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M6" Text="Jun" DataIndex="M6" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumulativeMSpi_6">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                    </Columns>
                                                                                </ColumnModel>
                                                                                <View>
                                                                                    <ext:GridView ID="GrdViewMonthlyCumulativeSpi" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                                        StripeRows="false" TrackOver="false" />
                                                                                </View>
                                                                                 <SelectionModel>
                                                                                    <ext:CellSelectionModel ID="CellSelectionModel4" runat="server"></ext:CellSelectionModel>
                                                                                </SelectionModel>
                                                                            </ext:GridPanel>
                                                                        </td>
                                                                    </tr>
                                                                    <tr id="trMonthlyCumulativeSpi" runat="server">
                                                                        <td align="left">
                                                                            <ext:TextArea ID="txtCurrentSPIComments" runat="server" Width="985px" AutoScroll="true"
                                                                                DisabledClass="DisabledFieldCss" MaxLength="500" Height="60px" EmptyText="Insert comments here (500 char max)..."
                                                                                MaskRe="[^<>]">
                                                                                <Listeners>
                                                                                    <Change Handler="enableDisableMetricsSubmitButton(#{txtCurrentSPIComments},'MSPI')" />
                                                                                </Listeners>
                                                                            </ext:TextArea>
                                                                        </td>
                                                                        <td align="left" style="width: 30px">
                                                                            <ext:Hidden ID="HdnCurSpiCommentsCopy" runat="server" />
                                                                            <ext:Hidden ID="HdnCurSpiState" runat="server" />
                                                                            <ext:Hidden ID="HdnCurSpiCommentId" Text="-1" runat="server" />
                                                                            <ext:Button ID="BtnCurrentSPIPicklist" runat="server" IconCls="cls-ico-picklist"
                                                                                Flat="true" EnableViewState="false">
                                                                                <DirectEvents>
                                                                                    <Click OnEvent="MetricsCommentsPicklist_Click">
                                                                                        <ExtraParams>
                                                                                            <ext:StoreParameter Name="parameter" Value="12" Mode="Raw" />
                                                                                        </ExtraParams>
                                                                                    </Click>
                                                                                </DirectEvents>
                                                                            </ext:Button>
                                                                            <ext:Button ID="BtnCurrentSPISubmit" runat="server" IconCls="cls-ico-defaultmode"
                                                                                Flat="true" EnableViewState="false">
                                                                                <DirectEvents>
                                                                                    <Click OnEvent="BtnMetricsCommentSubmit_Click" Delay="200">
                                                                                        <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                                                                        <ExtraParams>
                                                                                            <ext:StoreParameter Name="parameter" Value="12" Mode="Raw" />
                                                                                        </ExtraParams>
                                                                                    </Click>
                                                                                </DirectEvents>
                                                                            </ext:Button>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <ext:GridPanel ID="GrdCumulativeWbsMSpi" runat="server" Height="150" Width="1005"
                                                                                EnableDragDrop="false" AutoScroll="true" EnableColumnMove="false" EnableColumnResize="false"
                                                                                Margins="0 5 5 5">
                                                                                <Store>
                                                                                    <ext:Store ID="StrCumulativeWbsMSpi" runat="server">
                                                                                        <Model>
                                                                                            <ext:Model runat="server">
                                                                                                <Fields>
                                                                                                    <ext:ModelField Name="CAMName" Type="String" />
                                                                                                    <ext:ModelField Name="Keycode" Type="String" />
                                                                                                    <ext:ModelField Name="ProjectName" Type="String" />
                                                                                                    <ext:ModelField Name="WBSId" Type="String" />
                                                                                                    <ext:ModelField Name="WBSDescription" Type="String" />
                                                                                                    <ext:ModelField Name="YTD" Type="String" />
                                                                                                    <ext:ModelField Name="YTD_H" Type="String" />
                                                                                                    <ext:ModelField Name="M1" Type="String" />
                                                                                                    <ext:ModelField Name="M1_H" Type="String" />
                                                                                                    <ext:ModelField Name="M2" Type="String" />
                                                                                                    <ext:ModelField Name="M2_H" Type="String" />
                                                                                                    <ext:ModelField Name="M3" Type="String" />
                                                                                                    <ext:ModelField Name="M3_H" Type="String" />
                                                                                                    <ext:ModelField Name="M4" Type="String" />
                                                                                                    <ext:ModelField Name="M4_H" Type="String" />
                                                                                                    <ext:ModelField Name="M5" Type="String" />
                                                                                                    <ext:ModelField Name="M5_H" Type="String" />
                                                                                                    <ext:ModelField Name="M6" Type="String" />
                                                                                                    <ext:ModelField Name="M6_H" Type="String" />
                                                                                                </Fields>
                                                                                            </ext:Model>
                                                                                        </Model>
                                                                                    </ext:Store>
                                                                                </Store>
                                                                                <ColumnModel>
                                                                                    <Columns>
                                                                                        <ext:Column runat="server" ColumnID="CAMName" Text="CAM Name" DataIndex="CAMName" Width="120"
                                                                                            MenuDisabled="true" StyleSpec="text-align:left;" ID="GrdCumWbsMSpi_CamName" />
                                                                                        <ext:Column runat="server" ColumnID="Keycode" Text="Keycode" DataIndex="Keycode" Width="80" MenuDisabled="true"
                                                                                            StyleSpec="text-align:left;" ID="GrdCumWbsMSpi_Keycode" />
                                                                                        <ext:Column runat="server" DataIndex="ProjectName" Sortable="true" Text="Project Name" Width="140"
                                                                                            Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;"
                                                                                            Align="Left" ID="GrdCumWbsMSpi_PrjName" />
                                                                                        <ext:Column runat="server" ColumnID="WBSId" Text="WBS Element" DataIndex="WBSId" Width="150" MenuDisabled="true"
                                                                                            StyleSpec="text-align:left;word-break:break-all;" ID="GrdCumWbsMSpi_WbsId" />
                                                                                        <ext:Column runat="server" ColumnID="WBSDescription" Text="WBS Description" DataIndex="WBSDescription"
                                                                                            Width="110" MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" ID="GrdCumWbsMSpi_WbsDec" />
                                                                                        <ext:Column runat="server" ColumnID="YTD" Text="YTD" DataIndex="YTD" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" Align="Center" ID="GrdCumWbsMSpi_YTD">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M1" Text="Jan" DataIndex="M1" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMSpi_M1">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M2" Text="Feb" DataIndex="M2" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMSpi_M2">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M3" Text="Mar" DataIndex="M3" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMSpi_M3">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M4" Text="Apr" DataIndex="M4" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMSpi_M4">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M5" Text="May" DataIndex="M5" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMSpi_M5">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M6" Text="Jun" DataIndex="M6" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMSpi_M6">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                    </Columns>
                                                                                </ColumnModel>
                                                                                <View>
                                                                                    <ext:GridView ID="GridView5" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                                        StripeRows="false" TrackOver="false" StyleSpec="overflow-x: hidden !important;" />
                                                                                </View>
                                                                                 <SelectionModel>
                                                                                    <ext:CellSelectionModel ID="CellSelectionModel5" runat="server"></ext:CellSelectionModel>
                                                                                </SelectionModel>
                                                                            </ext:GridPanel>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2" style="padding-left: 75px">
                                                            <fieldset id="fSetCumulativeMCpi" runat="server" style="width: 1020px">
                                                                <legend>Monthly Cumulative CPI</legend>
                                                                <table border="0">
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <ext:GridPanel ID="GrdCumulativeMCpi" runat="server" Height="50" Width="1005" EnableDragDrop="false"
                                                                                AutoScroll="true" EnableColumnMove="false" Margins="0 5 5 5">
                                                                                <Store>
                                                                                    <ext:Store ID="StrCumulativeMCpi" runat="server">
                                                                                        <Model>
                                                                                            <ext:Model runat="server" IDProperty="Id">
                                                                                                <Fields>
                                                                                                    <ext:ModelField Name="Id" Type="Int" />
                                                                                                    <ext:ModelField Name="Name" Type="String" />
                                                                                                    <ext:ModelField Name="YTD" Type="Auto" />
                                                                                                    <ext:ModelField Name="YTD_H" Type="String" />
                                                                                                    <ext:ModelField Name="M1" Type="Auto" />
                                                                                                    <ext:ModelField Name="M1_H" Type="String" />
                                                                                                    <ext:ModelField Name="M2" Type="Auto" />
                                                                                                    <ext:ModelField Name="M2_H" Type="String" />
                                                                                                    <ext:ModelField Name="M3" Type="Auto" />
                                                                                                    <ext:ModelField Name="M3_H" Type="String" />
                                                                                                    <ext:ModelField Name="M4" Type="Auto" />
                                                                                                    <ext:ModelField Name="M4_H" Type="String" />
                                                                                                    <ext:ModelField Name="M5" Type="Auto" />
                                                                                                    <ext:ModelField Name="M5_H" Type="String" />
                                                                                                    <ext:ModelField Name="M6" Type="Auto" />
                                                                                                    <ext:ModelField Name="M6_H" Type="String" />
                                                                                                </Fields>
                                                                                            </ext:Model>
                                                                                        </Model>
                                                                                    </ext:Store>
                                                                                </Store>
                                                                                <ColumnModel>
                                                                                    <Columns>
                                                                                        <ext:Column runat="server" ColumnID="Name" Text="" DataIndex="Name" Width="596" Resizable="false"
                                                                                            MenuDisabled="true" StyleSpec="text-align:right;" Sortable="false" ID="GrdCumMCpi_Name" />
                                                                                        <ext:Column runat="server" ColumnID="YTD" Text="YTD" DataIndex="YTD" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" StyleSpec="text-align:center;" Align="Center" ID="GrdCumMCpi_YTD">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M1" Text="Jan" DataIndex="M1" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumMCpi_M1">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M2" Text="Feb" DataIndex="M2" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumMCpii_M2">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M3" Text="Mar" DataIndex="M3" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumMCpi_M3">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M4" Text="Apr" DataIndex="M4" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumMCpi_M4">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M5" Text="May" DataIndex="M5" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumMCpi_M5">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M6" Text="Jun" DataIndex="M6" Width="55" Sortable="false"
                                                                                            Resizable="false" MenuDisabled="true" Align="Center" ID="GrdCumMCpi_M6">
                                                                                            <Renderer Fn="SpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                    </Columns>
                                                                                </ColumnModel>
                                                                                <View>
                                                                                    <ext:GridView ID="GrdViewMonthlyCumulativeCpi" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                                        StripeRows="false" TrackOver="false" />
                                                                                </View>
                                                                                 <SelectionModel>
                                                                                    <ext:CellSelectionModel ID="CellSelectionModel6" runat="server"></ext:CellSelectionModel>
                                                                                </SelectionModel>
                                                                            </ext:GridPanel>
                                                                        </td>
                                                                    </tr>
                                                                    <tr id="trMonthlyCumulativeCpi" runat="server">
                                                                        <td align="left">
                                                                            <ext:TextArea ID="txtCurrentCPIComments" runat="server" Width="985px" AutoScroll="true"
                                                                                DisabledClass="DisabledFieldCss" MaxLength="500" Height="60px" EmptyText="Insert comments here (500 char max)..."
                                                                                MaskRe="[^<>]">
                                                                                <Listeners>
                                                                                    <Change Handler="enableDisableMetricsSubmitButton(#{txtCurrentCPIComments},'MCPI')" />
                                                                                </Listeners>
                                                                            </ext:TextArea>
                                                                        </td>
                                                                        <td align="left" style="width: 30px">
                                                                            <ext:Hidden ID="HdnCurCpiCommentsCopy" runat="server" />
                                                                            <ext:Hidden ID="HdnCurCpiState" runat="server" />
                                                                            <ext:Hidden ID="HdnCurCpiCommentId" Text="-1" runat="server" />
                                                                            <ext:Button ID="BtnCurrentCPIPicklist" runat="server" IconCls="cls-ico-picklist"
                                                                                Flat="true" EnableViewState="false">
                                                                                <DirectEvents>
                                                                                    <Click OnEvent="MetricsCommentsPicklist_Click">
                                                                                        <ExtraParams>
                                                                                            <ext:StoreParameter Name="parameter" Value="13" Mode="Raw" />
                                                                                        </ExtraParams>
                                                                                    </Click>
                                                                                </DirectEvents>
                                                                            </ext:Button>
                                                                            <ext:Button ID="BtnCurrentCPISubmit" runat="server" IconCls="cls-ico-defaultmode"
                                                                                Flat="true" EnableViewState="false">
                                                                                <DirectEvents>
                                                                                    <Click OnEvent="BtnMetricsCommentSubmit_Click" Delay="200">
                                                                                        <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                                                                        <ExtraParams>
                                                                                            <ext:StoreParameter Name="parameter" Value="13" Mode="Raw" />
                                                                                        </ExtraParams>
                                                                                    </Click>
                                                                                </DirectEvents>
                                                                            </ext:Button>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <ext:GridPanel ID="GrdCumulativeWbsMCpi" runat="server" Height="150" Width="1005"
                                                                                EnableDragDrop="false" AutoScroll="true" EnableColumnMove="false" EnableColumnResize="false"
                                                                                Margins="0 5 5 5">
                                                                                <Store>
                                                                                    <ext:Store ID="StrCumulativeWbsMCpi" runat="server">
                                                                                        <Model>
                                                                                            <ext:Model runat="server">
                                                                                                <Fields>
                                                                                                    <ext:ModelField Name="CAMName" Type="String" />
                                                                                                    <ext:ModelField Name="Keycode" Type="String" />
                                                                                                    <ext:ModelField Name="ProjectName" Type="String" />
                                                                                                    <ext:ModelField Name="WBSId" Type="String" />
                                                                                                    <ext:ModelField Name="WBSDescription" Type="String" />
                                                                                                    <ext:ModelField Name="YTD" Type="String" />
                                                                                                    <ext:ModelField Name="YTD_H" Type="String" />
                                                                                                    <ext:ModelField Name="M1" Type="String" />
                                                                                                    <ext:ModelField Name="M1_H" Type="String" />
                                                                                                    <ext:ModelField Name="M2" Type="String" />
                                                                                                    <ext:ModelField Name="M2_H" Type="String" />
                                                                                                    <ext:ModelField Name="M3" Type="String" />
                                                                                                    <ext:ModelField Name="M3_H" Type="String" />
                                                                                                    <ext:ModelField Name="M4" Type="String" />
                                                                                                    <ext:ModelField Name="M4_H" Type="String" />
                                                                                                    <ext:ModelField Name="M5" Type="String" />
                                                                                                    <ext:ModelField Name="M5_H" Type="String" />
                                                                                                    <ext:ModelField Name="M6" Type="String" />
                                                                                                    <ext:ModelField Name="M6_H" Type="String" />
                                                                                                </Fields>
                                                                                            </ext:Model>
                                                                                        </Model>
                                                                                    </ext:Store>
                                                                                </Store>
                                                                                <ColumnModel>
                                                                                    <Columns>
                                                                                        <ext:Column runat="server" ColumnID="CAMName" Text="CAM Name" DataIndex="CAMName" Width="120"
                                                                                            MenuDisabled="true" StyleSpec="text-align:left;" ID="GrdCumWbsMCpi_CamName" />
                                                                                        <ext:Column runat="server" ColumnID="Keycode" Text="Keycode" DataIndex="Keycode" Width="80" MenuDisabled="true"
                                                                                            StyleSpec="text-align:left;" ID="GrdCumWbsMCpi_Keycode" />
                                                                                        <ext:Column runat="server" DataIndex="ProjectName" Sortable="true" Text="Project Name" Width="140"
                                                                                            Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;"
                                                                                            Align="Left" ID="GrdCumWbsMCpi_PrjName" />
                                                                                        <ext:Column runat="server" ColumnID="WBSId" Text="WBS Element" DataIndex="WBSId" Width="150" MenuDisabled="true"
                                                                                            StyleSpec="text-align:left;word-break:break-all;" ID="GrdCumWbsMCpi_WbsID" />
                                                                                        <ext:Column runat="server" ColumnID="WBSDescription" Text="WBS Description" DataIndex="WBSDescription"
                                                                                            Width="110" MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" ID="GrdCumWbsMCpi_Des" />
                                                                                        <ext:Column runat="server" ColumnID="YTD" Text="YTD" DataIndex="YTD" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" Align="Center" ID="GrdCumWbsMCpi_YTD">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M1" Text="Jan" DataIndex="M1" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMCpi_M1">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M2" Text="Feb" DataIndex="M2" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMCpi_M2">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M3" Text="Mar" DataIndex="M3" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMCpi_M3">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M4" Text="Apr" DataIndex="M4" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMCpi_M4">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M5" Text="May" DataIndex="M5" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMCpi_M5">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                        <ext:Column runat="server" ColumnID="M6" Text="Jun" DataIndex="M6" Width="55" MenuDisabled="true"
                                                                                            StyleSpec="text-align:center;" ID="GrdCumWbsMCpi_M6">
                                                                                            <Renderer Fn="WbsSpiCpi_Renderer" />
                                                                                        </ext:Column>
                                                                                    </Columns>
                                                                                </ColumnModel>
                                                                                <View>
                                                                                    <ext:GridView ID="GridView6" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                                        StripeRows="false" TrackOver="false" StyleSpec="overflow-x: hidden !important;"/>
                                                                                </View>
                                                                                 <SelectionModel>
                                                                                    <ext:CellSelectionModel ID="CellSelectionModel7" runat="server"></ext:CellSelectionModel>
                                                                                </SelectionModel>
                                                                            </ext:GridPanel>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </Content>
                                        </ext:Panel>
                                        <ext:Panel ID="pnlSubMilestoneView" runat="server" AutoScroll="false" Border="false" Height="1775px">
                                            <Content>
                                                
                                                <ext:Label ID="lblNote" runat="server" Text="
                                                        Note: Only those Milestones that are owned by E&T are shown in the CAM Scorecard. 
                                                        Milestones owned by ISC, AME, C&PS or PMO are not included." Cls="NoteCss" >
                                                </ext:Label>                                           
                                                <fieldset class='cur_pointer' style="padding: 05px; height: auto;">
                                                    <legend><b>Milestone Performance (Cat1, Cat2 & Cat3)</b></legend>
    
                                                    <ext:Container ID="cntMsLinks" runat="server" Layout="HBoxLayout">
                                                        <Items>
                                                            <ext:LinkButton ID="LnkBtnShowMissedmilestones" runat="server" Text="(Missed Milestones)"
                                                                Font-Bold="false" Font-Names="Arial" Cls="NoteCss">
                                                                <DirectEvents>
                                                                    <Click OnEvent="LnkBtnShowMissedmilestones_Click">
                                                                        <EventMask ShowMask="true" Msg="Loading..."></EventMask>
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:LinkButton>
    
                                                            <ext:Label ID="lblWidth" runat="server" Html="&nbsp;&nbsp;" />
    
                                                            <ext:LinkButton ID="LnkBtnShowMilestoneReport" runat="server" Text="(Detailed Milestones Report)"
                                                                Font-Names="Arial" Font-Size="8.5pt" Font-Bold="false" Cls="NoteCss">
                                                                <DirectEvents>
                                                                    <Click OnEvent="LnkBtnShowMilestoneReport_Click">
                                                                        <EventMask ShowMask="true" Msg="Loading..."></EventMask>
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:LinkButton>
    
                                                        </Items>
                                                    </ext:Container>
    
                                                    <table width="99%">
                                                        <tr>
                                                            <td width="10%">&nbsp;
                                                            </td>
                                                            <td width="80%">&nbsp;
                                                            </td>
                                                            <td width="10%">&nbsp;
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="vertical-align: top;" align="center">
                                                                <table>
                                                                    <tr>
                                                                        <td align="center" class="NoteCss">Filter By Category :
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="center">
                                                                            <ext:ComboBox runat="server" ID="DdlMsPerformanceChart" Editable="false" HideTrigger="false"
                                                                                Width="75px">
                                                                                <Items>
                                                                                    <ext:ListItem Text="ALL" Value="1,2,3" />
                                                                                    <ext:ListItem Text="Cat 1" Value="1" />
                                                                                    <ext:ListItem Text="Cat 2" Value="2" />
                                                                                    <ext:ListItem Text="Cat 1&2" Value="1,2" />
                                                                                    <ext:ListItem Text="Cat 3" Value="3" />
                                                                                </Items>
                                                                                <SelectedItems>
                                                                                    <ext:ListItem Text="ALL" Value="1,2,3" />
                                                                                </SelectedItems>
                                                                                <Listeners>
                                                                                    <Select Handler="DdlMsPerformanceChart_ChangeOnSetScaleIndex();(function() {Ext.net.Mask.hide();});" />
                                                                                </Listeners>
                                                                            </ext:ComboBox>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td style="vertical-align: top;" align="center" id="tdMsPerformance">
                                                                <ext:Panel ID="PnlMilestone" runat="server" Height="420px" Border="false">
                                                                    <Content>
                                                                        <asp:Chart ID="ChartMilestone" runat="server" ImageLocation="../../Images/Charts/PIA/MilesStone_#SEQ(200,1)"
                                                                            ImageType="Png" ImageStorageMode="UseImageLocation" Height="400px" Width="950px">
                                                                            <Legends>
                                                                                <asp:Legend LegendStyle="Table" IsTextAutoFit="False" Docking="Bottom" IsDockedInsideChartArea="False"
                                                                                    Name="Default" BackColor="Transparent" Font="Arial, 8.5pt" Alignment="Center">
                                                                                </asp:Legend>
                                                                            </Legends>
                                                                            <Series>
                                                                                <asp:Series Name="Planned" ChartType="StackedColumn" BorderColor="180, 26, 59, 105"
                                                                                    Color="Transparent" XAxisType="Primary" Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VALY(Click here to see drill down report)" />
                                                                                <asp:Series Name="CompletedOnTime" ChartType="StackedColumn" BackGradientStyle="None"
                                                                                    XValueType="String" BorderColor="180, 26, 59, 105" Color="#008000" Palette="None"
                                                                                    XAxisType="Primary" Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VALY(Click here to see drill down report)" />
                                                                                <asp:Series Name="CompletedLate" ChartType="StackedColumn" BorderColor="180, 26, 59, 105"
                                                                                    Color="Yellow" XAxisType="Primary" Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VALY(Click here to see drill down report)" />
                                                                                <asp:Series Name="PastDue" ChartType="StackedColumn" BorderColor="180, 26, 59, 105"
                                                                                    Color="Red" XAxisType="Primary" Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VALY(Click here to see drill down report)" />
                                                                                <asp:Series Name="ForecastedLate" ChartType="StackedColumn" BorderColor="180, 26, 59, 105"
                                                                                    Color="Pink" XAxisType="Primary" Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VALY(Click here to see drill down report)" />
                                                                                <asp:Series Name="OntimePercent" ChartType="Line" YAxisType="Secondary" XAxisType="Primary"
                                                                                    BorderColor="180, 26, 59, 105" Color="Orange" Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VALY%" />
                                                                                <asp:Series Name="ForecastedOnTimePercent" ChartType="Line" YAxisType="Secondary"
                                                                                    XAxisType="Primary" BorderColor="180, 26, 59, 105" Color="Pink" Font="Arial, 8.5pt"
                                                                                    ToolTip="#LEGENDTEXT: #VALY%" />
                                                                            </Series>
                                                                            <ChartAreas>
                                                                                <asp:ChartArea Name="ChartAreaMilestone" BorderColor="64, 64, 64, 64" BorderDashStyle="Solid"
                                                                                    BackSecondaryColor="Transparent" BackColor="White" ShadowColor="Transparent"
                                                                                    BackGradientStyle="None">
                                                                                    <Area3DStyle Rotation="10" Inclination="15" WallWidth="0" />
                                                                                    <AxisX Title="Month Year" LineColor="64, 64, 64" Interval="1" Maximum="Auto" IntervalAutoMode="FixedCount"
                                                                                        LabelAutoFitStyle="LabelsAngleStep90" IsLabelAutoFit="true">
                                                                                        <LabelStyle Font="Arial, 8.5pt" />
                                                                                        <MajorGrid Enabled="false" />
                                                                                    </AxisX>
                                                                                    <AxisY Title="Milestone Count" Maximum="Auto" IntervalAutoMode="FixedCount" LabelAutoFitStyle="LabelsAngleStep30"
                                                                                        IsLabelAutoFit="False">
                                                                                        <LabelStyle Font="Arial, 8.5pt" />
                                                                                        <MajorGrid Enabled="false" />
                                                                                    </AxisY>
                                                                                    <AxisY2 Title="Ontime %" Maximum="Auto" IntervalAutoMode="FixedCount" LabelAutoFitStyle="LabelsAngleStep90"
                                                                                        IsLabelAutoFit="false">
                                                                                        <LabelStyle Font="Arial, 8.5pt" />
                                                                                        <MajorGrid Enabled="false" />
                                                                                    </AxisY2>
                                                                                </asp:ChartArea>
                                                                            </ChartAreas>
                                                                        </asp:Chart>
                                                                    </Content>
                                                                </ext:Panel>
                                                            </td>
                                                            <td>&nbsp;
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                                <fieldset class="cur_pointer" style="height: auto;padding:10px">
                                                    <legend><b>Milestone Fidelity</b></legend>
    
                                                    <ext:GridPanel ID="GridMSCAT1Header" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                        ClicksToEdit="1" Height="25" Width="1222" EnableColumnResize="false">
                                                        <Store>
                                                            <ext:Store ID="strGridMSCAT1Header" runat="server">
                                                                <Model>
                                                                    <ext:Model ID="Model2" runat="server">
                                                                        <Fields>
                                                                            <ext:ModelField Name="Column1" Type="Auto" />
                                                                            <ext:ModelField Name="Column2" Type="Auto" />
                                                                            <ext:ModelField Name="Column3" Type="Auto" />
                                                                        </Fields>
                                                                    </ext:Model>
                                                                </Model>
                                                            </ext:Store>
                                                        </Store>
                                                        <ColumnModel>
                                                            <Columns>
                                                                <ext:Column runat="server" DataIndex="Column1" Sortable="false"
                                                                    Width="138px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="TblGridMSCAT1_C1">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="Column2" Sortable="false" Text="Actual Performance"
                                                                    Width="540px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="TblGridMSCAT1_C2">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="Column3" Sortable="false" Text="Forecast Performance"
                                                                    Width="550px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="TblGridMSCAT1_C3">
                                                                </ext:Column>
                                                            </Columns>
                                                        </ColumnModel>
                                                    </ext:GridPanel>
                                                    <ext:GridPanel ID="GrdPnlMSCat1" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                        ClicksToEdit="1" Height="95" Width="1222" EnableColumnResize="false">
                                                        <Store>
                                                            <ext:Store ID="StrMSCat1" runat="server">
                                                                <Model>
                                                                    <ext:Model runat="server">
                                                                        <Fields>
                                                                            <ext:ModelField Name="m_Id" Type="Auto" />
                                                                            <ext:ModelField Name="ITD" Type="Auto" />
                                                                            <ext:ModelField Name="ITD_H" Type="Auto" />
                                                                            <ext:ModelField Name="YTD" Type="Auto" />
                                                                            <ext:ModelField Name="YTD_H" Type="Auto" />
                                                                            <ext:ModelField Name="1" Type="Auto" />
                                                                            <ext:ModelField Name="1_H" Type="Auto" />
                                                                            <ext:ModelField Name="2" Type="Auto" />
                                                                            <ext:ModelField Name="2_H" Type="Auto" />
                                                                            <ext:ModelField Name="3" Type="Auto" />
                                                                            <ext:ModelField Name="3_H" Type="Auto" />
                                                                            <ext:ModelField Name="4" Type="Auto" />
                                                                            <ext:ModelField Name="4_H" Type="Auto" />
                                                                            <ext:ModelField Name="5" Type="Auto" />
                                                                            <ext:ModelField Name="5_H" Type="Auto" />
                                                                            <ext:ModelField Name="6" Type="Auto" />
                                                                            <ext:ModelField Name="6_H" Type="Auto" />
                                                                            <ext:ModelField Name="7" Type="Auto" />
                                                                            <ext:ModelField Name="7_H" Type="Auto" />
                                                                            <ext:ModelField Name="8" Type="Auto" />
                                                                            <ext:ModelField Name="8_H" Type="Auto" />
                                                                            <ext:ModelField Name="EAC1" Type="Auto" />
                                                                            <ext:ModelField Name="EAC1_H" Type="Auto" />
                                                                            <ext:ModelField Name="EAC2" Type="Auto" />
                                                                            <ext:ModelField Name="EAC2_H" Type="Auto" />
                                                                        </Fields>
                                                                    </ext:Model>
                                                                </Model>
                                                            </ext:Store>
                                                        </Store>
                                                        <ColumnModel>
                                                            <Columns>
                                                                <ext:Column runat="server" DataIndex="m_Id" Sortable="false" Text="CAT 1" Width="138" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdPnlMSCat1_MID">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="ITD" Sortable="false" Text="ITD" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;" Align="Right" ID="GrdPnlMSCat1_ITD">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="YTD" Sortable="false" Text="YTD" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat1_YTD">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="1" Sortable="false" Text="Jan" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat1_M1">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="2" Sortable="false" Text="Feb" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat1_M2">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="3" Sortable="false" Text="Mar" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat1_M3">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="4" Sortable="false" Text="Apr" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat1_M4">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="5" Sortable="false" Text="May" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat1_M5">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="6" Sortable="false" Text="Jun" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat1_M6">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="7" Sortable="false" Text="Jul" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat1_M7">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="8" Sortable="false" Text="Aug" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat1_M8">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="EAC1" Sortable="false" Text="EAC1" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat1_EAC1">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="EAC2" Sortable="false" Text="EAC2" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat1_EAC2">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                            </Columns>
                                                        </ColumnModel>
                                                        <View>
                                                            <ext:GridView ID="GridView1" runat="server" MarkDirty="false" TrackOver="false" StripeRows="false" />
                                                        </View>
                                                         <SelectionModel>
                                                            <ext:CellSelectionModel ID="CellSelectionModel8" runat="server"></ext:CellSelectionModel>
                                                        </SelectionModel>
                                                    </ext:GridPanel>
                                                    <br />
    
                                                    <ext:GridPanel ID="GridMSCAT2Header" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                        ClicksToEdit="1" Height="25" Width="1222" EnableColumnResize="false">
                                                        <Store>
                                                            <ext:Store ID="strGridMSCAT2Header" runat="server">
                                                                <Model>
                                                                    <ext:Model ID="Model1" runat="server">
                                                                        <Fields>
                                                                            <ext:ModelField Name="Column1" Type="Auto" />
                                                                            <ext:ModelField Name="Column2" Type="Auto" />
                                                                            <ext:ModelField Name="Column3" Type="Auto" />
                                                                        </Fields>
                                                                    </ext:Model>
                                                                </Model>
                                                            </ext:Store>
                                                        </Store>
                                                        <ColumnModel>
                                                            <Columns>
                                                                <ext:Column runat="server" DataIndex="Column1" Sortable="false"
                                                                    Width="138px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="TblGridMSCAT2_C1">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="Column2" Sortable="false" Text="Actual Performance"
                                                                    Width="540px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="TblGridMSCAT2_C2">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="Column3" Sortable="false" Text="Forecast Performance"
                                                                    Width="550px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="TblGridMSCAT2_C3">
                                                                </ext:Column>
                                                            </Columns>
                                                        </ColumnModel>
                                                    </ext:GridPanel>
                                                    <ext:GridPanel ID="GrdPnlMSCat2" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                        ClicksToEdit="1" Height="95" Width="1222" EnableColumnResize="false">
                                                        <Store>
                                                            <ext:Store ID="StrMSCat2" runat="server">
                                                                <Model>
                                                                    <ext:Model runat="server">
                                                                        <Fields>
                                                                            <ext:ModelField Name="m_Id" Type="Auto" />
                                                                            <ext:ModelField Name="ITD" Type="Auto" />
                                                                            <ext:ModelField Name="ITD_H" Type="Auto" />
                                                                            <ext:ModelField Name="YTD" Type="Auto" />
                                                                            <ext:ModelField Name="YTD_H" Type="Auto" />
                                                                            <ext:ModelField Name="1" Type="Auto" />
                                                                            <ext:ModelField Name="1_H" Type="Auto" />
                                                                            <ext:ModelField Name="2" Type="Auto" />
                                                                            <ext:ModelField Name="2_H" Type="Auto" />
                                                                            <ext:ModelField Name="3" Type="Auto" />
                                                                            <ext:ModelField Name="3_H" Type="Auto" />
                                                                            <ext:ModelField Name="4" Type="Auto" />
                                                                            <ext:ModelField Name="4_H" Type="Auto" />
                                                                            <ext:ModelField Name="5" Type="Auto" />
                                                                            <ext:ModelField Name="5_H" Type="Auto" />
                                                                            <ext:ModelField Name="6" Type="Auto" />
                                                                            <ext:ModelField Name="6_H" Type="Auto" />
                                                                            <ext:ModelField Name="7" Type="Auto" />
                                                                            <ext:ModelField Name="7_H" Type="Auto" />
                                                                            <ext:ModelField Name="8" Type="Auto" />
                                                                            <ext:ModelField Name="8_H" Type="Auto" />
                                                                            <ext:ModelField Name="EAC1" Type="Auto" />
                                                                            <ext:ModelField Name="EAC1_H" Type="Auto" />
                                                                            <ext:ModelField Name="EAC2" Type="Auto" />
                                                                            <ext:ModelField Name="EAC2_H" Type="Auto" />
                                                                        </Fields>
                                                                    </ext:Model>
                                                                </Model>
                                                            </ext:Store>
                                                        </Store>
                                                        <ColumnModel>
                                                            <Columns>
                                                                <ext:Column runat="server" DataIndex="m_Id" Sortable="false" Text="CAT 2" Width="138" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdPnlMSCat2_MID">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="ITD" Sortable="false" Text="ITD" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;" Align="Right" ID="GrdPnlMSCat2_ITD">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="YTD" Sortable="false" Text="YTD" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat2_YTD">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="1" Sortable="false" Text="Jan" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat2_M1">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="2" Sortable="false" Text="Feb" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat2_M2">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="3" Sortable="false" Text="Mar" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat2_M3">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="4" Sortable="false" Text="Apr" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat2_M4">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="5" Sortable="false" Text="May" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat2_M5">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="6" Sortable="false" Text="Jun" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat2_M6">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="7" Sortable="false" Text="Jul" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat2_M7">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="8" Sortable="false" Text="Aug" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat2_M8">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="EAC1" Sortable="false" Text="EAC1" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat2_EAC1">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="EAC2" Sortable="false" Text="EAC2" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat2_EAC2">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                            </Columns>
                                                        </ColumnModel>
                                                        <View>
                                                            <ext:GridView ID="GridView8" runat="server" MarkDirty="false" TrackOver="false" StripeRows="false" />
                                                        </View>
                                                         <SelectionModel>
                                                            <ext:CellSelectionModel ID="CellSelectionModel9" runat="server"></ext:CellSelectionModel>
                                                        </SelectionModel>
                                                    </ext:GridPanel>
                                                    <br />
    
                                                    <ext:GridPanel ID="GridMSCAT12Header" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                        ClicksToEdit="1" Height="25" Width="1222" EnableColumnResize="false">
                                                        <Store>
                                                            <ext:Store ID="strGridMSCAT12Header" runat="server">
                                                                <Model>
                                                                    <ext:Model ID="Model3" runat="server">
                                                                        <Fields>
                                                                            <ext:ModelField Name="Column1" Type="Auto" />
                                                                            <ext:ModelField Name="Column2" Type="Auto" />
                                                                            <ext:ModelField Name="Column3" Type="Auto" />
                                                                        </Fields>
                                                                    </ext:Model>
                                                                </Model>
                                                            </ext:Store>
                                                        </Store>
                                                        <ColumnModel>
                                                            <Columns>
                                                                <ext:Column runat="server" DataIndex="Column1" Sortable="false"
                                                                    Width="138px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GridMSCAT12Header_C1">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="Column2" Sortable="false" Text="Actual Performance"
                                                                    Width="540px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GridMSCAT12Header_C2">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="Column3" Sortable="false" Text="Forecast Performance"
                                                                    Width="550px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GridMSCAT12Header_C3">
                                                                </ext:Column>
                                                            </Columns>
                                                        </ColumnModel>
                                                    </ext:GridPanel>
                                                    <ext:GridPanel ID="GrdPnlMSCat12" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                        ClicksToEdit="1" Height="95" Width="1222" EnableColumnResize="false">
                                                        <Store>
                                                            <ext:Store ID="StrMSCat12" runat="server">
                                                                <Model>
                                                                    <ext:Model runat="server">
                                                                        <Fields>
                                                                            <ext:ModelField Name="m_Id" Type="Auto" />
                                                                            <ext:ModelField Name="ITD" Type="Auto" />
                                                                            <ext:ModelField Name="ITD_H" Type="Auto" />
                                                                            <ext:ModelField Name="YTD" Type="Auto" />
                                                                            <ext:ModelField Name="YTD_H" Type="Auto" />
                                                                            <ext:ModelField Name="1" Type="Auto" />
                                                                            <ext:ModelField Name="1_H" Type="Auto" />
                                                                            <ext:ModelField Name="2" Type="Auto" />
                                                                            <ext:ModelField Name="2_H" Type="Auto" />
                                                                            <ext:ModelField Name="3" Type="Auto" />
                                                                            <ext:ModelField Name="3_H" Type="Auto" />
                                                                            <ext:ModelField Name="4" Type="Auto" />
                                                                            <ext:ModelField Name="4_H" Type="Auto" />
                                                                            <ext:ModelField Name="5" Type="Auto" />
                                                                            <ext:ModelField Name="5_H" Type="Auto" />
                                                                            <ext:ModelField Name="6" Type="Auto" />
                                                                            <ext:ModelField Name="6_H" Type="Auto" />
                                                                            <ext:ModelField Name="7" Type="Auto" />
                                                                            <ext:ModelField Name="7_H" Type="Auto" />
                                                                            <ext:ModelField Name="8" Type="Auto" />
                                                                            <ext:ModelField Name="8_H" Type="Auto" />
                                                                            <ext:ModelField Name="EAC1" Type="Auto" />
                                                                            <ext:ModelField Name="EAC1_H" Type="Auto" />
                                                                            <ext:ModelField Name="EAC2" Type="Auto" />
                                                                            <ext:ModelField Name="EAC2_H" Type="Auto" />
                                                                        </Fields>
                                                                    </ext:Model>
                                                                </Model>
                                                            </ext:Store>
                                                        </Store>
                                                        <ColumnModel>
                                                            <Columns>
                                                                <ext:Column runat="server" DataIndex="m_Id" Sortable="false" Text="CAT 1 & 2" Width="138" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdPnlMSCat12_MID">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="ITD" Sortable="false" Text="ITD" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;" Align="Right" ID="GrdPnlMSCat12_ITD">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="YTD" Sortable="false" Text="YTD" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat12_YTD">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="1" Sortable="false" Text="Jan" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat12_M1">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="2" Sortable="false" Text="Feb" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat12_M2">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="3" Sortable="false" Text="Mar" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat12_M3">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="4" Sortable="false" Text="Apr" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat12_M4">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="5" Sortable="false" Text="May" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat12_M5">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="6" Sortable="false" Text="Jun" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat12_M6">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="7" Sortable="false" Text="Jul" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat12_M7">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="8" Sortable="false" Text="Aug" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat12_M8">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="EAC1" Sortable="false" Text="EAC1" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat12_EAC1">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="EAC2" Sortable="false" Text="EAC2" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat12_EAC2">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                            </Columns>
                                                        </ColumnModel>
                                                        <View>
                                                            <ext:GridView ID="GridView9" runat="server" MarkDirty="false" TrackOver="false" StripeRows="false" />
                                                        </View>
                                                         <SelectionModel>
                                                            <ext:CellSelectionModel ID="CellSelectionModel10" runat="server"></ext:CellSelectionModel>
                                                        </SelectionModel>
                                                    </ext:GridPanel>
                                                    <br />
                                                    <ext:GridPanel ID="GridMSCAT3Header" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                        ClicksToEdit="1" Height="25" Width="1222" EnableColumnResize="false">
                                                        <Store>
                                                            <ext:Store ID="strGridMSCAT3Header" runat="server">
                                                                <Model>
                                                                    <ext:Model ID="Model4" runat="server">
                                                                        <Fields>
                                                                            <ext:ModelField Name="Column1" Type="Auto" />
                                                                            <ext:ModelField Name="Column2" Type="Auto" />
                                                                            <ext:ModelField Name="Column3" Type="Auto" />
                                                                        </Fields>
                                                                    </ext:Model>
                                                                </Model>
                                                            </ext:Store>
                                                        </Store>
                                                        <ColumnModel>
                                                            <Columns>
                                                                <ext:Column runat="server" DataIndex="Column1" Sortable="false"
                                                                    Width="138px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GridMSCAT3_C1">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="Column2" Sortable="false" Text="Actual Performance"
                                                                    Width="540px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GridMSCAT3_C2">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="Column3" Sortable="false" Text="Forecast Performance"
                                                                    Width="550px" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GridMSCAT3_C3">
                                                                </ext:Column>
                                                            </Columns>
                                                        </ColumnModel>
                                                    </ext:GridPanel>
                                                    <ext:GridPanel ID="GrdPnlMSCat3" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                        ClicksToEdit="1" Height="95" Width="1222" EnableColumnResize="false">
                                                        <Store>
                                                            <ext:Store ID="StrMSCat3" runat="server">
                                                                <Model>
                                                                    <ext:Model runat="server">
                                                                        <Fields>
                                                                            <ext:ModelField Name="m_Id" Type="Auto" />
                                                                            <ext:ModelField Name="ITD" Type="Auto" />
                                                                            <ext:ModelField Name="ITD_H" Type="Auto" />
                                                                            <ext:ModelField Name="YTD" Type="Auto" />
                                                                            <ext:ModelField Name="YTD_H" Type="Auto" />
                                                                            <ext:ModelField Name="1" Type="Auto" />
                                                                            <ext:ModelField Name="1_H" Type="Auto" />
                                                                            <ext:ModelField Name="2" Type="Auto" />
                                                                            <ext:ModelField Name="2_H" Type="Auto" />
                                                                            <ext:ModelField Name="3" Type="Auto" />
                                                                            <ext:ModelField Name="3_H" Type="Auto" />
                                                                            <ext:ModelField Name="4" Type="Auto" />
                                                                            <ext:ModelField Name="4_H" Type="Auto" />
                                                                            <ext:ModelField Name="5" Type="Auto" />
                                                                            <ext:ModelField Name="5_H" Type="Auto" />
                                                                            <ext:ModelField Name="6" Type="Auto" />
                                                                            <ext:ModelField Name="6_H" Type="Auto" />
                                                                            <ext:ModelField Name="7" Type="Auto" />
                                                                            <ext:ModelField Name="7_H" Type="Auto" />
                                                                            <ext:ModelField Name="8" Type="Auto" />
                                                                            <ext:ModelField Name="8_H" Type="Auto" />
                                                                            <ext:ModelField Name="EAC1" Type="Auto" />
                                                                            <ext:ModelField Name="EAC1_H" Type="Auto" />
                                                                            <ext:ModelField Name="EAC2" Type="Auto" />
                                                                            <ext:ModelField Name="EAC2_H" Type="Auto" />
                                                                        </Fields>
                                                                    </ext:Model>
                                                                </Model>
                                                            </ext:Store>
                                                        </Store>
                                                        <ColumnModel>
                                                            <Columns>
                                                                <ext:Column runat="server" DataIndex="m_Id" Sortable="false" Text="CAT 3" Width="138" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdPnlMSCat3_MID">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="ITD" Sortable="false" Text="ITD" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;" Align="Right" ID="GrdPnlMSCat3_ITD">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="YTD" Sortable="false" Text="YTD" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat3_YTD">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="1" Sortable="false" Text="Jan" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat3_M1">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="2" Sortable="false" Text="Feb" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat3_M2">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="3" Sortable="false" Text="Mar" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat3_M3">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="4" Sortable="false" Text="Apr" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat3_M4">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="5" Sortable="false" Text="May" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat3_M5">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="6" Sortable="false" Text="Jun" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat3_M6">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="7" Sortable="false" Text="Jul" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat3_M7">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="8" Sortable="false" Text="Aug" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat3_M8">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="EAC1" Sortable="false" Text="EAC1" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat3_EAC1">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="EAC2" Sortable="false" Text="EAC2" Width="90" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlMSCat3_EAC2">
                                                                    <Renderer Fn="Milestones_Renderer" />
                                                                </ext:Column>
                                                            </Columns>
                                                        </ColumnModel>
                                                        <View>
                                                            <ext:GridView ID="GridView10" runat="server" MarkDirty="false" TrackOver="false" StripeRows="false"  />
                                                        </View>
                                                         <SelectionModel>
                                                            <ext:CellSelectionModel ID="CellSelectionModel11" runat="server"></ext:CellSelectionModel>
                                                        </SelectionModel>
                                                    </ext:GridPanel>
                                                </fieldset>
                                                <fieldset style="padding: 05px; width: auto">
                                                    <legend><b>Late Category 1 Milestones<ext:Label ID="lblLateCat1" runat="server" StyleSpec="vertical-align:top;" />
                                                    </b></legend>
                                                    <table align="center" width="99%">
                                                        <tr>
                                                            <td>
                                                                <ext:GridPanel ID="GrdLateCat1MsCurMonth" runat="server" EnableColumnMove="false"
                                                                    ButtonAlign="Center" Height="235px" Border="true" Width="1222" EnableColumnResize="false"
                                                                    AutoScroll="true">
                                                                    <Store>
                                                                        <ext:Store ID="StoreLateCat1MsCurMonth" runat="server">
                                                                            <Model>
                                                                                <ext:Model runat="server">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="CAM_Name" Type="String" />
                                                                                        <ext:ModelField Name="HMRIndex" Type="String" />
                                                                                        <ext:ModelField Name="MilestoneName" Type="String" />
                                                                                        <ext:ModelField Name="BaselineCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="ScheduledCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="ActualCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="RCCA_ProbDesc" Type="String" />
                                                                                        <ext:ModelField Name="Action" Type="String" />
                                                                                        <ext:ModelField Name="Keycode" Type="String" />
                                                                                        <ext:ModelField Name="ProjectName" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column runat="server" DataIndex="CAM_Name" Sortable="true" Text="CAM Name" Width="120" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdLateCat1MsCurMonth_CamName" />
                                                                            <ext:Column runat="server" DataIndex="Keycode" Sortable="true" Text="Keycode" Width="60" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdLateCat1MsCurMonth_Keycode" />
                                                                            <ext:Column runat="server" DataIndex="ProjectName" Sortable="true" Text="Project Name" Width="140"
                                                                                Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdLateCat1MsCurMonth_PrjName" />
                                                                            <ext:Column runat="server" DataIndex="HMRIndex" Sortable="true" Text="HMR Index" Width="105" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" Align="Left" ID="GrdLateCat1MsCurMonth_HMRIndex" />
                                                                            <ext:Column runat="server" DataIndex="MilestoneName" Sortable="true" Resizable="false" Text="Milestone Name"
                                                                                Width="207" StyleSpec="text-align:left;" MenuDisabled="true" Align="Left" ID="GrdLateCat1MsCurMonth_MsName" />
                                                                            <ext:DateColumn runat="server" DataIndex="BaselineCompletionDate" Resizable="false" Sortable="true"
                                                                                Text="Baseline <BR> Date" Width="65" MenuDisabled="true" StyleSpec="text-align:left;"
                                                                                Align="Left" Format="MM/dd/yyyy" ID="GrdLateCat1MsCurMonth_BSScompletionDate" />
                                                                            <ext:DateColumn runat="server" DataIndex="ScheduledCompletionDate" Resizable="false" Sortable="true"
                                                                                Text="Scheduled <BR> Date" Width="75" MenuDisabled="true" StyleSpec="text-align:left;"
                                                                                Align="Left" Format="MM/dd/yyyy" ID="GrdLateCat1MsCurMonth_SCCompletionDate" />
                                                                            <ext:DateColumn runat="server" DataIndex="ActualCompletionDate" Text="Actual <BR> Date" Resizable="false"
                                                                                Sortable="true" Width="65" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left"
                                                                                Format="MM/dd/yyyy" ID="GrdLateCat1MsCurMonth_ACTDate" />
                                                                            <ext:Column runat="server" DataIndex="RCCA_ProbDesc" Text="RCCA Cause Code" Resizable="false"
                                                                                Sortable="true" Width="130" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdLateCat1MsCurMonth_RCCACode" />
                                                                            <ext:Column runat="server" DataIndex="Action" Text="Action" Resizable="false" Sortable="true"
                                                                                Width="230" StyleSpec="text-align:left;" MenuDisabled="true" Align="Left" ID="GrdLateCat1MsCurMonth_Action" />
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewLateCat1MsCurMonth" runat="server" TrackOver="false" StripeRows="false" />
                                                                    </View>
                                                                    <SelectionModel>
                                                                        <ext:RowSelectionModel ID="RowSelectionModel4" runat="server" />
                                                                    </SelectionModel>
                                                                    <BottomBar>
                                                                        <ext:PagingToolbar ID="PagingToolbar3" runat="server" PageSize="10" DisplayInfo="true"
                                                                            PageIndex="0" DisplayMsg="Displaying {0} - {1} of {2}" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                            HideRefresh="true" />
                                                                    </BottomBar>
                                                                </ext:GridPanel>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                                <fieldset style="padding: 05px; width: auto">
                                                    <legend><b>Category 1 Milestones Likely to Miss - 4 Month Look Ahead (4MLA)</b></legend>
                                                    <table align="center" width="99%">
                                                        <tr>
                                                            <td>
                                                                <ext:GridPanel ID="GrdCat1MsLikelyToMiss4MLA" runat="server" EnableColumnMove="false"
                                                                    ButtonAlign="Center" Height="235px" Border="true" Width="1222" EnableColumnResize="false"
                                                                    AutoScroll="true">
                                                                    <Store>
                                                                        <ext:Store ID="StoreCat1MsLikelyToMiss4MLA" runat="server">
                                                                            <Model>
                                                                                <ext:Model runat="server">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="CAM_NAME" Type="String" />
                                                                                        <ext:ModelField Name="HMRIndex" Type="String" />
                                                                                        <ext:ModelField Name="MilestoneName" Type="String" />
                                                                                        <ext:ModelField Name="BaselineCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="ScheduledCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="ActualCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="RCCACauseCode" Type="String" />
                                                                                        <ext:ModelField Name="Action" Type="String" />
                                                                                        <ext:ModelField Name="Keycode" Type="String" />
                                                                                        <ext:ModelField Name="ProjectName" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column runat="server" DataIndex="CAM_NAME" Sortable="true" Text="CAM Name" Width="120" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdCat1MsLikelyToMiss4MLA_CamName" />
                                                                            <ext:Column runat="server" DataIndex="Keycode" Sortable="true" Text="Keycode" Width="60" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdCat1MsLikelyToMiss4MLA_Keycode" />
                                                                            <ext:Column runat="server" DataIndex="ProjectName" Sortable="true" Text="Project Name" Width="140"
                                                                                Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdCat1MsLikelyToMiss4MLA_PrjName" />
                                                                            <ext:Column runat="server" DataIndex="HMRIndex" Sortable="true" Text="HMR Index" Width="105" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" Align="Left" ID="GrdCat1MsLikelyToMiss4MLA_HMRIndex" />
                                                                            <ext:Column runat="server" DataIndex="MilestoneName" Sortable="true" Resizable="false" Text="Milestone Name"
                                                                                Width="207" StyleSpec="text-align:left;" MenuDisabled="true" Align="Left" ID="GrdCat1MsLikelyToMiss4MLA_MsName" />
                                                                            <ext:DateColumn runat="server" DataIndex="BaselineCompletionDate" Resizable="false" Sortable="true"
                                                                                Text="Baseline <BR> Date" Width="65" MenuDisabled="true" StyleSpec="text-align:left;"
                                                                                Align="Left" Format="MM/dd/yyyy" ID="GrdCat1MsLikelyToMiss4MLA_BSDate" />
                                                                            <ext:DateColumn runat="server" DataIndex="ScheduledCompletionDate" Resizable="false" Sortable="true"
                                                                                Text="Scheduled <BR> Date" Width="75" MenuDisabled="true" StyleSpec="text-align:left;"
                                                                                Align="Left" Format="MM/dd/yyyy" ID="GrdCat1MsLikelyToMiss4MLA_SCDate" />
                                                                            <ext:DateColumn runat="server" DataIndex="ActualCompletionDate" Text="Actual <BR> Date" Resizable="false"
                                                                                Sortable="true" Width="65" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left"
                                                                                Format="MM/dd/yyyy" ID="GrdCat1MsLikelyToMiss4MLA_ACTDate" />
                                                                            <ext:Column runat="server" DataIndex="RCCACauseCode" Text="RCCA Cause Code" Resizable="false"
                                                                                Sortable="true" Width="130" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdCat1MsLikelyToMiss4MLA_RCCA" />
                                                                            <ext:Column runat="server" DataIndex="Action" Text="Action" Resizable="false" Sortable="true"
                                                                                Width="230" StyleSpec="text-align:left;" MenuDisabled="true" Align="Left" ID="GrdCat1MsLikelyToMiss4MLA_Action" />
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewCat1MsLikelyToMiss4MLA" runat="server" TrackOver="false" StripeRows="false" />
                                                                    </View>
                                                                    <SelectionModel>
                                                                        <ext:RowSelectionModel ID="RowSelectionModel2" runat="server" />
                                                                    </SelectionModel>
                                                                    <BottomBar>
                                                                        <ext:PagingToolbar ID="PagingToolbar2" runat="server" PageSize="10" DisplayInfo="true"
                                                                            PageIndex="0" DisplayMsg="Displaying {0} - {1} of {2}" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                            HideRefresh="true" />
                                                                    </BottomBar>
                                                                </ext:GridPanel>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                                <fieldset style="padding: 05px; width: auto">
                                                    <legend><b>Late Category 2 Milestones<ext:Label ID="lblLateCat2" runat="server" StyleSpec="vertical-align:top;" />
                                                    </b></legend>
                                                    <table align="center" width="99%">
                                                        <tr>
                                                            <td>
                                                                <ext:GridPanel ID="GrdLateCat2MsCurMonth" runat="server" EnableColumnMove="false"
                                                                    ButtonAlign="Center" Height="235px" Border="true" Width="1222" EnableColumnResize="false"
                                                                    AutoScroll="true">
                                                                    <Store>
                                                                        <ext:Store ID="StoreLateCat2MsCurMonth" runat="server">
                                                                            <AutoLoadParams>
                                                                                <ext:StoreParameter Name="start" Value="={0}" Mode="Raw" />
                                                                                <ext:StoreParameter Name="limit" Value="={10}" Mode="Raw" />
                                                                            </AutoLoadParams>
                                                                            <Model>
                                                                                <ext:Model runat="server">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="CAM_Name" Type="String" />
                                                                                        <ext:ModelField Name="HMRIndex" Type="String" />
                                                                                        <ext:ModelField Name="MilestoneName" Type="String" />
                                                                                        <ext:ModelField Name="BaselineCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="ScheduledCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="ActualCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="RCCA_ProbDesc" Type="String" />
                                                                                        <ext:ModelField Name="Action" Type="String" />
                                                                                        <ext:ModelField Name="Keycode" Type="String" />
                                                                                        <ext:ModelField Name="ProjectName" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column runat="server" DataIndex="CAM_Name" Sortable="true" Text="CAM Name" Width="120" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdLateCat2MsCurMonth_CamName" />
                                                                            <ext:Column runat="server" DataIndex="Keycode" Sortable="true" Text="Keycode" Width="60" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdLateCat2MsCurMonth_Keycode" />
                                                                            <ext:Column runat="server" DataIndex="ProjectName" Sortable="true" Text="Project Name" Width="140"
                                                                                Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdLateCat2MsCurMonth_PrjName" />
                                                                            <ext:Column runat="server" DataIndex="HMRIndex" Sortable="true" Text="HMR Index" Width="105" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" Align="Left" ID="GrdLateCat2MsCurMonth_HMRIndex" />
                                                                            <ext:Column runat="server" DataIndex="MilestoneName" Sortable="true" Resizable="false" Text="Milestone Name"
                                                                                Width="207" StyleSpec="text-align:left;" MenuDisabled="true" Align="Left" ID="GrdLateCat2MsCurMonth_MSName" />
                                                                            <ext:DateColumn runat="server" DataIndex="BaselineCompletionDate" Resizable="false" Sortable="true"
                                                                                Text="Baseline <BR> Date" Width="65" MenuDisabled="true" StyleSpec="text-align:left;"
                                                                                Align="Left" Format="MM/dd/yyyy" ID="GrdLateCat2MsCurMonth_BSDate" />
                                                                            <ext:DateColumn runat="server" DataIndex="ScheduledCompletionDate" Resizable="false" Sortable="true"
                                                                                Text="Scheduled <BR> Date" Width="75" MenuDisabled="true" StyleSpec="text-align:left;"
                                                                                Align="Left" Format="MM/dd/yyyy" ID="GrdLateCat2MsCurMonth_SCDate" />
                                                                            <ext:DateColumn runat="server" DataIndex="ActualCompletionDate" Text="Actual <BR> Date" Resizable="false"
                                                                                Sortable="true" Width="65" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left"
                                                                                Format="MM/dd/yyyy" ID="GrdLateCat2MsCurMonth_ACTDate" />
                                                                            <ext:Column runat="server" DataIndex="RCCA_ProbDesc" Text="RCCA Cause Code" Resizable="false" ID="GrdLateCat2MsCurMonth_RCCA"
                                                                                Sortable="true" Width="130" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" />
                                                                            <ext:Column runat="server" DataIndex="Action" Text="Action" Resizable="false" Sortable="true" ID="GrdLateCat2MsCurMonth_Action"
                                                                                Width="230" StyleSpec="text-align:left;" MenuDisabled="true" Align="Left" />
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewLateCat2MsCurMonth" runat="server" TrackOver="false" StripeRows="false" />
                                                                    </View>
                                                                    <SelectionModel>
                                                                        <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" />
                                                                    </SelectionModel>
                                                                    <BottomBar>
                                                                        <ext:PagingToolbar ID="PagingToolbar1" runat="server" PageSize="10" DisplayInfo="true"
                                                                            PageIndex="0" DisplayMsg="Displaying {0} - {1} of {2}" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                            HideRefresh="true" />
                                                                    </BottomBar>
                                                                </ext:GridPanel>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                                <fieldset style="padding: 05px; width: auto">
                                                    <legend><b>Category 2 Milestones Likely to Miss - 4 Month Look Ahead (4MLA)</b></legend>
                                                    <table align="center" width="99%">
                                                        <tr>
                                                            <td>
                                                                <ext:GridPanel ID="GrdCat2MsLikelyToMiss4MLA" runat="server" EnableColumnMove="false"
                                                                    ButtonAlign="Center" Height="235px" Border="true" Width="1222" EnableColumnResize="false"
                                                                    AutoScroll="true">
                                                                    <Store>
                                                                        <ext:Store ID="StoreCat2MsLikelyToMiss4MLA" runat="server">
                                                                            <AutoLoadParams>
                                                                                <ext:StoreParameter Name="start" Value="={0}" Mode="Raw" />
                                                                                <ext:StoreParameter Name="limit" Value="={10}" Mode="Raw" />
                                                                            </AutoLoadParams>
                                                                            <Model>
                                                                                <ext:Model runat="server">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="CAM_NAME" Type="String" />
                                                                                        <ext:ModelField Name="HMRIndex" Type="String" />
                                                                                        <ext:ModelField Name="MilestoneName" Type="String" />
                                                                                        <ext:ModelField Name="BaselineCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="ScheduledCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="ActualCompletionDate" Type="Date" />
                                                                                        <ext:ModelField Name="RCCACauseCode" Type="String" />
                                                                                        <ext:ModelField Name="Action" Type="String" />
                                                                                        <ext:ModelField Name="Keycode" Type="String" />
                                                                                        <ext:ModelField Name="ProjectName" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column runat="server" DataIndex="CAM_NAME" Sortable="true" Text="CAM Name" Width="120" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdCat2MsLikelyToMiss4MLA_CamName" />
                                                                            <ext:Column runat="server" DataIndex="Keycode" Sortable="true" Text="Keycode" Width="60" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdCat2MsLikelyToMiss4MLA_Keycode" />
                                                                            <ext:Column runat="server" DataIndex="ProjectName" Sortable="true" Text="Project Name" Width="140"
                                                                                Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdCat2MsLikelyToMiss4MLA_PrjName" />
                                                                            <ext:Column runat="server" DataIndex="HMRIndex" Sortable="true" Text="HMR Index" Width="105" Resizable="false"
                                                                                MenuDisabled="true" StyleSpec="text-align:left;word-break:break-all;" Align="Left" ID="GrdCat2MsLikelyToMiss4MLA_HMRIndex" />
                                                                            <ext:Column runat="server" DataIndex="MilestoneName" Sortable="true" Resizable="false" Text="Milestone Name"
                                                                                Width="207" StyleSpec="text-align:left;" MenuDisabled="true" Align="Left" ID="GrdCat2MsLikelyToMiss4MLA_MSName" />
                                                                            <ext:DateColumn runat="server" DataIndex="BaselineCompletionDate" Resizable="false" Sortable="true"
                                                                                Text="Baseline <BR> Date" Width="65" MenuDisabled="true" StyleSpec="text-align:left;"
                                                                                Align="Left" Format="MM/dd/yyyy" ID="GrdCat2MsLikelyToMiss4MLA_BSDate" />
                                                                            <ext:DateColumn runat="server" DataIndex="ScheduledCompletionDate" Resizable="false" Sortable="true"
                                                                                Text="Scheduled <BR> Date" Width="75" MenuDisabled="true" StyleSpec="text-align:left;"
                                                                                Align="Left" Format="MM/dd/yyyy" ID="GrdCat2MsLikelyToMiss4MLA_SCDate" />
                                                                            <ext:DateColumn runat="server" DataIndex="ActualCompletionDate" Text="Actual <BR> Date" Resizable="false"
                                                                                Sortable="true" Width="65" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left"
                                                                                Format="MM/dd/yyyy" ID="GrdCat2MsLikelyToMiss4MLA_ACTDate" />
                                                                            <ext:Column runat="server" DataIndex="RCCACauseCode" Text="RCCA Cause Code" Resizable="false"
                                                                                Sortable="true" Width="130" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdCat2MsLikelyToMiss4MLA_RCCA" />
                                                                            <ext:Column runat="server" DataIndex="Action" Text="Action" Resizable="false" Sortable="true"
                                                                                Width="230" StyleSpec="text-align:left;" MenuDisabled="true" Align="Left" ID="GrdCat2MsLikelyToMiss4MLA_Action" />
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <View>
                                                                        <ext:GridView ID="GridView11" runat="server" TrackOver="false" StripeRows="false" />
                                                                    </View>
                                                                    <SelectionModel>
                                                                        <ext:RowSelectionModel ID="GrdViewCat2MsLikelyToMiss4MLA" runat="server" />
                                                                    </SelectionModel>
                                                                    <BottomBar>
                                                                        <ext:PagingToolbar ID="PagingToolbar4" runat="server" PageSize="10" DisplayInfo="true"
                                                                            PageIndex="0" DisplayMsg="Displaying {0} - {1} of {2}" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                            HideRefresh="true" />
                                                                    </BottomBar>
                                                                </ext:GridPanel>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                                <fieldset class="cur_pointer" style="height: auto; width: 430px; padding: 05px">
                                                    <legend><b>Forecast Accuracy</b></legend>
                                                    <ext:GridPanel ID="GrdForecastAccuracy" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                        ClicksToEdit="1" Height="80" Width="415" EnableColumnResize="false">
                                                        <Store>
                                                            <ext:Store ID="StoreForecastAccuracy" runat="server">
                                                                <Model>
                                                                    <ext:Model runat="server">
                                                                        <Fields>
                                                                            <ext:ModelField Name="m_Category" Type="Auto" />
                                                                            <ext:ModelField Name="1" Type="Auto" />
                                                                            <ext:ModelField Name="1_H" Type="Auto" />
                                                                            <ext:ModelField Name="2" Type="Auto" />
                                                                            <ext:ModelField Name="2_H" Type="Auto" />
                                                                            <ext:ModelField Name="3" Type="Auto" />
                                                                            <ext:ModelField Name="3_H" Type="Auto" />
                                                                        </Fields>
                                                                    </ext:Model>
                                                                </Model>
                                                            </ext:Store>
                                                        </Store>
                                                        <ColumnModel>
                                                            <Columns>
                                                                <ext:Column runat="server" DataIndex="m_Category" Sortable="false" Text="" Width="132" Resizable="false" TdCls="ForecastAccuracy"
                                                                    MenuDisabled="true" StyleSpec="text-align:left;font-weight: bold;" Align="Left" ID="GrdForecastAccuracy_MCategory">
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="1" Sortable="false" Text="Jan" Width="92" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdForecastAccuracy_M1">
                                                                    <Renderer Fn="ForecastAccuracy_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="2" Sortable="false" Text="Feb" Width="92" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdForecastAccuracy_M2">
                                                                    <Renderer Fn="ForecastAccuracy_Renderer" />
                                                                </ext:Column>
                                                                <ext:Column runat="server" DataIndex="3" Sortable="false" Text="Mar" Width="92" Resizable="false"
                                                                    MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdForecastAccuracy_M3">
                                                                    <Renderer Fn="ForecastAccuracy_Renderer" />
                                                                </ext:Column>
                                                            </Columns>
                                                        </ColumnModel>
                                                        <View>
                                                            <ext:GridView ID="GrdViewForecastAccuracy" runat="server" MarkDirty="false" TrackOver="false" StripeRows="false" />
                                                        </View>
                                                    </ext:GridPanel>
                                                </fieldset>
                                            </Content>
                                        </ext:Panel>
                                        <ext:Panel ID="pnlSubTotalFactorRiskView" Width="1260px" runat="server" AutoScroll="false"
                                            Border="false" Style="display: none" Height="750px">
                                            <Content>
                                                <table width="1250px" cellpadding="0" cellspacing="0" style="border-color: #8DB2E3; border-style: solid; border-width: 1px;">
                                                    <tr style="background-color: #D8E3F3; height: 20px">
                                                        <td align="right" style="width: 50%">
                                                            <ext:Button ID="btnSaveTotFactorRisk" runat="server" Text="Save" Icon="Disk">
                                                                <DirectEvents>
                                                                    <Click OnEvent="btnSaveTotFactorRisk_Click" Delay="200">
                                                                        <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                                                        <ExtraParams>
                                                                            <ext:StoreParameter Name="parameter" Value="16" Mode="Raw" />
                                                                            <ext:StoreParameter Name="parameter1" Value="17" Mode="Raw" />
                                                                        </ExtraParams>
                                                                    </Click>
                                                                </DirectEvents>
                                                                <Listeners>
                                                                    <Click Handler="SetVocValueHiddenField()" />
                                                                </Listeners>
                                                            </ext:Button>
                                                        </td>
                                                        <td align="left" style="width: 45%; padding-left: 5px">
                                                            <ext:Label ID="LblTotalFactoreRiskSaveWarning" runat="server" Cls="save-label-note"
                                                                Text="<%$ Resources:WebResource,Page_ETScorecard_SaveWarning %>">
                                                            </ext:Label>
                                                        </td>
                                                        <td align="right" style="width: 5%; padding: 5px">
                                                            <a href="#" onclick="return ShowRiskLog()" class="NoteCss">Risk Log</a>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table width="1252px" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td class="cur_pointer" colspan="2" style="vertical-align: top;" align="center">
    
                                                            <fieldset class='cur_pointer' id="fSetTotalFactoredRisk" runat="server" style="padding: 05px; vertical-align: middle; text-align: center;">
                                                                <legend><b>Total Factored Risk</b></legend>
                                                                <%--<ext:Panel Cls="cur_pointer" ID="PnlcharTotalRisk" runat="server" Height="420px"
                                                        Border="false">
                                                        <Content>--%>
                                                                <table width="100%">
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <asp:Chart ID="charTotalRisk" runat="server" ImageLocation="../../Images/Charts/YTD/YTDs_#SEQ(200,1)"
                                                                                ImageType="Png" ImageStorageMode="UseImageLocation" Width="950px" Height="400px">
                                                                                <Legends>
                                                                                    <asp:Legend LegendStyle="Table" IsTextAutoFit="False" Docking="Bottom" IsDockedInsideChartArea="False"
                                                                                        Name="Default" BackColor="Transparent" Font="Arial, 8.5pt" Alignment="Center">
                                                                                    </asp:Legend>
                                                                                </Legends>
                                                                                <Series>
                                                                                    <asp:Series Name="Unfactored Risk" ChartType="Line" Color="Green" BorderDashStyle="Solid"
                                                                                        BorderColor="180, 26, 59, 105" Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VAL(Click here to see drill down report)"
                                                                                        LegendText="Unfactored Risk">
                                                                                    </asp:Series>
                                                                                    <asp:Series Name="FactoredCostRisk" ChartType="Line" Color="Blue" BorderDashStyle="Solid"
                                                                                        BorderColor="180, 26, 59, 105" Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VAL(Click here to see drill down report)"
                                                                                        LegendText="Factored Cost Risk">
                                                                                    </asp:Series>
                                                                                    <asp:Series Name="Unmitigated Risk" ChartType="Line" Color="Red" BorderDashStyle="Solid"
                                                                                        BorderColor="180, 26, 59, 105" Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VAL(Click here to see drill down report)"
                                                                                        LegendText="Unmitigated Risk">
                                                                                    </asp:Series>
                                                                                </Series>
                                                                                <ChartAreas>
                                                                                    <asp:ChartArea Name="ChatareaTotalRisk" BackSecondaryColor="White" BackColor="White"
                                                                                        ShadowColor="Transparent" BorderColor="Black" BorderDashStyle="Solid" BorderWidth="1">
                                                                                        <AxisY Title="k$" Maximum="Auto" IntervalAutoMode="FixedCount" LabelAutoFitStyle="LabelsAngleStep30"
                                                                                            IsLabelAutoFit="False">
                                                                                            <LabelStyle Font="Arial, 8.5pt" />
                                                                                            <MajorGrid LineColor="64, 64, 64, 64" />
                                                                                        </AxisY>
                                                                                        <AxisX Title="Month Year" LineColor="64, 64, 64" Interval="1" Maximum="Auto" IntervalAutoMode="FixedCount"
                                                                                            LabelAutoFitStyle="LabelsAngleStep90" IsLabelAutoFit="true">
                                                                                            <LabelStyle Font="Arial, 8.5pt" />
                                                                                            <MajorGrid Enabled="false" />
                                                                                        </AxisX>
                                                                                    </asp:ChartArea>
                                                                                </ChartAreas>
                                                                            </asp:Chart>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                                <%--</Content>
                                                    </ext:Panel>--%>
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <div id="dvTotFactoredRiskComments" runat="server">
                                                    <fieldset class='cur_pointer' id="Fieldset2" runat="server" style="padding: 05px; vertical-align: middle; text-align: center">
                                                        <legend><b>Risk </b></legend>
                                                        <table width="100%">
                                                            <tr>
                                                                <td style="width: 10%; padding-left: 3px; padding-top: 2px;" valign="top" align="right">
                                                                    <table width="65%" cellpadding="0" cellspacing="0" rules="none" id="tblOverallRisk"
                                                                        runat="server">
                                                                        <tr>
                                                                            <td id="tdOverallRisk" runat="server" align="center" valign="middle" style="border-width: 1px; border-color: #D5DFE5; border-style: solid; height: 23px;">
                                                                                <ext:Label ID="lblOverallRisk" runat="server" Width="150" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td align="center" style="width: 83%">
                                                                    <ext:TextArea ID="txtRiskAssessmentComments" runat="server" Width="1060px" AutoScroll="true"
                                                                        DisabledClass="DisabledFieldCss" MaxLength="500" Height="60px" EmptyText="Insert comments here for Risk Assessment Status (500 char max)"
                                                                        MaskRe="[^<>]">
                                                                        <Listeners>
                                                                            <Change Handler="enableDisableMetricsSubmitButton(#{txtRiskAssessmentComments},'Risk')" />
                                                                        </Listeners>
                                                                    </ext:TextArea>
                                                                </td>
                                                                <td style="width: 10px"></td>
                                                                <td style="width: 30px">
                                                                    <ext:Hidden ID="HdnRiskAssCommentsCopy" runat="server" />
                                                                    <ext:Hidden ID="HdnRiskAssState" runat="server" />
                                                                    <ext:Hidden ID="HdnRiskAssCommentId" Text="-1" runat="server" />
                                                                    <ext:Button ID="BtnRiskAssessmentPicklist" runat="server" IconCls="cls-ico-picklist"
                                                                        Flat="true" EnableViewState="false">
                                                                        <DirectEvents>
                                                                            <Click OnEvent="MetricsCommentsPicklist_Click">
                                                                                <ExtraParams>
                                                                                    <ext:StoreParameter Name="parameter" Value="16" Mode="Raw" />
                                                                                </ExtraParams>
                                                                            </Click>
                                                                        </DirectEvents>
                                                                    </ext:Button>
                                                                    <ext:Button ID="BtnRiskAssessmentSubmit" runat="server" Flat="true" EnableViewState="false"
                                                                        IconCls="cls-ico-defaultmode">
                                                                        <DirectEvents>
                                                                            <Click OnEvent="BtnMetricsCommentSubmit_Click" Delay="200">
                                                                                <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                                                                <ExtraParams>
                                                                                    <ext:StoreParameter Name="parameter" Value="16" Mode="Raw" />
                                                                                </ExtraParams>
                                                                            </Click>
                                                                        </DirectEvents>
                                                                    </ext:Button>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </fieldset>
                                                    <fieldset class='cur_pointer' id="Fieldset3" runat="server" style="padding: 05px; vertical-align: middle; text-align: center">
                                                        <legend><b>VOC</b></legend>
                                                        <table width="100%">
                                                            <tr>
                                                                <td style="width: 10%; padding-left: 5px; padding-top: 2px" valign="top" align="right">
                                                                    <asp:DropDownList ID="ddlVoc" runat="server" Width="75">
                                                                    </asp:DropDownList>
                                                                    <table width="65%" cellpadding="0" cellspacing="0" rules="none" id="tblVoc" runat="server">
                                                                        <tr>
                                                                            <td id="td2" runat="server" align="center" valign="middle" style="border-width: 1px; border-color: #D5DFE5; border-style: solid; height: 23px;">
                                                                                <ext:Label ID="lblVoc" runat="server" Width="150" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td align="center" style="width: 83%">
                                                                    <ext:TextArea ID="txtVocComments" runat="server" Width="1060px" AutoScroll="true"
                                                                        DisabledClass="DisabledFieldCss" MaxLength="500" Height="60px" EmptyText="Insert comments here for keycode level subjective assessment of VOC (500 char max). Must select VOC health"
                                                                        MaskRe="[^<>]">
                                                                        <Listeners>
                                                                            <Change Handler="enableDisableMetricsSubmitButton(#{txtVocComments},'Voc')" />
                                                                        </Listeners>
                                                                    </ext:TextArea>
                                                                </td>
                                                                <td style="width: 10px"></td>
                                                                <td style="width: 30px">
                                                                    <ext:Hidden ID="HdnVocCommentsCopy" runat="server" />
                                                                    <ext:Hidden ID="HdnVocState" runat="server" />
                                                                    <ext:Hidden ID="HdnVocCommendId" Text="-1" runat="server" />
                                                                    <ext:Button ID="BtnVocPicklist" runat="server" IconCls="cls-ico-picklist" Flat="true"
                                                                        EnableViewState="false">
                                                                        <DirectEvents>
                                                                            <Click OnEvent="MetricsCommentsPicklist_Click">
                                                                                <ExtraParams>
                                                                                    <ext:StoreParameter Name="parameter" Value="17" Mode="Raw" />
                                                                                </ExtraParams>
                                                                            </Click>
                                                                        </DirectEvents>
                                                                    </ext:Button>
                                                                    <ext:Button ID="BtnVocSubmit" runat="server" Flat="true" EnableViewState="false"
                                                                        IconCls="cls-ico-defaultmode">
                                                                        <DirectEvents>
                                                                            <Click OnEvent="BtnMetricsCommentSubmit_Click" Delay="200">
                                                                                <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                                                                <ExtraParams>
                                                                                    <ext:StoreParameter Name="parameter" Value="17" Mode="Raw" />
                                                                                </ExtraParams>
                                                                            </Click>
                                                                        </DirectEvents>
                                                                    </ext:Button>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </fieldset>
                                                </div>
                                            </Content>
                                        </ext:Panel>
                                        <ext:Panel ID="pnlSubYTDSpendView" Width="1260px" runat="server"
                                            AutoScroll="false" Border="false" Style="display: none" Height="750px">
                                            <Content>
                                                <table width="1250px" cellpadding="0" cellspacing="0" border="0" style="border-color: #8DB2E3; border-style: solid; border-width: 1px; vertical-align: middle; text-align: center">
                                                    <tr style="background-color: #D8E3F3; height: 20px">
                                                        <td align="right" style="width: 50%">
                                                            <ext:Button ID="BtnSaveYTDComments" runat="server" Text="Save" Icon="Disk" EnableViewState="false">
                                                                <DirectEvents>
                                                                    <Click OnEvent="BtnSaveYTDComments_Click" Delay="200">
                                                                        <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                                                        <ExtraParams>
                                                                            <ext:StoreParameter Name="parameter" Value="24" Mode="Raw" />
                                                                        </ExtraParams>
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:Button>
                                                        </td>
                                                        <td align="left" style="width: 50%; padding-left: 5px">
                                                            <ext:Label ID="LblYTDSpendSaveWarning" runat="server" Cls="save-label-note" Text="<%$ Resources:WebResource,Page_ETScorecard_SaveWarning %>" />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table width="1252px" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td class="cur_pointer" colspan="2" style="vertical-align: top;" align="center">
    
                                                            <fieldset id="fSetYtd" runat="server" class="cur_pointer">
                                                                <legend>Year To Date (YTD) Spend (k$)</legend>
                                                                <table>
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <asp:Chart ID="chrYTD" Visible="true" runat="server" ImageLocation="../../Images/Charts/YTD/YTDs_#SEQ(200,1)"
                                                                                ImageType="Png" ImageStorageMode="UseImageLocation" Height="400px" Width="950px">
                                                                                <Legends>
                                                                                    <asp:Legend LegendStyle="Row" IsTextAutoFit="False" Docking="Bottom" IsDockedInsideChartArea="False"
                                                                                        Name="Default" BackColor="Transparent" Font="Arial, 8.5pt" Alignment="Center">
                                                                                    </asp:Legend>
                                                                                </Legends>
                                                                                <Series>
                                                                                    <asp:Series Name="Planned" ChartType="Line" BorderColor="180, 26, 59, 105" Color="Red"
                                                                                        Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VAL(Click here to see drill down report)"
                                                                                        LegendText="Planned" />
                                                                                    <asp:Series Name="Actuals" ChartType="Line" BorderColor="180, 26, 59, 105" Color="DarkBlue"
                                                                                        BorderWidth="3" Font="Arial, 8.5pt" ToolTip="#LEGENDTEXT: #VAL(Click here to see drill down report)"
                                                                                        LegendText="Actuals" />
                                                                                </Series>
                                                                                <ChartAreas>
                                                                                    <asp:ChartArea Name="Chart2" BackSecondaryColor="White" BackColor="White" ShadowColor="Transparent"
                                                                                        BorderColor="Black" BorderDashStyle="Solid" BorderWidth="1">
                                                                                        <AxisX Title="Month Year" LineColor="64, 64, 64" Interval="1" Maximum="Auto" IntervalAutoMode="FixedCount"
                                                                                            LabelAutoFitStyle="LabelsAngleStep90" IsLabelAutoFit="true">
                                                                                            <LabelStyle Font="Arial,8.5pt" />
                                                                                            <MajorGrid Enabled="false" />
                                                                                        </AxisX>
                                                                                        <AxisY Title="k$" Maximum="Auto" IntervalAutoMode="FixedCount" LabelAutoFitStyle="LabelsAngleStep30"
                                                                                            IsLabelAutoFit="true">
                                                                                            <LabelStyle Font="Arial,8.5pt" />
                                                                                            <MajorGrid Enabled="true" />
                                                                                        </AxisY>
                                                                                    </asp:ChartArea>
                                                                                </ChartAreas>
                                                                            </asp:Chart>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="vertical-align: top; padding-left: 10px; padding-top: 7px" colspan="2">
                                                            <ext:GridPanel ID="GrdYtdHeader" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                                ClicksToEdit="1" Height="25" Width="1225" EnableColumnResize="false">
                                                                <Store>
                                                                    <ext:Store ID="StrYtdHeader" runat="server">
                                                                        <Model>
                                                                            <ext:Model runat="server">
                                                                                <Fields>
                                                                                    <ext:ModelField Name="Column1" Type="Auto" />
                                                                                </Fields>
                                                                            </ext:Model>
                                                                        </Model>
                                                                    </ext:Store>
                                                                </Store>
                                                                <ColumnModel>
                                                                    <Columns>
                                                                        <ext:Column runat="server" DataIndex="Column1" Sortable="false" Text="Spend Variance (Plan vs. Actuals)"
                                                                            Width="1200" Resizable="false" MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdYtdHeader_Col1">
                                                                        </ext:Column>
                                                                    </Columns>
                                                                </ColumnModel>
                                                            </ext:GridPanel>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="vertical-align: top; padding-left: 10px" colspan="2">
                                                            <ext:GridPanel ID="GrdPnlSpendVariance" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                                ClicksToEdit="1" Height="140" Width="1225px" EnableColumnResize="false">
                                                                <Store>
                                                                    <ext:Store ID="StrSpendVariance" runat="server">
                                                                        <Model>
                                                                            <ext:Model runat="server">
                                                                                <Fields>
                                                                                    <ext:ModelField Name="m_NameCol2" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Jan" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Jan_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Feb" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Feb_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Mar" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Mar_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Apr" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Apr_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_May" Type="Auto" />
                                                                                    <ext:ModelField Name="m_May_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Jun" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Jun_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Jul" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Jul_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Aug" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Aug_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Sep" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Sep_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Oct" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Oct_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Nov" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Nov_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Dec" Type="Auto" />
                                                                                    <ext:ModelField Name="m_Dec_H" Type="Auto" />
                                                                                    <ext:ModelField Name="m_YTD" Type="Auto" />
                                                                                    <ext:ModelField Name="m_YTD_H" Type="Auto" />
                                                                                </Fields>
                                                                            </ext:Model>
                                                                        </Model>
                                                                    </ext:Store>
                                                                </Store>
                                                                <ColumnModel>
                                                                    <Columns>
                                                                        <ext:Column runat="server" DataIndex="m_NameCol2" Sortable="false" Text="" Width="200" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:left;" Align="Left" ID="GrdPnlSpendVariance_m_NameCol2">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_Jan" Sortable="false" Text="Jan" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;" Align="Right" ID="GrdPnlSpendVariance_M1">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_Feb" Sortable="false" Text="Feb" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlSpendVariance_M2">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_Mar" Sortable="false" Text="Mar" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlSpendVariance_M3">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_Apr" Sortable="false" Text="Apr" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlSpendVariance_M4">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_May" Sortable="false" Text="May" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlSpendVariance_M5">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_Jun" Sortable="false" Text="Jun" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlSpendVariance_M6">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_Jul" Sortable="false" Text="Jul" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlSpendVariance_M7">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_Aug" Sortable="false" Text="Aug" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlSpendVariance_M8">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_Sep" Sortable="false" Text="Sep" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlSpendVariance_M9">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_Oct" Sortable="false" Text="Oct" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlSpendVariance_M10">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_Nov" Sortable="false" Text="Nov" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlSpendVariance_M11">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_Dec" Sortable="false" Text="Dec" Width="75" Resizable="false"
                                                                            MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;" Align="Right" ID="GrdPnlSpendVariance_M12">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                        <ext:Column runat="server" DataIndex="m_YTD" Sortable="false" Text="YTD Variance" Width="100"
                                                                            Resizable="false" MenuDisabled="true" StyleSpec="text-align:right;word-break:break-all;"
                                                                            Align="Right" ID="GrdPnlSpendVariance_m_YTD">
                                                                            <Renderer Fn="SpendVariance_Renderer" />
                                                                        </ext:Column>
                                                                    </Columns>
                                                                </ColumnModel>
                                                                <View>
                                                                    <ext:GridView ID="GridView7" runat="server" MarkDirty="false" StripeRows="false" TrackOver="false" />
                                                                </View>
                                                                 <SelectionModel>
                                                                    <ext:CellSelectionModel ID="CellSelectionModel12" runat="server"></ext:CellSelectionModel>
                                                                 </SelectionModel>
                                                                <%--<View>
                                                                    <ext:GridView ID="GrdViewCat3" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                        MarkDirty="false">
                                                                        <headergrouprows>
                                                                                    <ext:HeaderGroupRow>
                                                                                        <Columns>
                                                                                            <ext:HeaderGroupColumn Text="Cat 3 Milestones" ColSpan="13" Align="Left" Tooltip="Cat 3 Milestones" />
                                                                                        </Columns>
                                                                                    </ext:HeaderGroupRow>
                                                                                    <ext:HeaderGroupRow>
                                                                                        <Columns>
                                                                                            <ext:HeaderGroupColumn Text="Actual Performance" Align="Center" Tooltip="Actual Performance" />
                                                                                            <ext:HeaderGroupColumn Text="Forecasted Performance" Align="Center" Tooltip="Forecasted Performance" />
                                                                                        </Columns>
                                                                                    </ext:HeaderGroupRow>
                                                                                </headergrouprows>
                                                                    </ext:GridView>
                                                                </View>--%>
                                                            </ext:GridPanel>
                                                        </td>
                                                    </tr>
                                                    <tr align="left">
                                                        <td style="height: 10px;" colspan="2"></td>
                                                    </tr>
                                                    <tr id="trYtdComments" runat="server">
                                                        <td align="left" style="height: 20px; padding-left: 10px">
                                                            <ext:TextArea ID="txtYTDComments" runat="server" Width="1200px" AutoScroll="true"
                                                                DisabledClass="DisabledFieldCss" MaxLength="500" Height="60px" EmptyText="Enter Variance comments here (500 char max)..."
                                                                MaskRe="[^<>]">
                                                                <Listeners>
                                                                    <Change Handler="enableDisableMetricsSubmitButton(#{txtYTDComments},'YTD')" />
                                                                </Listeners>
                                                            </ext:TextArea>
                                                        </td>
                                                        <td align="left" style="width: 100px">
                                                            <ext:Hidden ID="HdnYtdCommentsCopy" runat="server" />
                                                            <ext:Hidden ID="HdnYtdState" runat="server" />
                                                            <ext:Hidden ID="HdnYtdCommentId" Text="-1" runat="server" />
                                                            <ext:Button ID="BtnYTDPicklist" runat="server" IconCls="cls-ico-picklist" Flat="true"
                                                                EnableViewState="false">
                                                                <DirectEvents>
                                                                    <Click OnEvent="MetricsCommentsPicklist_Click">
                                                                        <ExtraParams>
                                                                            <ext:StoreParameter Name="parameter" Value="24" Mode="Raw" />
                                                                        </ExtraParams>
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:Button>
                                                            <ext:Button ID="BtnYTDSubmit" runat="server" Flat="true" EnableViewState="false"
                                                                IconCls="cls-ico-defaultmode">
                                                                <DirectEvents>
                                                                    <Click OnEvent="BtnMetricsCommentSubmit_Click" Delay="200">
                                                                        <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                                                        <ExtraParams>
                                                                            <ext:StoreParameter Name="parameter" Value="24" Mode="Raw" />
                                                                        </ExtraParams>
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:Button>
                                                        </td>
                                                    </tr>
                                                    <tr align="left">
                                                        <td style="height: 20px;" colspan="2"></td>
                                                    </tr>
                                                </table>
                                                <br />
                                                <br />
                                                <br />
                                            </Content>
                                        </ext:Panel>
                                        <ext:Panel ID="pnlSubCommentsView" runat="server" Padding="5" AutoScroll="false"
                                            Border="false" Height="750px" Width="1260px">
                                            <Content>
                                                <table width="1254px">
                                                    <tr>
                                                        <td colspan="2">
                                                            <ext:Label ID="lblIsProgramLockedOrIsAutorisedToEnterProgramLevelData" runat="server" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <fieldset id="fSetHighlightsAchievements" runat="server" style="padding: 5px; width: 608px">
                                                                <legend><b>Highlights & Achievements</b> </legend>
                                                                <ext:Hidden ID="HdnHighlightsAchievements" runat="server" />
                                                                <ext:GridPanel ID="GrdHighlightsAchievements" runat="server" EnableColumnMove="false"
                                                                    ButtonAlign="Center" Height="245" Width="595" SelectionMemory="false">
                                                                    <Store>
                                                                        <ext:Store ID="StoreHighlightsAchievements" runat="server">
                                                                            <Model>
                                                                                <ext:Model runat="server" IDProperty="CommentId">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="Id" Type="Int" />
                                                                                        <ext:ModelField Name="CommentId" Type="Int" />
                                                                                        <ext:ModelField Name="Comments" Type="string" />
                                                                                        <ext:ModelField Name="State" Type="String" />
                                                                                        <ext:ModelField Name="UpdatedBy" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column runat="server" DataIndex="Id" Text="Id" Hidden="true" ID="GrdHighlightsAch_ID">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="CommentId" Text="CommentId" Hidden="true" ID="GrdHighlightsAch_CommentID">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="Comments" Text="Comment" Width="200" Sortable="true" MenuDisabled="true" ID="GrdHighlightsAch_Comment">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="UpdatedBy" Text="Last Updated By" Width="150" Sortable="true"
                                                                                MenuDisabled="true" ID="GrdHighlightsAch_UpdatedBy">
                                                                            </ext:Column>
                                                                            <ext:CommandColumn Width="35" Pack="Center" Text="Edit" runat="server" ID="GrdHighlightsAch_Edit">
                                                                                <Commands>
                                                                                    <ext:GridCommand CommandName="Edit" Icon="NoteEdit">
                                                                                        <ToolTip Text="<%$ Resources:WebResource,GeneralMsg_ToolTip %>" />
                                                                                    </ext:GridCommand>
                                                                                </Commands>
                                                                                <Listeners>
                                                                                    <Command Handler="#{FrmPnlAchievements}.getForm().loadRecord(record);#{FrmPnlAchievements}.record = record;#{btnAdd4UpCommentsSave}.setText('Save');#{HdnRecentlyClicked}.setValue(#{HdnHighlightsAchievements}.value);#{Hdn4UpCommentsCopy}.setValue(record.data.Comments);ShowPopWindow('AC','Edit Highlights & Achievements');" />
                                                                                </Listeners>
                                                                            </ext:CommandColumn>
                                                                            <ext:CommandColumn Width="55" Align="Center" Pack="Center" Resizable="false"
                                                                                MenuDisabled="true" Text="Submit" runat="server" ID="GrdHighlightsAch_Submit">
                                                                                <Commands>
                                                                                </Commands>
                                                                                <PrepareToolbar Fn="Common_PrepareToolbar" />
                                                                                <Listeners>
                                                                                    <Command Handler="#{HdnRecentlyClicked}.setValue(#{HdnHighlightsAchievements}.value); Submit4UpComments(record.data.CommentId); " />
                                                                                </Listeners>
                                                                            </ext:CommandColumn>
    
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewHighlightsAchievements" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                                                                    </View>
                                                                    <SelectionModel>
                                                                        <ext:CheckboxSelectionModel ID="ChkHighlightsAchievements" runat="server" CheckOnly="true">
                                                                            <Listeners>
                                                                                <Select Handler="#{BtnHighlightsAchievementsDelete}.enable(); #{HdnRecentlyClicked}.setValue(#{HdnHighlightsAchievements}.value);" />
                                                                                <Deselect Handler="if(!#{GrdHighlightsAchievements}.hasSelection()) { #{BtnHighlightsAchievementsDelete}.disable();}" />
                                                                            </Listeners>
                                                                        </ext:CheckboxSelectionModel>
                                                                    </SelectionModel>
                                                                    <TopBar>
                                                                        <ext:Toolbar ID="tbarHighlightsAchievements" runat="server" Height="25px" Layout="HBoxLayout">
                                                                            <Items>
                                                                                <ext:Button ID="BtnHighlightsAchievementsAdd" runat="server" Text="Add" Icon="Add"
                                                                                    ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsAdd %>">
                                                                                    <Listeners>
                                                                                        <Click Handler="#{FrmPnlAchievements}.getForm().reset();#{btnAdd4UpCommentsSave}.setText('Save');#{HdnRecentlyClicked}.setValue(#{HdnHighlightsAchievements}.value);ShowPopWindow('AC','Add Highlights & Achievements');#{TBComments}.setValue('');#{TBComments}.focus(true, 500);" />
                                                                                    </Listeners>
                                                                                </ext:Button>
                                                                                <ext:Button ID="BtnHighlightsAchievementsDelete" runat="server" Text="Delete" Icon="Decline"
                                                                                    Disabled="true" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsDelete %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="DeleteHighlightsRecords_Click">
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                                <ext:ToolbarFill Width="270" />
                                                                                <ext:Button ID="btnHighlightsAchievementsPickUpList" runat="server" Text="Comments Pick List"
                                                                                    IconCls="cls-ico-picklist" Disabled="false" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsPicklist %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="CommentsPicklist_Click">
                                                                                            <EventMask Msg="Loading..." ShowMask="true" Target="CustomTarget" CustomTarget="#{GrdHighlightsAchievements}" />
                                                                                            <ExtraParams>
                                                                                                <ext:StoreParameter Name="parameter" Value="1" Mode="Raw" />
                                                                                            </ExtraParams>
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                                <ext:Button ID="btnHighlightsAchievementsSubmitAll" runat="server" Text="Submit All &nbsp;&nbsp;&nbsp;"
                                                                                    Icon="ApplicationGo" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsSubmitAll %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="SubmitAll4UpComments_Click">
                                                                                            <ExtraParams>
                                                                                                <ext:StoreParameter Name="parameter" Value="Ext.encode(#{GrdHighlightsAchievements}.getRowsValues({selectedOnly : false}))"
                                                                                                    Mode="Raw" />
                                                                                                <ext:StoreParameter Name="parameter1" Value="1" Mode="Raw" />
                                                                                            </ExtraParams>
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                            </Items>
                                                                        </ext:Toolbar>
                                                                    </TopBar>
                                                                    <Listeners>
                                                                        <Edit Fn="afterEditHighlightsAchievements" />
                                                                    </Listeners>
                                                                </ext:GridPanel>
                                                            </fieldset>
                                                        </td>
                                                        <td>
                                                            <fieldset id="fSetCurrentChallenges" runat="server" style="padding: 5px; width: 608px">
                                                                <legend><b>Current Challenges</b> </legend>
                                                                <ext:Hidden ID="HdnCurrentChallenges" runat="server" />
                                                                <ext:GridPanel ID="GrdCurrentChallenges" runat="server" EnableColumnMove="false"
                                                                    ButtonAlign="Center" ClicksToEdit="1" Height="245px" Width="595" SelectionMemory="false">
                                                                    <Store>
                                                                        <ext:Store ID="StoreCurrentChallenges" runat="server">
                                                                            <Model>
                                                                                <ext:Model runat="server" IDProperty="CommentId">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="Id" Type="Int" />
                                                                                        <ext:ModelField Name="CommentId" Type="Int" />
                                                                                        <ext:ModelField Name="Comments" Type="string" />
                                                                                        <ext:ModelField Name="State" Type="String" />
                                                                                        <ext:ModelField Name="UpdatedBy" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column runat="server" DataIndex="Id" Text="Id" Hidden="true" ID="GrdCurrentChallenges_ID">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="CommentId" Text="CommentId" Hidden="true" ID="GrdCurrentChallenges_CommentID">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="Comments" Text="Comment" Width="200" Sortable="true" MenuDisabled="true" ID="GrdCurrentChallenges_Comments">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="UpdatedBy" Text="Last Updated By" Width="150" Sortable="true"
                                                                                MenuDisabled="true" ID="GrdCurrentChallenges_UpdatedBy">
                                                                            </ext:Column>
                                                                            <ext:CommandColumn Width="35" Pack="Center" Text="Edit" runat="server"
                                                                                ID="GrdCurrentChallenges_Edit">
                                                                                <Commands>
                                                                                    <ext:GridCommand CommandName="Edit" Icon="NoteEdit">
                                                                                        <ToolTip Text="<%$ Resources:WebResource,GeneralMsg_ToolTip %>" />
                                                                                    </ext:GridCommand>
                                                                                </Commands>
                                                                                <Listeners>
                                                                                    <Command Handler="#{FrmPnlAchievements}.getForm().loadRecord(record);#{FrmPnlAchievements}.record = record;#{btnAdd4UpCommentsSave}.setText('Save');#{HdnRecentlyClicked}.setValue(#{HdnCurrentChallenges}.value);#{Hdn4UpCommentsCopy}.setValue(record.data.Comments);ShowPopWindow('AC','Edit Current Challenges'); " />
                                                                                </Listeners>
                                                                            </ext:CommandColumn>
                                                                            <ext:CommandColumn Width="55" Align="Center" Pack="Center" Resizable="false" runat="server"
                                                                                MenuDisabled="true" Text="Submit" ID="GrdCurrentChallenges_Submit">
                                                                                <Commands>
                                                                                </Commands>
                                                                                <PrepareToolbar Fn="Common_PrepareToolbar" />
                                                                                <Listeners>
                                                                                    <Command Handler="#{HdnRecentlyClicked}.setValue(#{HdnCurrentChallenges}.value); Submit4UpComments(record.data.CommentId); " />
                                                                                </Listeners>
                                                                            </ext:CommandColumn>
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewCurrentChallenges" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                            MarkDirty="false" />
                                                                    </View>
                                                                    <SelectionModel>
                                                                        <ext:CheckboxSelectionModel ID="csmCurrentChallenges" runat="server" CheckOnly="true">
                                                                            <Listeners>
                                                                                <Select Handler="#{btnDeleteCurrentChallenges}.enable(); #{HdnRecentlyClicked}.setValue(#{HdnCurrentChallenges}.value);" />
                                                                                <Deselect Handler="if(!#{GrdCurrentChallenges}.hasSelection()) { #{btnDeleteCurrentChallenges}.disable();}" />
                                                                            </Listeners>
                                                                        </ext:CheckboxSelectionModel>
                                                                    </SelectionModel>
                                                                    <TopBar>
                                                                        <ext:Toolbar ID="tbCurrentChallenges" runat="server" Height="25px" Layout="HBoxLayout">
                                                                            <Items>
                                                                                <ext:Button ID="btnAddCurrentChallenges" runat="server" Text="Add" Icon="Add" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsAdd %>">
                                                                                    <Listeners>
                                                                                        <Click Handler="#{FrmPnlAchievements}.getForm().reset();#{btnAdd4UpCommentsSave}.setText('Save');#{HdnRecentlyClicked}.setValue(#{HdnCurrentChallenges}.value);ShowPopWindow('AC','Add Current Challenges');#{TBComments}.setValue('');#{TBComments}.focus(true, 500)" />
                                                                                    </Listeners>
                                                                                </ext:Button>
                                                                                <ext:Button ID="btnDeleteCurrentChallenges" runat="server" Text="Delete" Icon="Decline"
                                                                                    Disabled="true" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsDelete %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="DeleteCurrentChallengesRecords_Click">
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                                <ext:ToolbarFill Width="275" />
                                                                                <ext:Button ID="btnCurrentChallengesPickList" runat="server" Text="Comments Pick List"
                                                                                    IconCls="cls-ico-picklist" Disabled="false" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsPicklist %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="CommentsPicklist_Click">
                                                                                            <EventMask Msg="Loading..." ShowMask="true" Target="CustomTarget" CustomTarget="#{GrdCurrentChallenges}" />
                                                                                            <ExtraParams>
                                                                                                <ext:StoreParameter Name="parameter" Value="2" Mode="Raw" />
                                                                                            </ExtraParams>
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                                <ext:Button ID="btnCurrentChallengesSubmitAll" runat="server" Text="Submit All &nbsp;&nbsp;&nbsp;"
                                                                                    Icon="ApplicationGo" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsSubmitAll %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="SubmitAll4UpComments_Click">
                                                                                            <ExtraParams>
                                                                                                <ext:StoreParameter Name="parameter" Value="Ext.encode(#{GrdCurrentChallenges}.getRowsValues({selectedOnly : false}))"
                                                                                                    Mode="Raw" />
                                                                                                <ext:StoreParameter Name="parameter1" Value="2" Mode="Raw" />
                                                                                            </ExtraParams>
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                            </Items>
                                                                        </ext:Toolbar>
                                                                    </TopBar>
                                                                    <Listeners>
                                                                        <Edit Fn="afterEditCurrrentChallenges" />
                                                                    </Listeners>
                                                                </ext:GridPanel>
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <fieldset id="fSet30DayOutlook" runat="server" style="padding: 5px; width: 608px">
                                                                <legend><b>30-Day Outlook</b> </legend>
                                                                <ext:Hidden ID="hdn30DayOutlook" runat="server" />
                                                                <ext:GridPanel ID="grd30DayOutlook" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                                    ClicksToEdit="1" Height="245px" Width="595" SelectionMemory="false">
                                                                    <Store>
                                                                        <ext:Store ID="st30DayOutlook" runat="server">
                                                                            <Model>
                                                                                <ext:Model runat="server" IDProperty="CommentId">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="Id" Type="Int" />
                                                                                        <ext:ModelField Name="CommentId" Type="Int" />
                                                                                        <ext:ModelField Name="Comments" Type="string" />
                                                                                        <ext:ModelField Name="State" Type="String" />
                                                                                        <ext:ModelField Name="UpdatedBy" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column runat="server" DataIndex="Id" Text="Id" Hidden="true" ID="grd30DayOutlook_ID">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="CommentId" Text="CommentId" Hidden="true" ID="grd30DayOutlook_CommentID">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="Comments" Text="Comment" Width="200" Sortable="true" MenuDisabled="true" ID="grd30DayOutlook_Comment">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="UpdatedBy" Text="Last Updated By" Width="150" Sortable="true"
                                                                                MenuDisabled="true" ID="grd30DayOutlook_UpdatedBy">
                                                                            </ext:Column>
                                                                            <ext:CommandColumn Width="35" Pack="Center" Text="Edit" runat="server" ID="grd30DayOutlook_Edit">
                                                                                <Commands>
                                                                                    <ext:GridCommand CommandName="Edit" Icon="NoteEdit">
                                                                                        <ToolTip Text="<%$ Resources:WebResource,GeneralMsg_ToolTip %>" />
                                                                                    </ext:GridCommand>
                                                                                </Commands>
                                                                                <Listeners>
                                                                                    <Command Handler="#{FrmPnlAchievements}.getForm().loadRecord(record);#{FrmPnlAchievements}.record = record;#{btnAdd4UpCommentsSave}.setText('Save');#{HdnRecentlyClicked}.setValue(#{hdn30DayOutlook}.value);#{Hdn4UpCommentsCopy}.setValue(record.data.Comments);ShowPopWindow('AC','Edit 30 Day Outlook');" />
                                                                                </Listeners>
                                                                            </ext:CommandColumn>
                                                                            <ext:CommandColumn Width="55" Align="Center" Pack="Center" Resizable="false" runat="server"
                                                                                MenuDisabled="true" Text="Submit" ID="grd30DayOutlook_Submit">
                                                                                <Commands>
                                                                                </Commands>
                                                                                <PrepareToolbar Fn="Common_PrepareToolbar" />
                                                                                <Listeners>
                                                                                    <Command Handler="#{HdnRecentlyClicked}.setValue(#{hdn30DayOutlook}.value); Submit4UpComments(record.data.CommentId);" />
                                                                                </Listeners>
                                                                            </ext:CommandColumn>
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <SelectionModel>
                                                                        <ext:CheckboxSelectionModel ID="chk30DayOutlook" runat="server" CheckOnly="true">
                                                                            <Listeners>
                                                                                <Select Handler="#{btn30DayOutlookDelete}.enable(); #{HdnRecentlyClicked}.setValue(#{hdn30DayOutlook}.value);" />
                                                                                <Deselect Handler="if(!#{grd30DayOutlook}.hasSelection()) { #{btn30DayOutlookDelete}.disable();}" />
                                                                            </Listeners>
                                                                        </ext:CheckboxSelectionModel>
                                                                    </SelectionModel>
                                                                    <TopBar>
                                                                        <ext:Toolbar ID="tbar30DayOutlook" runat="server" Height="25px" Layout="HBoxLayout">
                                                                            <Items>
                                                                                <ext:Button ID="btn30DayOutlookAdd" runat="server" Text="Add" Icon="Add" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsAdd %>">
                                                                                    <Listeners>
                                                                                        <Click Handler="#{FrmPnlAchievements}.getForm().reset();#{btnAdd4UpCommentsSave}.setText('Save');#{HdnRecentlyClicked}.setValue(#{hdn30DayOutlook}.value);ShowPopWindow('AC','Add 30 Day Outlook');#{TBComments}.setValue('');#{TBComments}.focus(true, 500);" />
                                                                                    </Listeners>
                                                                                </ext:Button>
                                                                                <ext:Button ID="btn30DayOutlookDelete" runat="server" Text="Delete" Icon="Decline"
                                                                                    Disabled="true" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsDelete %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="Delete30DayOutlookRecords_Click">
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                                <ext:ToolbarFill Width="275" />
                                                                                <ext:Button ID="btn30DayOutlookPickList" runat="server" Text="Comments Pick List"
                                                                                    IconCls="cls-ico-picklist" Disabled="false" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsPicklist %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="CommentsPicklist_Click">
                                                                                            <EventMask Msg="Loading..." ShowMask="true" Target="CustomTarget" CustomTarget="#{grd30DayOutlook}" />
                                                                                            <ExtraParams>
                                                                                                <ext:StoreParameter Name="parameter" Value="3" Mode="Raw" />
                                                                                            </ExtraParams>
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                                <ext:Button ID="btn30DayOutlookSubmitAll" runat="server" Text="Submit All &nbsp;&nbsp;&nbsp;"
                                                                                    Icon="ApplicationGo" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsSubmitAll %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="SubmitAll4UpComments_Click">
                                                                                            <ExtraParams>
                                                                                                <ext:StoreParameter Name="parameter" Value="Ext.encode(#{grd30DayOutlook}.getRowsValues({selectedOnly : false}))"
                                                                                                    Mode="Raw" />
                                                                                                <ext:StoreParameter Name="parameter1" Value="3" Mode="Raw" />
                                                                                            </ExtraParams>
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                            </Items>
                                                                        </ext:Toolbar>
                                                                    </TopBar>
                                                                    <Listeners>
                                                                        <Edit Fn="afterEdit30DayOutlook" />
                                                                    </Listeners>
                                                                    <View>
                                                                        <ext:GridView ID="GrdView30DayOutlook" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                            MarkDirty="false" />
                                                                    </View>
                                                                </ext:GridPanel>
                                                            </fieldset>
                                                        </td>
                                                        <td>
                                                            <fieldset id="fSetNeedHelp" runat="server" style="padding: 5px; width: 608px">
                                                                <legend><b>Help Needed</b> </legend>
                                                                <ext:Hidden ID="hdnHelpNeeded" runat="server" />
                                                                <ext:GridPanel ID="grdHelpNeeded" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                                    ClicksToEdit="1" Height="245px" Width="595" SelectionMemory="false">
                                                                    <Store>
                                                                        <ext:Store ID="stHelpNeeded" runat="server">
                                                                            <Model>
                                                                                <ext:Model runat="server" IDProperty="CommentId">
                                                                                    <Fields>
                                                                                        <ext:ModelField Name="Id" Type="Int" />
                                                                                        <ext:ModelField Name="CommentId" Type="Int" />
                                                                                        <ext:ModelField Name="Comments" Type="string" />
                                                                                        <ext:ModelField Name="State" Type="String" />
                                                                                        <ext:ModelField Name="UpdatedBy" Type="String" />
                                                                                    </Fields>
                                                                                </ext:Model>
                                                                            </Model>
                                                                        </ext:Store>
                                                                    </Store>
                                                                    <ColumnModel>
                                                                        <Columns>
                                                                            <ext:Column runat="server" DataIndex="Id" Text="Id" Hidden="true" ID="grdHelpNeeded_ID">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="CommentId" Text="CommentId" Hidden="true" ID="grdHelpNeeded_CommentID">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="Comments" Text="Comment" Width="200" Sortable="true" MenuDisabled="true" ID="grdHelpNeeded_Comment">
                                                                            </ext:Column>
                                                                            <ext:Column runat="server" DataIndex="UpdatedBy" Text="Last Updated By" Width="150" Sortable="true"
                                                                                MenuDisabled="true" ID="grdHelpNeeded_UpdatedBy">
                                                                            </ext:Column>
                                                                            <ext:CommandColumn Width="35" Pack="Center" Text="Edit" runat="server" ID="grdHelpNeeded_Edit">
                                                                                <Commands>
                                                                                    <ext:GridCommand CommandName="Edit" Icon="NoteEdit">
                                                                                        <ToolTip Text="<%$ Resources:WebResource,GeneralMsg_ToolTip %>" />
                                                                                    </ext:GridCommand>
                                                                                </Commands>
                                                                                <Listeners>
                                                                                    <Command Handler="#{FrmPnlAchievements}.getForm().loadRecord(record);#{FrmPnlAchievements}.record = record;#{btnAdd4UpCommentsSave}.setText('Save');#{HdnRecentlyClicked}.setValue(#{hdnHelpNeeded}.value);#{Hdn4UpCommentsCopy}.setValue(record.data.Comments);ShowPopWindow('AC','Edit Help Needed'); " />
                                                                                </Listeners>
                                                                            </ext:CommandColumn>
                                                                            <ext:CommandColumn Width="55" Align="Center" Pack="Center" Resizable="false" runat="server"
                                                                                MenuDisabled="true" Text="Submit" ID="grdHelpNeeded_Submit">
                                                                                <Commands>
                                                                                    <%--<ext:GridCommand CommandName="Submit" Icon="NoteEdit">
                                                                                        <ToolTip Text="<%$ Resources:WebResource,GeneralMsg_ToolTip %>" />
                                                                                    </ext:GridCommand>--%>
                                                                                </Commands>
                                                                                <Listeners>
                                                                                    <Command Handler="#{HdnRecentlyClicked}.setValue(#{hdnHelpNeeded}.value); Submit4UpComments(record.data.CommentId); " />
                                                                                </Listeners>
                                                                                <PrepareToolbar Fn="Common_PrepareToolbar" />
                                                                            </ext:CommandColumn>
                                                                        </Columns>
                                                                    </ColumnModel>
                                                                    <View>
                                                                        <ext:GridView ID="GrdViewHelpNeeded" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                                                            MarkDirty="false" />
                                                                    </View>
                                                                    <SelectionModel>
                                                                        <ext:CheckboxSelectionModel ID="csmHelpNeeded" runat="server" CheckOnly="true">
                                                                            <Listeners>
                                                                                <Select Handler="#{btnHelpNeededDelete}.enable(); #{HdnRecentlyClicked}.setValue(#{hdnHelpNeeded}.value);" />
                                                                                <Deselect Handler="if(!#{grdHelpNeeded}.hasSelection()) { #{btnHelpNeededDelete}.disable();}" />
                                                                            </Listeners>
                                                                        </ext:CheckboxSelectionModel>
                                                                    </SelectionModel>
                                                                    <TopBar>
                                                                        <ext:Toolbar ID="tbarHelpNeeded" runat="server" Height="25px" Layout="HBoxLayout">
                                                                            <Items>
                                                                                <ext:Button ID="btnHelpNeededAdd" runat="server" Text="Add" Icon="Add" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsAdd %>">
                                                                                    <Listeners>
                                                                                        <Click Handler="#{FrmPnlAchievements}.getForm().reset();#{btnAdd4UpCommentsSave}.setText('Save');#{HdnRecentlyClicked}.setValue(#{hdnHelpNeeded}.value);ShowPopWindow('AC','Add Help Needed');#{TBComments}.setValue('');#{TBComments}.focus(true, 500);" />
                                                                                    </Listeners>
                                                                                </ext:Button>
                                                                                <ext:Button ID="btnHelpNeededDelete" runat="server" Text="Delete" Icon="Decline"
                                                                                    Disabled="true" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsDelete %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="DeleteHelpNeededRecords_Click">
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                                <ext:ToolbarFill Width="275" />
                                                                                <ext:Button ID="btnHelpNeededPickList" runat="server" Text="Comments Pick List" IconCls="cls-ico-picklist"
                                                                                    Disabled="false" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsPicklist %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="CommentsPicklist_Click">
                                                                                            <EventMask Msg="Loading..." ShowMask="true" Target="CustomTarget" CustomTarget="#{grdHelpNeeded}" />
                                                                                            <ExtraParams>
                                                                                                <ext:StoreParameter Name="parameter" Value="4" Mode="Raw" />
                                                                                            </ExtraParams>
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                                <ext:Button ID="btnHelpNeededSubmitAll" runat="server" Text="Submit All &nbsp;&nbsp;&nbsp;"
                                                                                    Icon="ApplicationGo" ToolTip="<%$ Resources:WebResource,GenericMsg_4UpCommentsSubmitAll %>">
                                                                                    <DirectEvents>
                                                                                        <Click OnEvent="SubmitAll4UpComments_Click">
                                                                                            <ExtraParams>
                                                                                                <ext:StoreParameter Name="parameter" Value="Ext.encode(#{grdHelpNeeded}.getRowsValues({selectedOnly : false}))"
                                                                                                    Mode="Raw" />
                                                                                                <ext:StoreParameter Name="parameter1" Value="4" Mode="Raw" />
                                                                                            </ExtraParams>
                                                                                        </Click>
                                                                                    </DirectEvents>
                                                                                </ext:Button>
                                                                            </Items>
                                                                        </ext:Toolbar>
                                                                    </TopBar>
                                                                    <Listeners>
                                                                        <Edit Fn="afterEditHelpNeeded" />
                                                                    </Listeners>
                                                                </ext:GridPanel>
                                                            </fieldset>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </Content>
                                        </ext:Panel>
                                        
                                    </Items>
                                </ext:Container>
                                <br />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <ext:Window ID="wndSpi" runat="server" Height="575" Width="800" Resizable="true"
            Modal="true" ButtonAlign="Center" Hidden="true" Closable="true" Title="Detail View"
            Border="false" Layout="FitLayout" Maximized="true">
            <%-- TO DO : Praveen Nampally
            <TopBar>
                <ext:Toolbar ID="Toolbar4" runat="server">
                    <Content>
                        <ext:LinkButton ID="LnkExportToExcelSpiCpi12" ToolTip="Click to open Excel view"
                            OnCommand="ExportToExcel" CommandName="SpiCpi" runat="server" Text="<img src='../../Images/forAll/ExportToExcel.png' alt='X' />">
                            <DirectEvents>
                                <Click OnEvent="SubmitAll4UpComments_Click">
                                </Click>
                            </DirectEvents>
                        </ext:LinkButton>
                        <asp:LinkButton ID="LnkExportToExcelSPICPIMonthly" ToolTip="Click to open Excel view"
                            OnCommand="ExportToExcel" CommandName="SPICPIMonthly" runat="server" Text="<img src='../../Images/forAll/ExportToExcel.png' alt='X' />" />
                    </Content>
                </ext:Toolbar>
            </TopBar>--%>
            <Content>
                <ext:Panel ID="pnlWinScorecard" runat="server" AutoScroll="true">
                    <Content>
    
                        <fieldset id="FieldSet1" runat="server" style="width: 1250px; padding: 5px">
                            <legend>WBS Details</legend>
    
                            <table class="tblCustom" border="0" width="1170px">
                                <tr style="display: none">
                                    <td width="16%"></td>
                                    <td width="16%"></td>
                                    <td width="16%"></td>
                                    <td width="16%"></td>
                                    <td width="16%"></td>
                                </tr>
                                <tr style="width: 35px">
                                    <td class="tdGrayColor">WBS Element
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsId" runat="server" />
                                    </td>
                                    <td class="tdGrayColor">WBS Description
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsName" runat="server" />
                                    </td>
                                    <td class="tdGrayColor">CAM Name
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsCAMName" runat="server" />
                                    </td>
                                </tr>
                                <tr style="width: 35px">
                                    <td class="tdGrayColor">Program Name
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsProgramName" runat="server" />
                                    </td>
                                    <td class="tdGrayColor">Project Name
                                    </td>
                                    <td colspan="3">
                                        <ext:Label ID="lblWbsProjectName" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdGrayColor">Program PE
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsProgramPe" runat="server" />
                                    </td>
                                    <td class="tdGrayColor">Project PE
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsProjectPe" runat="server" />
                                    </td>
                                    <td class="tdGrayColor">PPC Analyst
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsPpcAnalyst" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdGrayColor">Tier 2
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsIter2" runat="server" />
                                    </td>
                                    <td class="tdGrayColor">Tier 3
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsTier3" runat="server" />
                                    </td>
                                    <td class="tdGrayColor">Tier 4
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsIter4" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdGrayColor">SBU
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsSbu" runat="server" />
                                    </td>
                                    <td class="tdGrayColor">Tier2 CBT
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsTier2Cbt" runat="server" />
                                    </td>
                                    <td class="tdGrayColor">Business Segment
                                    </td>
                                    <td>
                                        <ext:Label ID="lblWbsBusinessSegment" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdGrayColor" colspan="6">WBS Scope
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="6">
                                        <ext:TextArea ID="TxtWbsScope" runat="server" Width="1170px" Height="60px" AutoScroll="true"
                                            MaxLength="500" MaskRe="[^<>]">
                                        </ext:TextArea>
                                        <ext:Hidden ID="HdnWbsScopeCopy" runat="server">
                                        </ext:Hidden>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="border: none;"></td>
                                    <td style="border: none;"></td>
    
                                    <td colspan="3" style="vertical-align: middle; text-align: center; border: none;">
                                        <ext:Button ID="BtnSaveWbsScope" runat="server" Text="Save" Icon="Disk">
                                            <DirectEvents>
                                                <Click OnEvent="BtnSaveWbsScope_Click">
                                                    <%--<EventMask ShowMask="true" Target="CustomTarget" CustomTarget="GrdPrograms" />--%>
                                                </Click>
                                            </DirectEvents>
                                        </ext:Button>
                                    </td>
                                    <td style="border: none;"></td>
                                </tr>
                            </table>
    
                            <fieldset id="FieldSet11" runat="server" style="width: 295px;">
                                <legend>Financials</legend>
                                <ext:GridPanel ID="GrdCamMeasures" runat="server" StripeRows="true" AutoHeight="true"
                                    EnableColumnMove="false" Width="265px" Height="350px">
                                    <Store>
                                        <ext:Store ID="StrCamMeasures" runat="server">
                                            <Model>
                                                <ext:Model runat="server">
                                                    <Fields>
                                                        <ext:ModelField Name="Measure" />
                                                        <ext:ModelField Name="Value" />
                                                        <ext:ModelField Name="Health" />
                                                    </Fields>
                                                </ext:Model>
                                            </Model>
                                        </ext:Store>
                                    </Store>
                                    <ColumnModel>
                                        <Columns>
                                            <ext:Column runat="server" Text="Measure" DataIndex="Measure" Width="100" Sortable="true" MenuDisabled="true"
                                                Align="Left">
                                            </ext:Column>
                                            <ext:Column runat="server" Text="Value" DataIndex="Value" Width="90" Sortable="true" MenuDisabled="true"
                                                StyleSpec="text-align:right;" />
                                            <ext:Column runat="server" ColumnID="Health" Text="Health" DataIndex="Health" Width="70" Sortable="true"
                                                MenuDisabled="true" Align="Center">
                                                <Renderer Fn="FinancialHealth_Render" />
                                            </ext:Column>
                                        </Columns>
                                    </ColumnModel>
                                    <View>
                                        <ext:GridView ID="GrdViewProgramMesaures" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>">
                                        </ext:GridView>
                                    </View>
                                </ext:GridPanel>
                            </fieldset>
                            <br />
                            <br />
                            <ext:Hidden ID="Hidden8" runat="server" />
                        </fieldset>
                    </Content>
                </ext:Panel>
            </Content>
        </ext:Window>
        <div id='mask'>
        </div>
        <div id='dialog' class="window">
        </div>
        <%-- V1.8:Milestones Related windows--%>
        <ext:Window ID="ViewMissedMilestones" runat="server" Title="Missed Milestones" Icon="Time"
            Width="900" Height="500" Plain="true" Padding="5" ButtonAlign="Center" X="2"
            Y="2" LabelWidth="55" Modal="true" CloseAction="Hide" Draggable="true" Layout="FitLayout"
            Hidden="true" Maximizable="false" BodyStyle="background-color: white" Maximized="true">
            <Items>
                <ext:GridPanel ID="GrdMissedMilestones" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                    Border="false" TrackMouseOver="true" AutoExpandMin="150" AutoExpandMax="300"
                    Height="480" Width="1260">
                    <TopBar>
                        <ext:Toolbar runat="server" ID="TbarMilestone">
                            <Items>
                                <ext:Container ID="cntMissedMilestones" runat="server">
                                    <Content>
                                        <table cellpadding="0" cellspacing="0" width="1200px">
                                            <tr>
                                                <td valign="middle" style="padding-left: 5px; width: 100px">
                                                    <%--<ext:ToolbarSpacer ID="Tbs1" runat="server" Width="5" />--%>
                                                    <ext:ComboBox ID="CmbMissedMilestonesMonth" Width="99px" runat="server" Text="Month"
                                                        Editable="false">
                                                        <Items>
                                                            <ext:ListItem Text="January" Value="1" />
                                                            <ext:ListItem Text="February" Value="2" />
                                                            <ext:ListItem Text="March" Value="3" />
                                                            <ext:ListItem Text="April" Value="4" />
                                                            <ext:ListItem Text="May" Value="5" />
                                                            <ext:ListItem Text="June" Value="6" />
                                                            <ext:ListItem Text="July" Value="7" />
                                                            <ext:ListItem Text="August" Value="8" />
                                                            <ext:ListItem Text="September" Value="9" />
                                                            <ext:ListItem Text="October" Value="10" />
                                                            <ext:ListItem Text="November" Value="11" />
                                                            <ext:ListItem Text="December" Value="12" />
                                                        </Items>
                                                        <Listeners>
                                                            <AfterRender Handler="fixComboArrow('#{CmbMissedMilestonesMonth}')" />
                                                        </Listeners>
                                                    </ext:ComboBox>
                                                </td>
                                                <td valign="middle" style="width: 92px">
                                                    <%--<ext:ToolbarSpacer ID="Tbs5" runat="server" Width="5" />--%>
                                                    <ext:ComboBox ID="CmbMissedMilestonesYear" Width="90px" runat="server" Text="--Year--"
                                                        Editable="false" DisplayField="Year" ValueField="YearId" TypeAhead="true" Mode="Local"
                                                        ForceSelection="true" SelectOnFocus="false">
                                                        <Store>
                                                            <ext:Store ID="StoreMissedMilestonesYear" runat="server">
                                                                <Model>
                                                                    <ext:Model runat="server">
                                                                        <Fields>
                                                                            <ext:ModelField Name="YearId" Type="Int" />
                                                                            <ext:ModelField Name="Year" Type="String" />
                                                                        </Fields>
                                                                    </ext:Model>
                                                                </Model>
                                                            </ext:Store>
                                                        </Store>
                                                        <Listeners>
                                                            <AfterRender Handler="fixComboArrow('#{CmbMissedMilestonesYear}')" />
                                                        </Listeners>
                                                    </ext:ComboBox>
                                                </td>
                                                <td valign="middle" style="width: 145px; padding-left: 10px">
                                                    <%--<ext:ToolbarSpacer ID="tbs3" runat="server" Width="5" />--%>
                                                    <ext:RadioGroup ID="RdoGrpCategory" runat="server" Width="150px">
                                                        <Items>
                                                            <ext:Radio ID="rdoAll" runat="server" BoxLabel="All" BoxLabelStyle="color:#055a78;font-family:arial;font-size:11px;font-weight:bold;"
                                                                Checked="true" />
                                                            <ext:Radio ID="rdoCat1" runat="server" BoxLabel="Cat 1" BoxLabelStyle="color:#055a78;font-family:arial;font-size:11px;font-weight:bold" />
                                                            <ext:Radio ID="rdoCat2" runat="server" BoxLabel="Cat 2" BoxLabelStyle="color:#055a78;font-family:arial;font-size:11px;font-weight:bold" />
                                                        </Items>
                                                    </ext:RadioGroup>
                                                </td>
                                                <td valign="middle" align="left" style="width: 50px; padding-left: 5px">
                                                    <%--<ext:ToolbarSpacer ID="tbs6" runat="server" Width="5px"/>--%>
                                                    <ext:Button ID="BtnViewMissedMilestone" runat="server" Text="View" StandOut="true">
                                                        <DirectEvents>
                                                            <Click OnEvent="BtnViewMissedMilestone_Click">
                                                            </Click>
                                                        </DirectEvents>
                                                    </ext:Button>
                                                </td>
                                                <td valign="middle" style="width: 160px; padding-left: 20px" colspan="3">
                                                    <ext:Label ID="LblCat1MisdMilestones" runat="server" />
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                <ext:Label ID="LblCat2MisdMilestones" runat="server" />
                                                </td>
                                                <td valign="middle" align="left">
                                                    <asp:LinkButton ID="LnkExportToExcelMissedMS" ToolTip="Click to open Excel view"
                                                        OnClick="ExportToExcelMissedMilestones" runat="server" OnClientClick="return GetClientBrowserDateTime();"
                                                        Text="<img src='../../Images/forAll/ExportToExcel.png' alt='X' />" />
    
                                                </td>
    
                                            </tr>
                                            <tr>
                                                <td colspan="8" style="padding-left: 5px">Note: Only those Milestones that are owned by E&T are shown in the CAM Scorecard.
                                            Milestones owned by ISC, AME, C&PS or PMO are not included.
                                                </td>
                                            </tr>
                                        </table>
                                    </Content>
                                </ext:Container>
    
                            </Items>
                        </ext:Toolbar>
                    </TopBar>
                    <Store>
                        <ext:Store ID="StoreMissedMilestones" runat="server">
                            <Model>
                                <ext:Model runat="server" IDProperty="ProjectId">
                                    <Fields>
                                        <ext:ModelField Name="CAM_Id" Type="Int" />
                                        <ext:ModelField Name="ProjectId" Type="Int" />
                                        <ext:ModelField Name="CAM" Type="String" />
                                        <ext:ModelField Name="KeyCode" Type="Int" />
                                        <ext:ModelField Name="ProgramName" Type="String" />
                                        <ext:ModelField Name="ProjectName" Type="String" />
                                        <ext:ModelField Name="Cat1Planned" Type="String" />
                                        <ext:ModelField Name="Cat1Actual" Type="String" />
                                        <ext:ModelField Name="Cat2Planned" Type="String" />
                                        <ext:ModelField Name="Cat2Actual" Type="String" />
                                    </Fields>
                                </ext:Model>
                            </Model>
                        </ext:Store>
                    </Store>
                    <ColumnModel ID="cmMissedMilestones" runat="server">
                        <Columns>
                            <ext:Column runat="server" DataIndex="CAM" Text="CAM Name" Width="220" MenuDisabled="false" ID="GrdMissedMilestones_CamName" />
                            <ext:Column runat="server" DataIndex="KeyCode" Text="Keycode" Width="75" MenuDisabled="false" ID="GrdMissedMilestones_Keycode" />
                            <ext:Column runat="server" ColumnID="ProjectName" Text="Project Name" DataIndex="ProjectName"
                                Width="310" MenuDisabled="false" ID="GrdMissedMilestones_PrjName" />
                            <ext:Column runat="server" DataIndex="Cat1Planned" Text="Cat1 Planned" Width="165" StyleSpec="text-align:right;"
                                MenuDisabled="false" ID="GrdMissedMilestones_CAT1Planned" />
                            <ext:Column runat="server" DataIndex="Cat1Actual" Text="Cat1 Actual" Width="165" StyleSpec="text-align:right;"
                                MenuDisabled="false" ID="GrdMissedMilestones_CAT1Act" />
                            <ext:Column runat="server" DataIndex="Cat2Planned" Text="Cat2 Planned" Width="165" StyleSpec="text-align:right;"
                                MenuDisabled="false" ID="GrdMissedMilestones_CAT2Planned" />
                            <ext:Column runat="server" DataIndex="Cat2Actual" Text="Cat2 Actual" Width="165" StyleSpec="text-align:right;"
                                MenuDisabled="false" ID="GrdMissedMilestones_CAT2Act" />
                        </Columns>
                    </ColumnModel>
                    <View>
                        <ext:GridView ID="GrdViewMissedMilestones" runat="server" ForceFit="true" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>">
                            <Listeners>
                                <BeforeRefresh Fn="clean" />
                            </Listeners>
                        </ext:GridView>
                    </View>
                    <SelectionModel>
                        <ext:RowSelectionModel ID="RsmMissedMilestones" runat="server" />
                    </SelectionModel>
                    <Plugins>
                        <ext:RowExpander ID="rowExpanderMissedMilestones" runat="server" EnableCaching="false">
                            <Template ID="temMissedMilestones" runat="server">
                                <Html>
                                    <div id="row-{ProjectId}" style="background-color: White;"></div>
                                </Html>
                            </Template>
                            <DirectEvents>
                                <BeforeExpand OnEvent="MissedMilestoneBeforeExpand" Before="return !body.rendered;"
                                    Success="body.rendered=true;">
                                    <EventMask ShowMask="true" Target="CustomTarget" CustomTarget="={#{GrdMissedMilestones}.body}" />
                                    <ExtraParams>
                                        <ext:StoreParameter Name="paramCamId" Value="record.get('CAM_Id')" Mode="Raw" />
                                        <ext:StoreParameter Name="paramProjectId" Value="record.get('ProjectId')" Mode="Raw" />
                                    </ExtraParams>
                                </BeforeExpand>
                            </DirectEvents>
                        </ext:RowExpander>
                    </Plugins>
                    <Listeners>
                        <ViewReady Handler="this.view.on('beforerowupdate', rerenderNestedGrid);" />
                    </Listeners>
                </ext:GridPanel>
            </Items>
        </ext:Window>
        <ext:Window ID="WinMilestone" runat="server" Title="Detailed Milestones Report" Hidden="true"
            Draggable="false" Width="1050" MinHeight="650" MaxHeight="650" Modal="true" X="2"
            Y="2" BodyStyle="background-color: white" Resizable="false" Maximizable="false" Maximized="true">
            <Items>
                <ext:TabPanel ID="Tabpnl" runat="server" Height="615" ActiveIndex="0">
                    <TopBar>
                        <ext:Toolbar ID="ToolBar8" runat="server">
                            <Items>
                                <ext:Container ID="cntDetailedMilestone" runat="server">
                                    <Content>
                                        <table cellpadding="0" cellspacing="0" width="1200px">
                                            <tr>
                                                <td valign="middle" align="left">
                                                    <asp:LinkButton ID="LnkExportToExcelMs" ToolTip="Click to open Excel view" OnClick="ExportToExcelMilestones"
                                                        runat="server" OnClientClick="return GetClientBrowserDateTime();" Text="<img src='../../Images/forAll/ExportToExcel.png' alt='X' />" />
                                                    <ext:ToolbarSpacer ID="tbspacer1" runat="server" Width="30">
                                                    </ext:ToolbarSpacer>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="middle" align="left">Note: Only those Milestones that are owned by E&T are shown in the CAM Scorecard.
                                            Milestones owned by ISC, AME, C&PS or PMO are not included.
                                           
                                                </td>
                                            </tr>
                                        </table>
                                    </Content>
                                </ext:Container>
                            </Items>
                        </ext:Toolbar>
                    </TopBar>
                    <Items>
                        <ext:Panel ID="PnlInnerMilestone" runat="server" Title="Milestones">
                            <Content>
                                <table>
                                    <tr>
                                        <td>
                                            <fieldset style="width: auto">
                                                <legend><b>Milestones</b></legend>
                                                <ext:GridPanel ID="GrdHmrMilestone" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                    Border="true" TrackMouseOver="true" Height="208" Width="1335" AutoScroll="true"
                                                    AutoWidth="false">
                                                    <Store>
                                                        <ext:Store ID="StoreHmrMilestone" runat="server" AutoLoad="false" OnReadData="StoreHmrMilestone_RefreshData"
                                                            RemotePaging="true">
                                                            <Proxy>
                                                                <ext:PageProxy />
                                                            </Proxy>
                                                            <Model>
                                                                <ext:Model runat="server">
                                                                    <Fields>
                                                                        <ext:ModelField Name="CamName" Type="String" />
                                                                        <ext:ModelField Name="Keycode" Type="String" />
                                                                        <ext:ModelField Name="ProjectName" Type="String" />
                                                                        <ext:ModelField Name="HMRIndex" Type="String" />
                                                                        <ext:ModelField Name="Category" Type="String" />
                                                                        <ext:ModelField Name="HealthIndicator" Type="String" />
                                                                        <ext:ModelField Name="MilestoneName" Type="String" />
                                                                        <ext:ModelField Name="BillingFlag" Type="String" />
                                                                        <ext:ModelField Name="BillingAmount" Type="String" />
                                                                        <%--BaselineCompletiondate,ScheduledCompletionDate,ActualCompletionDate
                                       type = 'date' is not working so we kept SortType="AsDate"--%>
                                                                        <ext:ModelField Name="BaselineCompletiondate" SortType="AsDate" />
                                                                        <ext:ModelField Name="ScheduledCompletionDate" SortType="AsDate" />
                                                                        <ext:ModelField Name="ActualCompletionDate" SortType="AsDate" />
                                                                        <ext:ModelField Name="RCCACauseCode" Type="String" />
                                                                        <ext:ModelField Name="Comment" Type="String" />
                                                                        <ext:ModelField Name="RCCA" Type="String" />
                                                                        <ext:ModelField Name="Action" Type="String" />
                                                                    </Fields>
                                                                </ext:Model>
                                                            </Model>
                                                            <Parameters>
                                                                <ext:StoreParameter Name="start" Value="0" Mode="Raw" />
                                                                <ext:StoreParameter Name="sort" Value="" />
                                                                <ext:StoreParameter Name="dir" Value="" />
                                                            </Parameters>
                                                        </ext:Store>
                                                    </Store>
                                                    <ColumnModel ID="clmdlHmrMilestone" runat="server">
                                                        <Columns>
                                                            <ext:Column runat="server" DataIndex="CamName" Text="CAM Name" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" Wrap="true" />
                                                            <ext:Column runat="server" DataIndex="Keycode" Text="Keycode" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" />
                                                            <ext:Column runat="server" DataIndex="ProjectName" Text="Project Name" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" Wrap="true" />
                                                            <ext:Column runat="server" DataIndex="HMRIndex" Text="HMR Index" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;word-break:break-all;" Wrap="true" />
                                                            <ext:Column runat="server" Text="Status" DataIndex="HealthIndicator" Width="50" Align="Center">
                                                                <Renderer Fn="indicatorRenderFORMilestone" />
                                                            </ext:Column>
                                                            <ext:Column runat="server" DataIndex="MilestoneName" Text="Milestone Name" Width="200" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" Wrap="true" />
                                                            <ext:Column runat="server" Text="Cat" DataIndex="Category" Width="50" MenuDisabled="false" StyleSpec="text-align:right;" />
                                                            <ext:DateColumn runat="server" DataIndex="BaselineCompletiondate" Text="Baseline Date" Width="90"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:DateColumn runat="server" DataIndex="ScheduledCompletionDate" Text="Scheduled Date" Width="110"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:DateColumn runat="server" DataIndex="ActualCompletionDate" Text="Actual Date" Width="90"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:Column runat="server" DataIndex="RCCACauseCode" Text="RCCA Cause Code" Width="150" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" Wrap="true" />
                                                            <ext:Column runat="server" DataIndex="Comment" Text="Comment" Width="100" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" Wrap="true" />
                                                            <ext:Column runat="server" DataIndex="RCCA" Text="RCCA" Width="200" StyleSpec="text-align:left;" MenuDisabled="false" Wrap="true" />
                                                            <ext:Column runat="server" DataIndex="Action" Text="Action" Width="250" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" Wrap="true" />
                                                        </Columns>
                                                    </ColumnModel>
                                                    <View>
                                                        <ext:GridView ID="GrdviewHmrMilestone" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound_ForHMR %>" />
                                                    </View>
                                                    <BottomBar>
                                                        <ext:PagingToolbar ID="PgtlbrHmrMilestone" runat="server" PageSize="10" HideRefresh="true"
                                                            ActiveIndex="1" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>">
                                                            <Items>
                                                                <ext:Label ID="Label7" runat="server" Text="Page size:" />
                                                                <ext:ToolbarSpacer ID="ToolBarSpacer7" runat="server" Width="10" />
                                                                <ext:ComboBox ID="cmbpgHmrMilestone" runat="server" Width="80" SelectedIndex="0">
                                                                    <Items>
                                                                        <ext:ListItem Text="10" Value="10" />
                                                                        <ext:ListItem Text="20" Value="20" />
                                                                        <ext:ListItem Text="50" Value="50" />
                                                                        <ext:ListItem Text="100" Value="100" />
                                                                    </Items>
                                                                    <selecteditem value="10" />
                                                                    <Listeners>
                                                                        <%--<Select Handler="#{PgtlbrHmrMilestone}.pageSize = parseInt(this.getValue()); #{PgtlbrHmrMilestone}.doLoad();" />--%>
                                                                         <Select Handler="#{PgtlbrHmrMilestone}.store.pageSize = parseInt(this.getValue()); #{GrdHmrMilestone}.store.reload();" />
                                                                    </Listeners>
                                                                </ext:ComboBox>
                                                            </Items>
                                                        </ext:PagingToolbar>
                                                    </BottomBar>
                                                     
                                                    <ToolTips>
                                                        <ext:ToolTip ID="TTHmrMilestone" runat="server" Target="={#{GrdHmrMilestone}.getView().el}"
                                                            Delegate=".x-grid-cell" DismissDelay="120000" Anchor="bottom" TrackMouse="true"
                                                                                    BodyCssClass="wrap-tooltip">
                                                            <Listeners>
                                                                <Show Handler="showTipForGridforMilestone(this, #{GrdHmrMilestone})" />
                                                            </Listeners>
                                                        </ext:ToolTip>
                                                    </ToolTips>
                                                </ext:GridPanel>
                                            </fieldset>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <fieldset style="width: auto">
                                                <legend><b>IPDS Gate Exit Schedule</b></legend>
                                                <ext:GridPanel ID="GrdIpdsMilestone" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                    Border="true" TrackMouseOver="true" Height="205" Width="1335" AutoScroll="true"
                                                    AutoWidth="false">
                                                    <Store>
                                                        <ext:Store ID="StoreIpdsMilestone" runat="server" AutoLoad="false" OnReadData="StoreIpdsMilestone_RefreshData"
                                                            RemotePaging="true">
                                                            <Proxy>
                                                                <ext:PageProxy />
                                                            </Proxy>
                                                            <Model>
                                                                <ext:Model runat="server">
                                                                    <Fields>
                                                                        <ext:ModelField Name="CamName" Type="String" />
                                                                        <ext:ModelField Name="Keycode" Type="String" />
                                                                        <ext:ModelField Name="ProjectName" Type="String" />
                                                                        <ext:ModelField Name="HMRIndex" Type="String" />
                                                                        <ext:ModelField Name="Category" Type="String" />
                                                                        <ext:ModelField Name="HealthIndicator" Type="String" />
                                                                        <ext:ModelField Name="MilestoneName" Type="String" />
                                                                        <ext:ModelField Name="BillingFlag" Type="String" />
                                                                        <ext:ModelField Name="BillingAmount" Type="String" />
                                                                        <%--BaselineCompletiondate,ScheduledCompletionDate,ActualCompletionDate
                                       type = 'date' is not working so we kept SortType="AsDate"--%>
                                                                        <ext:ModelField Name="BaselineCompletiondate" SortType="AsDate" />
                                                                        <ext:ModelField Name="ScheduledCompletionDate" SortType="AsDate" />
                                                                        <ext:ModelField Name="ActualCompletionDate" SortType="AsDate" />
                                                                        <ext:ModelField Name="RCCACauseCode" Type="String" />
                                                                        <ext:ModelField Name="Comment" Type="String" />
                                                                        <ext:ModelField Name="RCCA" Type="String" />
                                                                        <ext:ModelField Name="Action" Type="String" />
                                                                    </Fields>
                                                                </ext:Model>
                                                            </Model>
                                                            <Parameters>
                                                                <ext:StoreParameter Name="start" Value="0" Mode="Raw" />
                                                                <ext:StoreParameter Name="sort" Value="" />
                                                                <ext:StoreParameter Name="dir" Value="" />
                                                            </Parameters>
                                                        </ext:Store>
                                                    </Store>
                                                    <ColumnModel ID="clmdlIpdsMilestone" runat="server">
                                                        <Columns>
                                                            <ext:Column runat="server" DataIndex="CamName" Text="CAM Name" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" />
                                                            <ext:Column runat="server" DataIndex="Keycode" Text="Keycode" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" />
                                                            <ext:Column runat="server" DataIndex="ProjectName" Text="Project Name" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" />
                                                            <ext:Column runat="server" DataIndex="HMRIndex" Text="HMR Index" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;word-break:break-all;" />
                                                            <ext:Column runat="server" Text="Status" DataIndex="HealthIndicator" Width="50" Align="Center">
                                                                <Renderer Fn="indicatorRenderFORMilestone" />
                                                            </ext:Column>
                                                            <ext:Column runat="server" DataIndex="MilestoneName" Text="Milestone Name" Width="200" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" />
                                                            <ext:Column runat="server" Text="Cat" DataIndex="Category" Width="50" MenuDisabled="false" StyleSpec="text-align:right;" />
                                                            <ext:DateColumn runat="server" DataIndex="BaselineCompletiondate" Text="Baseline Date" Width="90"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:DateColumn runat="server" DataIndex="ScheduledCompletionDate" Text="Scheduled Date" Width="100"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:DateColumn runat="server" DataIndex="ActualCompletionDate" Text="Actual Date" Width="90"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:Column runat="server" DataIndex="RCCACauseCode" Text="RCCA Cause Code" Width="150" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" />
                                                            <ext:Column runat="server" DataIndex="Comment" Text="Comment" Width="100" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" />
                                                            <ext:Column runat="server" DataIndex="RCCA" Text="RCCA" Width="200" StyleSpec="text-align:left;" MenuDisabled="false" />
                                                            <ext:Column runat="server" DataIndex="Action" Text="Action" Width="300" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" />
                                                        </Columns>
                                                    </ColumnModel>
                                                    <View>
                                                        <ext:GridView ID="GrdviewIpdsMilestone" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                                                    </View>
                                                    <BottomBar>
                                                        <ext:PagingToolbar ID="PgIpdsMilestone" runat="server" PageSize="10" HideRefresh="true" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>">
                                                            <Items>
                                                                <ext:Label ID="Label6" runat="server" Text="Page size:" />
                                                                <ext:ToolbarSpacer ID="ToolBarSpacer6" runat="server" Width="10" />
                                                                <ext:ComboBox ID="CmbIpdsMilestone" runat="server" Width="80" SelectedIndex="0">
                                                                    <Items>
                                                                        <ext:ListItem Text="10" Value="10" />
                                                                        <ext:ListItem Text="20" Value="20" />
                                                                        <ext:ListItem Text="50" Value="50" />
                                                                        <ext:ListItem Text="100" Value="100" />
                                                                    </Items>
                                                                    <selecteditem value="10" />
                                                                    <Listeners>
                                                                        <%--<Select Handler="#{PgIpdsMilestone}.pageSize = parseInt(this.getValue()); #{PgIpdsMilestone}.doLoad();" />--%>
                                                                        <Select Handler="#{PgIpdsMilestone}.store.pageSize = parseInt(this.getValue()); #{GrdIpdsMilestone}.store.reload();" />
                                                                    </Listeners>
                                                                </ext:ComboBox>
                                                            </Items>
                                                        </ext:PagingToolbar>
                                                    </BottomBar>
    
                                                    <ToolTips>
                                                        <ext:ToolTip ID="TTIpdsMilestone" runat="server" Target="={#{GrdIpdsMilestone}.getView().el}"
                                                            Delegate=".x-grid-cell" DismissDelay="120000" Anchor="bottom" TrackMouse="true"
                                                                                    BodyCssClass="wrap-tooltip">
                                                            <Listeners>
                                                                <Show Handler="showTipForGridforMilestone(this, #{GrdIpdsMilestone})" />
                                                            </Listeners>
                                                        </ext:ToolTip>
                                                    </ToolTips>
                                                </ext:GridPanel>
                                            </fieldset>
                                        </td>
                                    </tr>
                                </table>
                            </Content>
                        </ext:Panel>
                        <ext:Panel ID="PnlMonthlook" runat="server" Title="Likely To Miss (4MLA)">
                            <Content>
                                <table>
                                    <tr>
                                        <td>
                                            <fieldset style="width: auto">
                                                <legend><b>Likely To Miss (4MLA)</b></legend>
                                                <ext:GridPanel ID="GrdFourHmrMilestone" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                                                    Border="true" TrackMouseOver="true" Height="430" Width="1335" AutoScroll="true"
                                                    AutoWidth="false">
                                                    <Store>
                                                        <ext:Store ID="StoreFourHmrMilestone" runat="server" AutoLoad="false" OnReadData="StoreFourHmrMilestone_RefreshData"
                                                            RemotePaging="true">
                                                            <Proxy>
                                                                <ext:PageProxy />
                                                            </Proxy>
                                                            <Model>
                                                                <ext:Model runat="server">
                                                                    <Fields>
                                                                        <ext:ModelField Name="CamName" Type="String" />
                                                                        <ext:ModelField Name="Keycode" Type="String" />
                                                                        <ext:ModelField Name="ProjectName" Type="String" />
                                                                        <ext:ModelField Name="HMRIndex" Type="String" />
                                                                        <ext:ModelField Name="Category" Type="String" />
                                                                        <ext:ModelField Name="HealthIndicator" Type="String" />
                                                                        <ext:ModelField Name="MilestoneName" Type="String" />
                                                                        <ext:ModelField Name="BillingFlag" Type="String" />
                                                                        <ext:ModelField Name="BillingAmount" Type="String" />
                                                                        <%--BaselineCompletiondate,ScheduledCompletionDate,ActualCompletionDate
                                       type = 'date' is not working so we kept SortType="AsDate"--%>
                                                                        <ext:ModelField Name="BaselineCompletiondate" SortType="AsDate" />
                                                                        <ext:ModelField Name="ScheduledCompletionDate" SortType="AsDate" />
                                                                        <ext:ModelField Name="ActualCompletionDate" SortType="AsDate" />
                                                                        <ext:ModelField Name="RCCACauseCode" Type="String" />
                                                                        <ext:ModelField Name="Comment" Type="String" />
                                                                        <ext:ModelField Name="RCCA" Type="String" />
                                                                        <ext:ModelField Name="Action" Type="String" />
                                                                    </Fields>
                                                                </ext:Model>
                                                            </Model>
                                                            <Parameters>
                                                                <ext:StoreParameter Name="start" Value="0" Mode="Raw" />
                                                                <ext:StoreParameter Name="sort" Value="" />
                                                                <ext:StoreParameter Name="dir" Value="" />
                                                            </Parameters>
                                                        </ext:Store>
                                                    </Store>
                                                    <ColumnModel ID="clmdlfourHmrMilestone" runat="server">
                                                        <Columns>
                                                            <ext:Column runat="server" DataIndex="CamName" Text="CAM Name" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" />
                                                            <ext:Column runat="server" DataIndex="Keycode" Text="Keycode" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" />
                                                            <ext:Column runat="server" DataIndex="ProjectName" Text="Project Name" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" />
                                                            <ext:Column runat="server" DataIndex="HMRIndex" Text="HMR Index" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;word-break:break-all;" />
                                                            <ext:Column runat="server" DataIndex="MilestoneName" Text="Milestone Name" Width="220" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" />
                                                            <ext:Column runat="server" Text="Cat" DataIndex="Category" Width="60" MenuDisabled="false" StyleSpec="text-align:right;" />
                                                            <ext:DateColumn runat="server" DataIndex="BaselineCompletiondate" Text="Baseline Date" Width="90"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:DateColumn runat="server" DataIndex="ScheduledCompletionDate" Text="Scheduled Date" Width="105"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:DateColumn runat="server" DataIndex="ActualCompletionDate" Text="Actual Date" Width="90"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:Column runat="server" DataIndex="RCCACauseCode" Text="RCCA Cause Code" Width="150" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" />
                                                            <ext:Column runat="server" DataIndex="Comment" Text="Comment" Width="200" StyleSpec="text-align:right;"
                                                                MenuDisabled="false" />
                                                            <ext:Column runat="server" DataIndex="RCCA" Text="RCCA" Width="150" StyleSpec="text-align:left;" MenuDisabled="false" />
                                                            <ext:Column runat="server" DataIndex="Action" Text="Action" Width="300" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" />
                                                        </Columns>
                                                    </ColumnModel>
                                                    <View>
                                                        <ext:GridView ID="GrdviewFourHmrMilestone" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                                                    </View>
                                                    <BottomBar>
                                                        <ext:PagingToolbar ID="PgtlbrfourHmrMilestone" runat="server" PageSize="10" HideRefresh="true" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>">
                                                            <Items>
                                                                <ext:Label ID="Label8" runat="server" Text="Page size:" />
                                                                <ext:ToolbarSpacer ID="ToolBarSpacer8" runat="server" Width="10" />
                                                                <ext:ComboBox ID="CmbFourHmrMilestone" runat="server" Width="80" SelectedIndex="0">
                                                                    <Items>
                                                                        <ext:ListItem Text="10" Value="10" />
                                                                        <ext:ListItem Text="20" Value="20" />
                                                                        <ext:ListItem Text="50" Value="50" />
                                                                        <ext:ListItem Text="100" Value="100" />
                                                                    </Items>
                                                                    <selecteditem value="10" />
                                                                    <Listeners>
                                                                        <%--<Select Handler="#{PgtlbrfourHmrMilestone}.pageSize = parseInt(this.getValue()); #{PgtlbrfourHmrMilestone}.doLoad();" />--%>
                                                                         <Select Handler="#{PgtlbrfourHmrMilestone}.store.pageSize = parseInt(this.getValue()); #{GrdFourHmrMilestone}.store.reload();" />
                                                                    </Listeners>
                                                                </ext:ComboBox>
                                                            </Items>
                                                        </ext:PagingToolbar>
                                                    </BottomBar>
    
                                                </ext:GridPanel>
                                            </fieldset>
                                        </td>
                                    </tr>
                                </table>
                            </Content>
                        </ext:Panel>
                        <ext:Panel ID="PnlBilling" runat="server" Title="Billing MS info">
                            <Content>
                                <table>
                                    <tr>
                                        <td>
                                            <fieldset style="width: auto">
                                                <legend><b>Billing Milestones</b></legend>
                                                <ext:GridPanel ID="GrdBillingHmrMilestone" runat="server" EnableColumnMove="false"
                                                    ButtonAlign="Center" Border="true" TrackMouseOver="true" Height="430" Width="1335"
                                                    AutoScroll="true" AutoWidth="false">
                                                    <Store>
                                                        <ext:Store ID="StoreBillingHmrMilestone" runat="server" AutoLoad="false" OnReadData="StoreBillingHmrMilestone_RefreshData"
                                                            RemotePaging="true">
                                                            <Proxy>
                                                                <ext:PageProxy />
                                                            </Proxy>
                                                            <Model>
                                                                <ext:Model runat="server">
                                                                    <Fields>
                                                                        <ext:ModelField Name="CamName" Type="String" />
                                                                        <ext:ModelField Name="Keycode" Type="String" />
                                                                        <ext:ModelField Name="ProjectName" Type="String" />
                                                                        <ext:ModelField Name="HMRIndex" Type="String" />
                                                                        <ext:ModelField Name="Category" Type="String" />
                                                                        <ext:ModelField Name="MilestoneName" Type="String" />
                                                                        <ext:ModelField Name="HealthIndicator" Type="String" />
                                                                        <ext:ModelField Name="BillingFlag" Type="String" />
                                                                        <ext:ModelField Name="BillingAmount" Type="String" />
                                                                        <%--BaselineCompletiondate,ScheduledCompletionDate,ActualCompletionDate
                                       type = 'date' is not working so we kept SortType="AsDate"--%>
                                                                        <ext:ModelField Name="BaselineCompletiondate" SortType="AsDate" />
                                                                        <ext:ModelField Name="ScheduledCompletionDate" SortType="AsDate" />
                                                                        <ext:ModelField Name="ActualCompletionDate" SortType="AsDate" />
                                                                        <ext:ModelField Name="RCCA" Type="String" />
                                                                        <ext:ModelField Name="Action" Type="String" />
                                                                    </Fields>
                                                                </ext:Model>
                                                            </Model>
                                                            <Parameters>
                                                                <ext:StoreParameter Name="start" Value="0" Mode="Raw" />
                                                                <ext:StoreParameter Name="sort" Value="" />
                                                                <ext:StoreParameter Name="dir" Value="" />
                                                            </Parameters>
                                                        </ext:Store>
                                                    </Store>
                                                    <ColumnModel ID="clmdlBillingHmrMilestone" runat="server">
                                                        <Columns>
                                                            <ext:Column runat="server" DataIndex="CamName" Text="CAM Name" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" />
                                                            <ext:Column runat="server" DataIndex="Keycode" Text="Keycode" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" />
                                                            <ext:Column runat="server" DataIndex="ProjectName" Text="Project Name" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;" />
                                                            <ext:Column runat="server" DataIndex="HMRIndex" Text="HMR Index" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:left;word-break:break-all;" />
                                                            <ext:Column runat="server" DataIndex="MilestoneName" Text="Milestone Name" Width="220" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" />
                                                            <ext:Column runat="server" Text="Cat" DataIndex="Category" Width="60" MenuDisabled="false" StyleSpec="text-align:right;" />
                                                            <ext:Column runat="server" Text="Billing Amt" DataIndex="BillingAmount" Width="100" MenuDisabled="false"
                                                                StyleSpec="text-align:right;" />
                                                            <ext:DateColumn runat="server" DataIndex="BaselineCompletiondate" Text="Baseline Date" Width="90"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:DateColumn runat="server" DataIndex="ScheduledCompletionDate" Text="Scheduled Date" Width="105"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:DateColumn runat="server" DataIndex="ActualCompletionDate" Text="Actual Date" Width="90"
                                                                MenuDisabled="false" StyleSpec="text-align:left;" Align="Left" Format="MM/dd/yyyy" />
                                                            <ext:Column runat="server" DataIndex="Action" Text="Action" Width="300" StyleSpec="text-align:left;"
                                                                MenuDisabled="false" />
                                                        </Columns>
                                                    </ColumnModel>
                                                    <View>
                                                        <ext:GridView ID="GrdviewBillingHmrMilestone" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                                                    </View>
                                                    <BottomBar>
                                                        <ext:PagingToolbar ID="PgtlbrBillingHmrMilestone" runat="server" PageSize="10" HideRefresh="true" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>">
                                                            <Items>
                                                                <ext:Label ID="Label12" runat="server" Text="Page size:" />
                                                                <ext:ToolbarSpacer ID="ToolBarSpacer10" runat="server" Width="10" />
                                                                <ext:ComboBox ID="CmbBillingHmrMilestone" runat="server" Width="80" SelectedIndex="0">
                                                                    <Items>
                                                                        <ext:ListItem Text="10" Value="10" />
                                                                        <ext:ListItem Text="20" Value="20" />
                                                                        <ext:ListItem Text="50" Value="50" />
                                                                        <ext:ListItem Text="100" Value="100" />
                                                                    </Items>
                                                                    <selecteditem value="10" />
                                                                    <Listeners>
                                                                        <%--<Select Handler="#{PgtlbrBillingHmrMilestone}.pageSize = parseInt(this.getValue()); #{PgtlbrBillingHmrMilestone}.doLoad();" />--%>
                                                                         <Select Handler="#{PgtlbrBillingHmrMilestone}.store.pageSize = parseInt(this.getValue()); #{GrdBillingHmrMilestone}.store.reload();" />
                                                                    </Listeners>
                                                                </ext:ComboBox>
                                                            </Items>
                                                        </ext:PagingToolbar>
                                                    </BottomBar>
    
                                                </ext:GridPanel>
                                            </fieldset>
                                        </td>
                                    </tr>
                                </table>
                            </Content>
                        </ext:Panel>
                    </Items>
                </ext:TabPanel>
            </Items>
        </ext:Window>
        <ext:Window ID="wndDetailsMilestone" runat="server" Height="500" Width="1150" Resizable="true"
            X="100" Y="100" Modal="true" ButtonAlign="Center" Hidden="true" Closable="true"
            Title="Detail View" Border="false" Layout="FitLayout" Maximizable="false">
            <Items>
                <ext:GridPanel ID="GrdDetailsMilestone" runat="server" EnableColumnMove="false" ButtonAlign="Center">
                    <TopBar>
                        <ext:Toolbar ID="tBarDetailsMilestone" runat="server">
                            <Items>
                                <ext:Container ID="cntMilestoneDetails" runat="server">
                                    <Content>
                                        <table cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td>
                                                    <asp:LinkButton ID="LnkExportToExcelDetailsMilestone" ToolTip="Click to open Excel view"
                                                        OnCommand="ExportToExcel" CommandName="Milestone" runat="server" OnClientClick="return GetClientBrowserDateTime();"
                                                        Text="<img src='../../Images/forAll/ExportToExcel.png' alt='X' />" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>Note : Only those Milestones that are owned by E&T are shown in the PE scorecard.
                                            Milestones owned by ISC, AME, C&PS or PMO are not included.
                                                </td>
                                            </tr>
                                        </table>
                                    </Content>
                                </ext:Container>
                            </Items>
                        </ext:Toolbar>
                    </TopBar>
                    <Store>
                        <ext:Store ID="StoreDetailMilestones" runat="server" AutoLoad="false" OnReadData="StoreDetailMilestones_RefreshData"
                            RemotePaging="true">
                            <Proxy>
                                <ext:PageProxy>
                                    <RequestConfig IsUpload="true" />
                                </ext:PageProxy>
                            </Proxy>
                            <Model>
                                <ext:Model runat="server">
                                    <Fields>
                                        <ext:ModelField Name="CamName" />
                                        <ext:ModelField Name="Keycode" />
                                        <ext:ModelField Name="ProjectName" />
                                        <ext:ModelField Name="Category" />
                                        <ext:ModelField Name="HMRIndex" />
                                        <ext:ModelField Name="MilestoneName" />
                                        <%--BaselineCompletiondate,ScheduledCompletionDate,ActualCompletionDate
                                       type = 'date' is not working so we kept SortType="AsDate"--%>
                                        <ext:ModelField Name="BaselineCompletionDate" SortType="AsDate" />
                                        <ext:ModelField Name="ScheduledCompletionDate" SortType="AsDate" />
                                        <ext:ModelField Name="ActualCompletionDate" SortType="AsDate" />
                                        <ext:ModelField Name="RCCA_ProbDesc" />
                                        <ext:ModelField Name="RCCA_Plan" />
                                        <ext:ModelField Name="RCCA_Impact" />
                                        <ext:ModelField Name="Action" />
                                    </Fields>
                                </ext:Model>
                            </Model>
                            <Parameters>
                                <ext:StoreParameter Name="start" Value="0" Mode="Raw" />
                                <ext:StoreParameter Name="limit" Value="10" Mode="Raw" />
                            </Parameters>
                        </ext:Store>
                    </Store>
                    <ColumnModel>
                        <Columns>
                            <ext:Column runat="server" DataIndex="CamName" Text="CAM Name" Width="95" Sortable="true" MenuDisabled="false"
                                Resizable="true" Align="Left" Wrap="true" />
                            <ext:Column runat="server" DataIndex="Keycode" Text="Keycode" Width="65" Sortable="true" MenuDisabled="false"
                                Resizable="true" Align="Left" />
                            <ext:Column runat="server" DataIndex="ProjectName" Text="Project Name" Width="100" Sortable="true"
                                MenuDisabled="false" Resizable="true" Align="Left" Wrap="true" />
                            <ext:Column runat="server" DataIndex="Category" Text="Cat." Width="45" Sortable="true" MenuDisabled="false"
                                Resizable="true" StyleSpec="text-align:right;" />
                            <ext:Column runat="server" DataIndex="HMRIndex" Text="HMR Index" Width="95" Sortable="true" MenuDisabled="false"
                                Resizable="true" StyleSpec="text-align:left;word-break:break-all;" Wrap="true" />
                            <ext:Column runat="server" DataIndex="MilestoneName" Text="Milestone Name" Width="140" Sortable="true"
                                MenuDisabled="false" Resizable="true" StyleSpec="text-align:left;" Wrap="true" />
                            <ext:DateColumn runat="server" DataIndex="BaselineCompletionDate" Text="Baseline Date" Width="95"
                                Sortable="true" MenuDisabled="false" Resizable="true" StyleSpec="text-align:left;"
                                Align="Left" Format="MM/dd/yyyy" />
                            <ext:DateColumn runat="server" DataIndex="ScheduledCompletionDate" Text="Scheduled Date" Width="105"
                                Sortable="true" MenuDisabled="false" Resizable="true" StyleSpec="text-align:left;"
                                Align="Left" Format="MM/dd/yyyy" />
                            <ext:DateColumn runat="server" DataIndex="ActualCompletionDate" Text="Actual Date" Width="80"
                                Sortable="true" MenuDisabled="false" Resizable="true" StyleSpec="text-align:left;"
                                Align="Left" Format="MM/dd/yyyy" />
                            <ext:Column runat="server" DataIndex="RCCA_ProbDesc" Text="RCCA Problem" Hidden="true" Width="145"
                                Sortable="true" MenuDisabled="false" Resizable="true" Align="Left" Wrap="true" />
                            <ext:Column runat="server" DataIndex="RCCA_Plan" Text="RCCA Plan" Hidden="true" Width="95" Sortable="true"
                                MenuDisabled="false" Resizable="true" Align="Left" Wrap="true" />
                            <ext:Column runat="server" DataIndex="RCCA_Impact" Text="RCCA Impact" Hidden="true" Width="15"
                                Sortable="true" MenuDisabled="false" Resizable="true" StyleSpec="text-align:left;" Wrap="true" />
                            <ext:Column runat="server" DataIndex="Action" Text="Action" Width="285" StyleSpec="text-align:left;"
                                MenuDisabled="false" Wrap="true" />
                        </Columns>
                    </ColumnModel>
                    <View>
                        <ext:GridView ID="GrdviewDetailMilestones" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                    </View>
    
                    <BottomBar>
                        <ext:PagingToolbar ID="GrdDetailsMilestonePaging" runat="server" PageSize="10" HideRefresh="true" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                    </BottomBar>
                    <Listeners>
                        <AfterRender Handler="fixButton()" />
                    </Listeners>
                </ext:GridPanel>
            </Items>
            <Listeners>
                <Hide Handler="#{GrdDetailsMilestonePaging}.store.loadPage(1);" />
            </Listeners>
        </ext:Window>
        <%-- End V1.8:Milestones Related windows--%>
        <%-------- V1.8:Total Factored Risk windows -------------%>
        <ext:Window ID="viewRiskLog" runat="server" Title="Detail View" Icon="ApplicationViewGallery"
            Width="1200" Height="500" Plain="true" Padding="5" ButtonAlign="Center" LabelWidth="55"
            Modal="true" CloseAction="Hide" Draggable="true" Layout="FitLayout" Hidden="true"
            Maximizable="true" X="60" Y="90">
            <TopBar>
                <ext:Toolbar ID="ToolBar4" runat="server">
                    <Items>
                        <ext:Container ID="cntRiskLog" runat="server">
                            <Content>
                                <asp:LinkButton ID="LnkExportToExcelRiskLog" ToolTip="Click to open Excel view" OnClick="ExportToExcelRiskDetails"
                                    runat="server" OnClientClick="return GetClientBrowserDateTime();" Text="<img src='../../Images/forAll/ExportToExcel.png' alt='X' />" />
                            </Content>
                        </ext:Container>
                    </Items>
                </ext:Toolbar>
            </TopBar>
            <Items>
                <ext:GridPanel ID="GrdRiskDetails" runat="server" Title="Risks" Text="false" Height="375"
                    EnableColumnMove="false">
                    <Store>
                        <ext:Store ID="StoreRiskDetails" runat="server" RefreshAfterSaving="Auto" OnReadData="StoreRiskDetails_RefreshData">
                            <Model>
                                <ext:Model runat="server" IDProperty="RiskId">
                                    <Fields>
                                        <ext:ModelField Name="RiskId" />
                                        <ext:ModelField Name="ImagePath" />
                                        <ext:ModelField Name="RiskType" />
                                        <ext:ModelField Name="RiskStatusId" />
                                        <ext:ModelField Name="RiskStatusDate" />
                                        <ext:ModelField Name="ExpectedClosureDate" />
                                        <ext:ModelField Name="RiskOwner" />
                                        <ext:ModelField Name="RiskStatement" />
                                        <ext:ModelField Name="ImpactFactor" />
                                        <ext:ModelField Name="RiskImpactId" />
                                        <ext:ModelField Name="ProbabilityFactor" />
                                        <ext:ModelField Name="RiskProbabilityId" />
                                        <ext:ModelField Name="CostRisk" SortType="AsFloat" />
                                        <ext:ModelField Name="OwnerHoneywellId" />
                                        <ext:ModelField Name="FactoredCostRisk" />
                                        <ext:ModelField Name="Remarks" />
                                        <ext:ModelField Name="Strategy" />
                                        <ext:ModelField Name="ExecutingCOEId" />
                                        <ext:ModelField Name="ECOEName" />
                                        <ext:ModelField Name="PlanStrategyDescription" />
                                        <ext:ModelField Name="StategyCompletionDate" />
                                        <ext:ModelField Name="StrategyCompletionCost" />
                                        <ext:ModelField Name="ValueForMoneyRatio" />
                                        <ext:ModelField Name="RPN" />
                                        <ext:ModelField Name="ProgramId" />
                                        <ext:ModelField Name="ProjectId" />
                                        <ext:ModelField Name="RiskImpactId" />
                                        <ext:ModelField Name="RiskProbabilityId" />
                                        <ext:ModelField Name="ExecutionOwner" />
                                        <ext:ModelField Name="CreationDate" />
                                        <%--V1.8 Enhancement --%>
                                        <%--<ext:ModelField Name="Name" />--%>
                                        <ext:ModelField Name="KeyCode" />
                                        <ext:ModelField Name="ProgramName" />
                                        <ext:ModelField Name="ProjectName" />
                                        <ext:ModelField Name="CAMEId" />
                                        <ext:ModelField Name="CamName" />
                                        <ext:ModelField Name="T4" />
                                        <ext:ModelField Name="T3" />
                                        <ext:ModelField Name="T2" />
                                        <ext:ModelField Name="CoEType" />
                                        <%--End V1.8 Enhancement --%>
                                    </Fields>
                                </ext:Model>
                            </Model>
                            <AutoLoadParams>
                                <ext:StoreParameter Name="start" Value="0" Mode="Raw" />
                                <ext:StoreParameter Name="limit" Value="10" Mode="Raw" />
                            </AutoLoadParams>
                            <Listeners>
                                <Exception Handler="Ext.MessageBox.alert('Load failed', response.statusText);" />
                            </Listeners>
                        </ext:Store>
                    </Store>
                    <ColumnModel ID="ColumnModel1" runat="server">
                        <Columns>
                            <ext:Column runat="server" Text="Health" DataIndex="ImagePath" Width="50" Align="Center" Resizable="true">
                                <Renderer Fn="IndicatorRenderForRisk" />
                            </ext:Column>
                            <ext:Column runat="server" DataIndex="RiskId" Text="Risk ID/<br>RBS Ref." Width="70" Align="Left"
                                Resizable="true" />
                            <ext:Column runat="server" DataIndex="RiskStatusId" Text="Risk <br> Status" Width="70" Resizable="true" />
                            <ext:Column runat="server" DataIndex="CreationDate" Text="Date<br> Entered" Width="70" Align="Left"
                                Resizable="true" />
                            <ext:Column runat="server" DataIndex="RiskType" Text="Risk Type" Width="70" Align="Left" Resizable="true" />
                            <%--V1.8 Enhancement --%>
                            <ext:Column runat="server" Text="T2" DataIndex="T2" Width="150" Align="Left" Resizable="true"
                                Hidden="true" Wrap="true" />
                            <ext:Column runat="server" Text="T3" DataIndex="T3" Width="150" Align="Left" Resizable="true"
                                Hidden="true" Wrap="true" />
                            <ext:Column runat="server" Text="T4" DataIndex="T4" Width="150" Align="Left" Resizable="true"
                                Hidden="true" Wrap="true" />
                            <ext:Column runat="server" Text="CoE Type" DataIndex="CoEType" Width="150" Align="Left" Resizable="true"
                                Hidden="true" />
                            <ext:Column runat="server" Text="Keycode" DataIndex="KeyCode" Width="70" Align="Left" Resizable="true"
                                Hidden="true" />
                            <ext:Column runat="server" Text="Program Name" DataIndex="ProgramName" Width="160" Align="Left"
                                Resizable="true" Hidden="true" Wrap="true" />
                            <ext:Column runat="server" Text="Project Name" DataIndex="ProjectName" Width="160" Align="Left"
                                Resizable="true" Hidden="true" Wrap="true" />
                            <ext:Column runat="server" Text="CAM Name" DataIndex="CamName" Width="150" Align="Left" Resizable="true"
                                Hidden="true" Wrap="true" />
                            <%-- <ext:Column runat="server"  DataIndex="Name" Text="Functional Group" Width="155" Align="Left" Resizable="true" />--%>
                            <%--End V1.8 Enhancement --%>
                            <ext:Column runat="server" DataIndex="RiskOwner" Text="Owner" Width="150" Align="Left" Resizable="true" />
                            <ext:Column runat="server" DataIndex="RiskStatement" Text="Risk Statement" Width="205" Align="Left"
                                Resizable="true" Wrap="true" />
                            <ext:Column runat="server" DataIndex="ImpactFactor" Text="Impact" Width="70" Align="Right" Resizable="true" />
                            <ext:Column runat="server" DataIndex="ProbabilityFactor" Text="Probability" Width="90" Align="Right"
                                Resizable="true" />
                            <ext:Column runat="server" DataIndex="CostRisk" Text="Cost Risk<br>(k$)" Width="80" Align="Right"
                                Resizable="true">
                                <Renderer Fn="Ext.util.Format.numberRenderer('000,000,000.0')" />
                            </ext:Column>
                            <ext:Column runat="server" DataIndex="Remarks" Text="Remarks" Width="205" Align="Left" Resizable="true" Wrap="true" />
                        </Columns>
                    </ColumnModel>
                    <View>
                        <ext:GridView ID="GrdviewRiskDetails" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>">
                            <Listeners>
                                <%--<AfterRender Handler="this.getHeaderCell(1).align = 'center'" />--%>
                            </Listeners>
                        </ext:GridView>
                    </View>
    
                    <BottomBar>
                        <ext:PagingToolbar ID="PgRisk" runat="server" PageSize="10" DisplayInfo="true" DisplayMsg="Displaying Risks {0} - {1} of {2}"
                            EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" HideRefresh="true">
                            <Items>
                                <ext:Label ID="Label3" runat="server" Text="Page size:" />
                                <ext:ToolbarSpacer ID="ToolBarSpacer3" runat="server" Width="10" />
                                <ext:ComboBox ID="ComboBox1" runat="server" Width="80">
                                    <Items>
                                        <ext:ListItem Text="10" Value="10" />
                                        <ext:ListItem Text="20" Value="20" />
                                        <ext:ListItem Text="50" Value="50" />
                                        <ext:ListItem Text="100" Value="100" />
                                    </Items>
                                    <SelectedItems>
                                        <ext:ListItem Text="10" Value="10" />
                                    </SelectedItems>
                                    <Listeners>
                                       <%-- <Select Handler="#{PgRisk}.pageSize = parseInt(this.getValue()); #{PgRisk}.doLoad();" />--%>
                                       <Select Handler="#{PgRisk}.store.pageSize = parseInt(this.getValue()); #{GrdRiskDetails}.store.reload();" />
                                    </Listeners>
                                </ext:ComboBox>
                            </Items>
                        </ext:PagingToolbar>
                    </BottomBar>
                     <ToolTips>
                        <ext:ToolTip ID="TtRiskDetails" runat="server" Target="={#{GrdRiskDetails}.getView().el}"
                            Delegate=".x-grid-cell" DismissDelay="120000" Anchor="bottom" TrackMouse="true"
                            BodyCssClass="wrap-tooltip">
                            <Listeners>                         
                                <Show Handler="showRiskToolTip(this, #{GrdRiskDetails})" />
                            </Listeners>
                        </ext:ToolTip>
                    </ToolTips>
                </ext:GridPanel>
            </Items>
            <Listeners>
                <Hide Handler="#{pnlWinScorecard}.clearContent();" />
            </Listeners>
        </ext:Window>
        <ext:Window ID="wndDetialsCpiSpi" runat="server" Height="575" Width="800" Resizable="true"
            Modal="true" ButtonAlign="Center" Hidden="true" Closable="true" Title="Detail View"
            Border="false" Layout="FitLayout" Maximized="true">
            <TopBar>
                <ext:Toolbar ID="TBarCpiSpi" runat="server">
                    <Items>
                        <ext:Container ID="ctnSpiCpiDetails" runat="server">
                            <Content>
                                <asp:LinkButton ID="LnkBtnCpiSpiChartDrillDown" ToolTip="Click to open Excel view"
                                    OnCommand="ExportToExcel" CommandName="SPICPI" runat="server" OnClientClick="return GetClientBrowserDateTime();"
                                    Text="<img src='../../Images/forAll/ExportToExcel.png' alt='X' />" />
                            </Content>
                        </ext:Container>
                    </Items>
                </ext:Toolbar>
            </TopBar>
            <Items>
                <ext:GridPanel ID="GrdDetailCpiSpi" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                    Height="575">
                    <Store>
                        <ext:Store ID="StoreDetailCpiSpi" runat="server" RefreshAfterSaving="Auto" WarningOnDirty="false" OnReadData="StoreDetailCpiSpi_RefreshData">
                            <AutoLoadParams>
                                <ext:StoreParameter Name="startRemote" Value="0" Mode="Raw" />
                                <ext:StoreParameter Name="limitRemote" Value="10" Mode="Raw" />
                            </AutoLoadParams>
                            <Model>
                                <ext:Model runat="server">
                                    <Fields>
                                        <ext:ModelField Name="Keycode" />
                                        <ext:ModelField Name="ProgramName" />
                                        <ext:ModelField Name="SAPProjectCode" />
                                        <ext:ModelField Name="WBSName" />
                                        <ext:ModelField Name="WBSId" />
                                        <ext:ModelField Name="ITD_BCWS_PMB" />
                                        <ext:ModelField Name="ITD_BCWP_PMB" />
                                        <ext:ModelField Name="ITD_ACWP" />
                                        <ext:ModelField Name="CPI" />
                                        <ext:ModelField Name="SPI" />
                                    </Fields>
                                </ext:Model>
                            </Model>
                        </ext:Store>
                    </Store>
                    <ColumnModel>
                        <Columns>
                            <ext:Column runat="server" DataIndex="Keycode" Text="Keycode" Width="80" Sortable="true" MenuDisabled="true"
                                Resizable="true" Align="Left" ID="GrdDetailCpiSpi_Keycode" />
                            <ext:Column runat="server" DataIndex="ProgramName" Text="Program Name" Width="260" Sortable="true"
                                MenuDisabled="true" Resizable="true" Align="Left" ID="GrdDetailCpiSpi_PrmName" />
                            <ext:Column runat="server" DataIndex="SAPProjectCode" Text="Project Code" Width="100" Sortable="true"
                                MenuDisabled="true" Resizable="true" Align="Left" ID="GrdDetailCpiSpi_SAPProjectCode" />
                            <ext:Column runat="server" DataIndex="WBSId" Text="WBS Element" Width="150" Sortable="true" MenuDisabled="true"
                                Resizable="true" Align="Left" StyleSpec="text-align:left;word-break:break-all;" ID="GrdDetailCpiSpi_WbsID" />
                            <ext:Column runat="server" DataIndex="WBSName" Text="WBS Description" Width="265" Sortable="true"
                                MenuDisabled="true" Resizable="true" Align="Left" ID="GrdDetailCpiSpi_WbsDesc" />
                            <ext:Column runat="server" DataIndex="ITD_BCWP_PMB" Text="ITD BCWP (k$)" Width="110" Sortable="true"
                                MenuDisabled="true" Resizable="true" StyleSpec="text-align:right" Align="Right" ID="GrdDetailCpiSpi_BCWB">
                                <Renderer Fn="Ext.util.Format.numberRenderer('000,000,000.0')" />
                            </ext:Column>
                            <ext:Column runat="server" DataIndex="ITD_BCWS_PMB" Text="BCWS (k$)" Width="100" Sortable="true"
                                MenuDisabled="true" Resizable="true" Align="Right" ID="GrdDetailCpiSpi_BCWS">
                                <Renderer Fn="Ext.util.Format.numberRenderer('000,000,000.0')" />
                            </ext:Column>
                            <ext:Column runat="server" DataIndex="ITD_ACWP" Text="ACWP (k$)" Width="100" Sortable="true" MenuDisabled="true"
                                Resizable="true" Align="Right" ID="GrdDetailCpiSpi_ACWP">
                                <Renderer Fn="Ext.util.Format.numberRenderer('000,000,000.0')" />
                            </ext:Column>
                            <ext:NumberColumn runat="server" DataIndex="CPI" Text="MCPI" Width="75" Sortable="true" MenuDisabled="true"
                                Resizable="true" Align="Right" ID="GrdDetailCpiSpi_MCPI" />
                            <ext:NumberColumn runat="server" DataIndex="SPI" Text="MSPI" Width="75" Sortable="true" MenuDisabled="true"
                                Resizable="true" Align="Right" ID="GrdDetailCpiSpi_MSPI" />
                        </Columns>
                    </ColumnModel>
    
                    <View>
                        <ext:GridView ID="GrdViewSpiCpi" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                    </View>
                    <BottomBar>
                        <ext:PagingToolbar ID="GrdDetailCpiSpiPaging" runat="server" PageSize="10" HideRefresh="true" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>">
                            <Items>
                                <ext:Label ID="Label5" runat="server" Text="Page size:" />
                                <ext:ToolbarSpacer ID="ToolBarSpacer5" runat="server" Width="10" />
                                <ext:ComboBox ID="cmbCPISPIPagingMonthly" runat="server" Width="80" SelectedIndex="0">
                                    <Items>
                                        <ext:ListItem Text="10" Value="10" />
                                        <ext:ListItem Text="20" Value="20" />
                                        <ext:ListItem Text="50" Value="50" />
                                        <ext:ListItem Text="100" Value="100" />
                                    </Items>
                                    <SelectedItems>
                                        <ext:ListItem Text="10" Value="10"></ext:ListItem>
                                    </SelectedItems>
                                    <Listeners>
                                        <%--<Select Handler="#{GrdDetailCpiSpiPaging}.pageSize = parseInt(this.getValue()); #{GrdDetailCpiSpiPaging}.doLoad();" />--%>
                                         <Select Handler="#{GrdDetailCpiSpiPaging}.store.pageSize = parseInt(this.getValue(),10); #{GrdDetailCpiSpi}.store.reload();" />
                                    </Listeners>
                                </ext:ComboBox>
                            </Items>
                        </ext:PagingToolbar>
                    </BottomBar>
                </ext:GridPanel>
            </Items>
            <Listeners>
                <Hide Handler="#{GrdDetailCpiSpiPaging}.store.loadPage(1);" />
            </Listeners>
        </ext:Window>
        <ext:Window ID="wndDetialsRisk" runat="server" Height="300" Width="800" Resizable="true"
            Modal="true" ButtonAlign="Center" Hidden="true" Title="Detail View" Border="false"
            AutoScroll="true" Layout="FitLayout" Maximized="true">
            <Content>
                <ext:GridPanel ID="GrdDetailRisks" runat="server" BodyBorder="0" EnableColumnMove="false"
                    EnableDragDrop="false">
                    <TopBar>
                        <ext:Toolbar ID="ToolBar5" runat="server">
                            <Items>
                                <%--
                                    Related to US JIRA Ticket AP3-746
                                    Added OnClientClick="return GetClientBrowserDateTime();" by NM (E314037)
                                --%>
                                <ext:Container ID="ctnRiksDetails" runat="server">
                                    <Content>
                                        <asp:LinkButton ID="LnkExportToExcelRisk" ToolTip="Click to open Excel view" OnCommand="ExportToExcel"
                                            CommandName="Risk" runat="server" OnClientClick="return GetClientBrowserDateTime();"
                                            Text="<img src='../../Images/forAll/ExportToExcel.png' alt='X' />" />
                                    </Content>
                                </ext:Container>
                            </Items>
                        </ext:Toolbar>
                    </TopBar>
                    <Store>
                        <ext:Store ID="StoreDetailRisks" runat="server" AutoLoad="false" OnReadData="StoreDetailRisks_RefreshData">
                            <Proxy>
                                <ext:PageProxy>
                                    <RequestConfig IsUpload="true" />
                                </ext:PageProxy>
                            </Proxy>
                            <Model>
                                <ext:Model runat="server">
                                    <Fields>
                                        <ext:ModelField Name="HealthStatues" />
                                        <ext:ModelField Name="RiskId" />
                                        <ext:ModelField Name="Status" />
                                        <ext:ModelField Name="CreationDate" />
                                        <ext:ModelField Name="RiskType" />
                                        <ext:ModelField Name="Tier2" />
                                        <ext:ModelField Name="Tier3" />
                                        <ext:ModelField Name="Tier4" />
                                        <ext:ModelField Name="CoEType" />
                                        <ext:ModelField Name="Keycode" />
                                        <ext:ModelField Name="Program" />
                                        <ext:ModelField Name="Project" />
                                        <ext:ModelField Name="CAMName" />
                                        <ext:ModelField Name="RiskOwner" />
                                        <ext:ModelField Name="RiskStatement" />
                                        <ext:ModelField Name="ImpactFactor" />
                                        <ext:ModelField Name="ProbabilityFactor" />
                                        <ext:ModelField Name="CostRisk" />
                                        <ext:ModelField Name="Remarks" />
                                        <ext:ModelField Name="ImagePath" />
                                    </Fields>
                                </ext:Model>
                            </Model>
                            <Parameters>
                                <ext:StoreParameter Name="start" Value="0" Mode="Raw" />
                                <ext:StoreParameter Name="limit" Value="10" Mode="Raw" />
                                <ext:StoreParameter Name="sort" Value="" />
                                <ext:StoreParameter Name="dir" Value="" />
                            </Parameters>
                        </ext:Store>
                    </Store>
                    <ColumnModel>
                        <Columns>
                            <ext:Column runat="server" Text="Status" DataIndex="ImagePath" Width="50" Align="Center" Resizable="true">
                                <Renderer Fn="IndicatorRenderForRisk" />
                            </ext:Column>
                            <ext:Column runat="server" DataIndex="RiskId" Text="Risk ID/<br>RBS Ref." Width="70" Align="Left"
                                Resizable="true" />
                            <ext:Column runat="server" DataIndex="Status" Text="Risk <br> Status" Width="70" Resizable="true" />
                            <ext:Column runat="server" DataIndex="CreationDate" Text="Date<br> Entered" Width="70" Align="Left"
                                Resizable="true" />
                            <ext:Column runat="server" DataIndex="RiskType" Text="Risk Type" Width="70" Align="Left" Resizable="true" />
                            <ext:Column runat="server" Text="T2" DataIndex="Tier2" Width="150" Align="Left" Resizable="true"
                                Hidden="true" Wrap="true" />
                            <ext:Column runat="server" Text="T3" DataIndex="Tier3" Width="170" Align="Left" Resizable="true"
                                Hidden="true" Wrap="true" />
                            <ext:Column runat="server" Text="T4" DataIndex="Tier4" Width="170" Align="Left" Resizable="true"
                                Hidden="true" Wrap="true" />
                            <ext:Column runat="server" Text="CoE Type" DataIndex="CoEType" Width="150" Align="Left" Resizable="true"
                                Hidden="true" />
                            <ext:Column runat="server" Text="Keycode" DataIndex="Keycode" Width="70" Align="Left" Resizable="true"
                                Hidden="true" />
                            <ext:Column runat="server" Text="Program" DataIndex="Program" Width="170" Align="Left" Resizable="true"
                                Hidden="true" />
                            <ext:Column runat="server" Text="Project" DataIndex="Project" Width="170" Align="Left" Resizable="true"
                                Hidden="true" Wrap="true" />
                            <ext:Column runat="server" Text="CAM" DataIndex="CAMName" Width="150" Align="Left" Resizable="true"
                                Hidden="true" Wrap="true" />
                            <ext:Column runat="server" DataIndex="RiskOwner" Text="Owner" Width="150" Align="Left" Resizable="true" />
                            <ext:Column runat="server" DataIndex="RiskStatement" Text="Risk Statement" Width="205" Align="Left"
                                Resizable="true" Wrap="true" />
                            <ext:Column runat="server" DataIndex="ImpactFactor" Text="Impact" Width="70" Align="Right" Resizable="true" />
                            <ext:Column runat="server" DataIndex="ProbabilityFactor" Text="Probability" Width="90" Align="Right"
                                Resizable="true" />
                            <ext:Column runat="server" DataIndex="CostRisk" Text="Cost Risk<br>(k$)" Width="80" Align="Right"
                                Resizable="true">
                                <Renderer Fn="Ext.util.Format.numberRenderer('000,000,000.0')" />
                            </ext:Column>
                            <ext:Column runat="server" DataIndex="Remarks" Text="Remarks" Width="205" Align="Left" Resizable="true" Wrap="true" />
                        </Columns>
                    </ColumnModel>
                    <View>
                        <ext:GridView ID="GrdviewDetailRisks" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                    </View>
    
                    <BottomBar>
                        <ext:PagingToolbar ID="grdDetialsRiskPaging" runat="server" PageSize="10" HideRefresh="true" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                    </BottomBar>
                    <Listeners>
                        <AfterRender Handler="fixButton()" />
                    </Listeners>
                    <ToolTips>
                        <ext:ToolTip ID="ttDetialrisk" runat="server" Target="={#{GrdDetailRisks}.getView().el}"
                            Delegate=".x-grid-cell" DismissDelay="120000" Anchor="bottom" TrackMouse="true"
                            BodyCssClass="wrap-tooltip">
                            <Listeners>
                                <%--<Show Handler="showTipForGrid(this, #{GrdDetailRisks}, #{StoreDetailRisks})" />--%>
                                <Show Handler="showRiskToolTip(this, #{GrdDetailRisks})" />
                            </Listeners>
                        </ext:ToolTip>
                    </ToolTips>
                </ext:GridPanel>
            </Content>
            <Listeners>
                <Hide Handler="#{grdDetialsRiskPaging}.store.loadPage(1);" />
            </Listeners>
        </ext:Window>
        <%--------- End V1.8:Total Factored Risk windows ---------%>
        <ext:Window ID="wndDetailsYTD" runat="server" Height="480" Width="880" Resizable="true"
            Modal="true" ButtonAlign="Center" Hidden="true" Closable="true" Title="Detail View"
            Border="false" Layout="FitLayout" Maximized="false">
            <Items>
                <ext:GridPanel ID="GrdYTDDetails" runat="server" EnableColumnMove="false" ButtonAlign="Center">
                    <TopBar>
                        <ext:Toolbar ID="TbPIARailDetails" runat="server">
                            <Items>
                                <ext:Container ID="Container1" runat="server">
                                    <Content>
                                        <asp:LinkButton ID="LnkExportToExcelYTD" ToolTip="Click to open Excel view" OnCommand="ExportToExcel"
                                            CommandName="YTD" runat="server" OnClientClick="return GetClientBrowserDateTime();"
                                            Text="<img src='../../Images/forAll/ExportToExcel.png' alt='X' />" />
                                    </Content>
                                </ext:Container>
                            </Items>
                        </ext:Toolbar>
                    </TopBar>
                    <Store>
                        <ext:Store ID="StoreYTDDetails" runat="server" RefreshAfterSaving="Auto" WarningOnDirty="false" OnReadData="StoreYTDDetails_RefreshData">
                            <AutoLoadParams>
                                <ext:StoreParameter Name="startRemote" Value="0" Mode="Raw" />
                                <ext:StoreParameter Name="limitRemote" Value="10" Mode="Raw" />
                            </AutoLoadParams>
                            <Model>
                                <ext:Model runat="server">
                                    <Fields>
                                        <ext:ModelField Name="CAMName" />
                                        <ext:ModelField Name="Keycode" />
                                        <ext:ModelField Name="ProjectCode" />
                                        <ext:ModelField Name="WBSId" />
                                        <ext:ModelField Name="Planned" />
                                        <ext:ModelField Name="Actuals" />
                                        <ext:ModelField Name="Variance" />
                                        <ext:ModelField Name="MonthNYear" />
                                    </Fields>
                                </ext:Model>
                            </Model>
                            <Parameters>
                                <ext:StoreParameter Name="start" Value="0" Mode="Raw" />
                                <ext:StoreParameter Name="limit" Value="10" Mode="Raw" />
                            </Parameters>
                        </ext:Store>
                    </Store>
                    <ColumnModel>
                        <Columns>
                            <ext:Column runat="server" ColumnID="colYTDCAMName" DataIndex="CAMName" Text="CAM Name" Width="125"
                                Resizable="true" Sortable="false" MenuDisabled="true" Align="Left" Wrap="true">
                            </ext:Column>
                            <ext:Column runat="server" ColumnID="colYTDKeycode" DataIndex="Keycode" Text="Keycode" Width="90"
                                Resizable="true" Sortable="false" MenuDisabled="true" Align="Left">
                            </ext:Column>
                            <ext:Column runat="server" ColumnID="colYTDProjectCode" DataIndex="ProjectCode" Text="ProjectCode"
                                Width="200" Resizable="true" Sortable="false" MenuDisabled="true" Align="Left" Wrap="true">
                            </ext:Column>
                            <ext:Column runat="server" ColumnID="WBSId" DataIndex="WBSId" Text="WBS Element" Width="125" Resizable="true"
                                Sortable="false" MenuDisabled="true" Align="Left" StyleSpec="text-align:left;word-break:break-all;" Wrap="true">
                            </ext:Column>
                            <ext:Column runat="server" DataIndex="Planned" Text="Planned (k$)" Width="100" Resizable="true"
                                Sortable="false" MenuDisabled="true" Align="Right">
                                <Renderer Fn="Ext.util.Format.numberRenderer('000,000,000.0')" />
                            </ext:Column>
                            <ext:Column runat="server" DataIndex="Actuals" Text="Actuals (k$)" Width="100" Resizable="true"
                                Sortable="false" MenuDisabled="true" Align="Right">
                                <Renderer Fn="Ext.util.Format.numberRenderer('000,000,000.0')" />
                            </ext:Column>
                            <ext:Column runat="server" DataIndex="Variance" Text="Variance (k$)" Width="100" Resizable="true"
                                Sortable="false" MenuDisabled="true" Align="Right">
                                <Renderer Fn="Ext.util.Format.numberRenderer('000,000,000.0')" />
                            </ext:Column>
                        </Columns>
                    </ColumnModel>
    
                    <View>
                        <ext:GridView ID="GrdViewYTDDetails" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>" />
                    </View>
                    <BottomBar>
                        <ext:PagingToolbar ID="GrdDetailYTDDetails" runat="server" PageSize="10" HideRefresh="true" EmptyMsg="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>">
                            <Items>
                                <ext:Label ID="LblPageYtdSize" runat="server" Text="Page size:" />
                                <ext:ToolbarSpacer ID="tBarSpaceYtd" runat="server" Width="10" />
                                <ext:ComboBox ID="cmbYtdDetails" runat="server" Width="80" SelectedIndex="0">
                                    <Items>
                                        <ext:ListItem Text="10" Value="10" />
                                        <ext:ListItem Text="20" Value="20" />
                                        <ext:ListItem Text="50" Value="50" />
                                        <ext:ListItem Text="100" Value="100" />
                                    </Items>
                                    <SelectedItems>
                                        <ext:ListItem Text="10" Value="10" />
                                    </SelectedItems>
    
                                    <Listeners>
                                        <%--<Select Handler="#{GrdDetailYTDDetails}.pageSize = parseInt(this.getValue()); #{GrdDetailYTDDetails}.doLoad();" />--%>
                                         <Select Handler="#{GrdDetailYTDDetails}.store.pageSize = parseInt(this.getValue(),10); #{GrdYTDDetails}.store.reload();" />
                                    </Listeners>
                                </ext:ComboBox>
                            </Items>
                        </ext:PagingToolbar>
                    </BottomBar>
                    <Listeners>
                        <AfterRender Handler="fixButton()" />
                    </Listeners>
                </ext:GridPanel>
            </Items>
            <Listeners>
                <Hide Handler="#{GrdDetailYTDDetails}.store.loadPage(1);" />
            </Listeners>
        </ext:Window>
        <ext:Window ID="WndAchievements" runat="server" Width="535" Height="220" Title="Achievements"
            ActiveIndex="0" Hidden="true" Closable="false" Layout="CardLayout"
            Draggable="true" Resizable="false" Modal="true">
            <Content>
                <ext:FormPanel ID="FrmPnlAchievements" runat="server" MonitorValid="true"
                    Padding="5" ButtonAlign="Center" Frame="true" Height="200" Border="false" PollForChanges="true">
                    <Content>
                        <table>
                            <tr>
                                <td>
                                    <ext:TextArea ID="TBComments" runat="server" Width="500" MaskRe="[^<>]" DataIndex="Comments"
                                        Height="110" FieldLabel="Comment (500 char max) <font color='Red'>*</font>" MaxLength="500">
                                    </ext:TextArea>
                                    <ext:Hidden ID="HdnProgCommentsId" runat="server" DataIndex="CommentId" Text="-1" />
                                    <ext:Hidden ID="HdnRecentlyClicked" runat="server" />
                                    <ext:Hidden ID="hdnIsLoaded" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </Content>
                    <Buttons>
                        <ext:Button ID="btnAdd4UpCommentsSave" runat="server" Icon="Disk" Text="Save">
                            <DirectEvents>
                                <Click OnEvent="btnAdd4UpCommentsSave_Click">
                                    <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                </Click>
                            </DirectEvents>
                        </ext:Button>
                        <ext:Button ID="btnAdd4UpCommentsCancel" runat="server" Icon="Cancel" Text="Cancel">
                            <Listeners>
                                <Click Handler="CloseWindow('AC')" />
                            </Listeners>
                        </ext:Button>
                    </Buttons>
                </ext:FormPanel>
            </Content>
            <Listeners>
                <Show Handler="var pos=#{btnHighlightsAchievementsPickUpList}.getPosition();pos[0]+=-50;pos[1]+=110;this.setPosition(pos);" />
            </Listeners>
        </ext:Window>
        <ext:Window ID="Wnd4UpPickList" runat="server" Width="825" Height="340" Title="Comments Pick List"
            ActiveIndex="0" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout"
            Draggable="true" Resizable="false" Modal="true">
            <Content>
                <ext:FormPanel ID="FrmPnl4UpPickList" runat="server" Icon="None" MonitorValid="true"
                    Padding="5" ButtonAlign="Center" Frame="true" Height="360" Width="840" Border="false">
                    <Content>
                        <ext:GridPanel ID="Grd4UpPickList" runat="server" EnableColumnMove="false" ButtonAlign="Center"
                            Height="260" Width="790" AutoScroll="true">
                            <Store>
                                <ext:Store ID="Store4UpPickList" runat="server">
                                    <Model>
                                        <ext:Model runat="server" IDProperty="CommentId" MessageProperty="Comments">
                                            <Fields>
                                                <ext:ModelField Name="Id" Type="Int" />
                                                <ext:ModelField Name="OrigCd" Type="string" />
                                                <ext:ModelField Name="CommentId" Type="Int" />
                                                <ext:ModelField Name="Comments" Type="string" />
                                                <ext:ModelField Name="State" Type="String" />
                                                <ext:ModelField Name="IsOld" Type="Int" />
                                                <ext:ModelField Name="LastUpdated" Type="Date" />
                                                <ext:ModelField Name="UpdatedBy" Type="String" />
                                            </Fields>
                                        </ext:Model>
                                    </Model>
                                </ext:Store>
                            </Store>
                            <ColumnModel>
                                <Columns>
                                    <ext:Column runat="server" DataIndex="Id" Text="Id" Hidden="true">
                                    </ext:Column>
                                    <ext:Column runat="server" DataIndex="CommentId" Text="CommentId" Hidden="true">
                                    </ext:Column>
                                    <ext:Column runat="server" DataIndex="Comments" Text="Comment" Width="505" Sortable="true" MenuDisabled="true">
                                    </ext:Column>
                                    <ext:Column runat="server" DataIndex="UpdatedBy" Text="Last Updated By" Width="150" Sortable="true"
                                        MenuDisabled="true">
                                    </ext:Column>
                                    <ext:DateColumn runat="server" DataIndex="LastUpdated" Text="Last Updated" Width="95" Sortable="true"
                                        MenuDisabled="true" Format="MM/dd/yyyy">
                                    </ext:DateColumn>
                                </Columns>
                            </ColumnModel>
                            <View>
                                <ext:GridView ID="GrdView4UpPickList" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                    MarkDirty="false" />
                            </View>
                            <SelectionModel>
                                <ext:CheckboxSelectionModel ID="chk4UpCommentsPicklist" runat="server" CheckOnly="true">
                                    <Listeners>
                                        <Select Handler="#{btn4UpAccept}.enable();" />
                                        <Deselect Handler="if(!#{Grd4UpPickList}.hasSelection()) { #{btn4UpAccept}.disable();}" />
                                    </Listeners>
                                </ext:CheckboxSelectionModel>
                            </SelectionModel>
                        </ext:GridPanel>
                    </Content>
                    <Buttons>
                        <ext:Button ID="btn4UpAccept" runat="server" Icon="Accept" Text="Accept" Disabled="true">
                            <DirectEvents>
                                <Click OnEvent="btn4UpAccept_Click">
                                    <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Saving %>" ShowMask="true" />
                                    <ExtraParams>
                                        <ext:StoreParameter Name="Values" Value="Ext.encode(#{Grd4UpPickList}.getRowsValues({selectedOnly:true}))"
                                            Mode="Raw" />
                                    </ExtraParams>
                                </Click>
                            </DirectEvents>
                        </ext:Button>
                        <ext:Button ID="btn4UpCancel" runat="server" Icon="Cancel" Text="Cancel">
                            <Listeners>
                                <Click Handler="CloseWindow('PL')" />
                            </Listeners>
                        </ext:Button>
                    </Buttons>
                </ext:FormPanel>
            </Content>
            <Listeners>
                <Show Handler="var pos=#{btnHighlightsAchievementsPickUpList}.getPosition();pos[0]+=-120;pos[1]+=25;this.setPosition(pos);" />
            </Listeners>
        </ext:Window>
        <ext:Window ID="WndMetricsCommentsPickList" runat="server" Width="700" Height="340"
            Title="Comments Pick List" ActiveIndex="0" Hidden="true" Closable="true" CloseAction="Hide"
            Layout="FitLayout" Draggable="true" Resizable="false" Modal="true">
            <Content>
                <ext:FormPanel ID="FrmPnlMetricsCommentsPickList" runat="server" Icon="User" MonitorValid="true"
                    Padding="5" ButtonAlign="Center" Frame="true" Height="360" Width="680" Border="false">
                    <Content>
                        <ext:Hidden ID="HdnMetricsSelected" runat="server" />
                        <ext:GridPanel ID="GrdMetricsCommentsPickList" runat="server" EnableColumnMove="false"
                            ButtonAlign="Center" Height="260" Width="660" AutoScroll="true">
                            <Store>
                                <ext:Store ID="StoreMetricsCommentsPickList" runat="server">
                                    <Model>
                                        <ext:Model runat="server" IDProperty="CommentId" MessageProperty="Comments">
                                            <Fields>
                                                <ext:ModelField Name="Id" Type="Int" />
                                                <ext:ModelField Name="ProgramId" Type="string" />
                                                <ext:ModelField Name="OrigCd" Type="string" />
                                                <ext:ModelField Name="CommentId" Type="Int" />
                                                <ext:ModelField Name="Comments" Type="string" />
                                                <ext:ModelField Name="State" Type="String" />
                                                <ext:ModelField Name="IsOld" Type="Int" />
                                                <ext:ModelField Name="LastUpdated" Type="Date" />
                                            </Fields>
                                        </ext:Model>
                                    </Model>
                                </ext:Store>
                            </Store>
                            <ColumnModel>
                                <Columns>
                                    <ext:Column runat="server" DataIndex="Id" Text="Id" Hidden="true">
                                    </ext:Column>
                                    <ext:Column runat="server" DataIndex="CommentId" Text="CommentId" Hidden="true">
                                    </ext:Column>
                                    <ext:CommandColumn Width="30" ButtonAlign="Center" Text="" runat="server">
                                        <Commands>
                                            <ext:GridCommand CommandName="Accept" IconCls="cls-ico-draftmode">
                                                <ToolTip Text="<%$ Resources:WebResource,GeneralMsg_ToolTipAccept %>" />
                                            </ext:GridCommand>
                                        </Commands>
                                        <Listeners>
                                            <Command Handler="AP3Direct.MetricsCommentsAccept_Click(record.data.CommentId,record.data.Comments,record.data.OrigCd);" />
                                        </Listeners>
                                    </ext:CommandColumn>
                                    <ext:Column runat="server" DataIndex="Comments" Text="Comment" Width="500" Sortable="true" MenuDisabled="true">
                                    </ext:Column>
                                    <ext:DateColumn DataIndex="LastUpdated" Text="Last Updated" Width="95" Sortable="true"
                                        MenuDisabled="true" Format="MM/dd/yyyy" runat="server">
                                    </ext:DateColumn>
                                </Columns>
                            </ColumnModel>
                            <View>
                                <ext:GridView ID="GrdViewMetricsCommentsPickList" runat="server" EmptyText="<%$ Resources:WebResource,GeneralMsg_NoRecordsFound %>"
                                    MarkDirty="false" />
                            </View>
                            <SelectionModel>
                                <ext:RowSelectionModel ID="RowSelectionModel5" runat="server" SingleSelect="true" />
                            </SelectionModel>
    
                        </ext:GridPanel>
                    </Content>
                    <Buttons>
                        <ext:Button ID="btnMetricsCommentsCancel" runat="server" Icon="Cancel" Text="Cancel">
                            <Listeners>
                                <Click Handler="CloseWindow('MC')" />
                            </Listeners>
                        </ext:Button>
                    </Buttons>
                </ext:FormPanel>
            </Content>
        </ext:Window>
        <ext:Window ID="wndTechIndicatorForm" runat="server" Height="300" Width="800" Resizable="true"
            Modal="true" ButtonAlign="Center" Hidden="true" Closable="true" Title="Detail View"
            Border="false" Layout="FitLayout" Maximized="true">
            <Items>
                <ext:Panel ID="pnlWinTechIndicatorForm" runat="server">
                    <Loader Url="" TriggerEvent="show" runat="server" Mode="Frame" />
                </ext:Panel>
            </Items>
            <Listeners>
                <BeforeHide Fn="onBeforeHide" />
                <Hide Handler="#{pnlWinTechIndicatorForm}.clearContent();" />
            </Listeners>
        </ext:Window>
        <ext:Window ID="WinErlEntry" runat="server" Title="ERL Entry Form" Icon="ApplicationViewGallery"
            Plain="true" Padding="5" ButtonAlign="Center" LabelWidth="55" Modal="true" CloseAction="Hide"
            Draggable="true" Layout="FitLayout" Hidden="true">
            <Items>
                <ext:Panel ID="pnlErlEntry" runat="server">
                    <Loader Url="" TriggerEvent="show" runat="server" Mode="Frame" />
                </ext:Panel>
            </Items>
            <Listeners>
                <BeforeHide Fn="onBeforeHide" />
                <%-- <BeforeHide Fn="onBeforeHide" /> --%>
                <%--  <Resize Handler="resizeWin('#{pnlErlEntry}')" />
                <Show Handler="resizeWin('#{pnlErlEntry}')" />--%>
            </Listeners>
        </ext:Window>
    
        <script type="text/javascript" src="../../JavaScriptFiles/jquery_1.5.2.js"></script>
    
        <script type="text/javascript">
    
            function fixButton() {
                if (navigator.userAgent.indexOf('MSIE 7.0') != -1) {
                    $(document).find('button.x-btn-text').each(function() {
    
                        $(this).click(function() { });
                    });
                }
            }
    
            function fixCursor() {
                $('fieldset.cur_pointer map area').each(function() {
                    $(this).attr("href", "javascript:doNothing()");
                    $(this).hover(over, out);
                });
            }
    
            fixCursor();
    
            function doNothing() { }
    
            function over(event) {
                $(this).css('cursor', 'pointer');
            }
    
            function out(event) {
                $(this).css('cursor', 'default');
            }
            
        
        </script>
    
        <script type="text/javascript">
            //sign out button is throwing exception. because of un saved data tracking. to suppress that. 
            // this code has been added.
            var __oldDoPostBack = __doPostBack;
            __doPostBack = CatchExplorerError;
    
            function CatchExplorerError(eventTarget, eventArgument) {
                try {
                    return __oldDoPostBack(eventTarget, eventArgument);
                }
                catch (ex) {
                    // don't want to mask a genuine error
                    // lets just restrict this to our 'Unspecified' one
                    if (ex.message.indexOf('Unspecified') == -1) {
                        throw ex;
                    }
                }
            }
    
        </script>
    
    </asp:Content>
    Last edited by velusoft; Dec 18, 2014 at 10:49 AM.
  4. #4
    Honestly, I would be quite surprised if such a page loads well in IE8 with Ext.NET v1. You say that it doesn't cause "IE is running slow" with Ext.NET v1, but please clarify how long does it take to load that page with Ext.NET v1 in IE8?

    I remember some of our customers encountered similar issues with upgrading from v1 to v2. They noticed some downgrade in performance especially in IE8. I am afraid there is no a simple solution. ExtJS 4 (base of Ext.NET v2) is quite heavier than ExtJS 3 (base of Ext.NET v1). Unfortunately, we don't have any chance to change this situation.

    Though, I think the main problem is the fact that the page is too heavy. +7000 code lines is too many. Unfortunately, there is no simple solution. It looks the only solution is to reduce the amount of things to be loaded initially and load/render some things on demand. It is a lot of work, but, repeat myself, I don't quite see an alternative solution.

    By the way, how does the page load in IE9, Chrome and FireFox?
  5. #5
    It is loading in IE 10, firefox and chrome.
    After migration it is not loading in IE 8.
    still our production site is loading properly with old version of Ext.Net(1.7) in IE 8.
    This is critical to our production release. Plz check your side as well.
    Last edited by velusoft; Dec 22, 2014 at 9:21 AM.
  6. #6
    I am afraid I have nothing to add to my previous post.

    Could you provide us with a test case online? The link that would open the page that you posted previously.

    It doesn't guarantee that we would be able to help, but, at least, some chance would appear.

    Just we can run the page that you posted.

Similar Threads

  1. Replies: 7
    Last Post: Jun 26, 2015, 12:39 PM
  2. Replies: 0
    Last Post: Dec 02, 2014, 4:55 AM
  3. [CLOSED] Internet-Explorer 8 -> long waits in building the page
    By ontiv in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 28, 2013, 10:54 AM
  4. Browser memory keeps slowly growing
    By micky in forum 1.x Help
    Replies: 6
    Last Post: May 28, 2012, 6:50 PM
  5. Replies: 6
    Last Post: Apr 05, 2012, 5:23 PM

Posting Permissions