我面临的问题是modalpopup没有在单击上显示。双击后显示。 [英] I am facing problem of modalpopup is not showing on single click.it is showing after double click.

查看:77
本文介绍了我面临的问题是modalpopup没有在单击上显示。双击后显示。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我面临的问题是modalpopup没有在单击上显示。双击后显示。

waht有问题吗?



Hello
I am facing problem of modalpopup is not showing on single click.it is showing after double click.
waht is problem there ?

<%@ Page Title="" Language="C#" MasterPageFile="~/MAIN_MASTER.master" AutoEventWireup="true"   EnableEventValidation="false" CodeFile="MasterTrackerMentor.aspx.cs" Inherits="MasterTrackerMentor" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ToolkitScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
</asp:ToolkitScriptManager>
 <script type="text/javascript" src="dropdown/jquery-1.2.3.min.js"></script>
    <link href="dropdown/template.css" rel="stylesheet" type="text/css" />
    <script src="dropdown/validation.js" type="text/javascript"></script>
 <script type="text/javascript">
     $(document).ready(function () {
         $('#tb1').css('display', 'none');
         $('#Tb2').css('display', 'none');
         $('#tb6').css('display', 'none');
         $('#tb5').css('display', 'none');
         $('#tb4').css('display', 'none');
         $('#tb3').css('display', 'none');
         $('#tb7').css('display', 'none');
         $('#tbfinal').css('display', 'none');
         $('[id$=RadioButton1]').attr('checked', true);
         $('[id$=RadioButton3]').attr('checked', true);
         $('[id$=RadioButton5]').attr('checked', true);
         $('[id$=RadioButton7]').attr('checked', true);
         $('[id$=RadioButton9]').attr('checked', true);

         $('[id$=DropDownList1]').change(function () {

             var val1 = $('[id$=DropDownList1] option:selected').text();
             $('#tbfinal').css('display', 'block');
             if (val1 == '') {
                 $('#tb1').css('display', 'none');
                 $('#tb7').css('display', 'none');
                 $('#tb6').css('display', 'none');
                 $('#tb6').css('display', 'none');
                 $('#tb5').css('display', 'none');
                 $('#tb4').css('display', 'none');
                 $('#tb3').css('display', 'none');
                 $('#Tb2').css('display', 'none');
                 $('#tbfinal').css('display', 'none');
             }
             if (val1 == 'Status Quo') {

                 $('#tb1').css('display', 'block');
                 $('#tb7').css('display', 'none');
                 $('#tb6').css('display', 'none');
                 $('#tb6').css('display', 'none');
                 $('#tb5').css('display', 'none');
                 $('#tb4').css('display', 'none');
                 $('#tb3').css('display', 'none');
                 $('#Tb2').css('display', 'none');
                 $('#tbfinal').css('display', 'none');

             }
             if (val1 == 'Modify Del / Inst Status') {
                 $('#Tb2').css('display', 'block');
                 $('#tb1').css('display', 'none');
                 $('#tb7').css('display', 'none');
                 $('#tb6').css('display', 'none');
                 $('#tb5').css('display', 'none');
                 $('#tb4').css('display', 'none');
                 $('#tb3').css('display', 'none');
             }
             if (val1 == 'Reconciliation') {
                 $('#tb3').css('display', 'block');
                 $('#tb1').css('display', 'none');
                 $('#Tb2').css('display', 'none');
                 $('#tb7').css('display', 'none');
                 $('#tb6').css('display', 'none');
                 $('#tb5').css('display', 'none');
                 $('#tb4').css('display', 'none');
             }
             if (val1 == 'Payment Follow Up Call') {
                 $('#tb4').css('display', 'block');
                 $('#tb3').css('display', 'none');
                 $('#tb1').css('display', 'none');
                 $('#Tb2').css('display', 'none');
                 $('#tb7').css('display', 'none');
                 $('#tb6').css('display', 'none');
                 $('#tb5').css('display', 'none');
//                 $('[id$=txtphno]').keyup(function () {
//                      extractNumber(this,0, false);
//                 });
//                  $('[id$=txtphno]').onkeypress(function (event) {
//                      blockNonNumbers(this, event, false, false, 10000);
//                 });
//                  $('[id$=txtphno]').onblur(function (event) {
//                      extractNumber(this,0, false);
//                 });
             }

             $('[id$=ddloutcome5]').change(function () {
                 var val3 = $('[id$=ddloutcome5] option:selected').text();
                 $('#tbfinal').css('display', 'block');
                 if (val3 == 'Collected') {
                     $('#td2').css('display', 'block');
                     $('#tdremark').css('display', 'none');
                     $('#tdchk').css('display', 'none');
                     $('#tdass').css('display', 'none');
                     $('#tdnoncoll').css('display', 'none');
                     $('#trexpdate').css('display', 'block');

                     $('#trexpdate').css('display', 'block');
                     $('#tdexpdat').text('Expected Date of Coll.');
                     $('#tbreconf').css('display', 'block');
                     $('[id$=txtdatete]').addClass("watermarkOn").val("Cheque Number");
                     $('[id$=imgtxtdatetelp]').addClass("watermarkOn").val("Cheque Date");
                     $('[id$=txt1]').addClass("watermarkOn").val("Cheque Amount");

                     $('[id$=txtdatete]').click(function () {
                         $('[id$=txtdatete]').removeClass("watermarkOn").val("");
                     });


                     $('[id$=imgtxtdatetelp]').click(function () {

                         $('[id$=imgtxtdatetelp]').removeClass("watermarkOn").val("");
                     });
                     $('[id$=txt1]').click(function () {
                         $('[id$=txt1]').removeClass("watermarkOn").val("");

                         $('[id$=txt1]').keyup(function () {
                             //  extractNumber(this, 2, true);
                         });
                         $('[id$=txt1]').onkeypress(function (event) {
                             // blockNonNumbers(this, event, true, true, 10000);
                         });
                         $('[id$=txt1]').onblur(function (event) {
                             //  extractNumber(this, 2, true);
                         });
                     });

                 }

                 else if (val3 == 'GR to be taken') {
                     $('#td2').css('display', 'block');
                     $('#tdremark').css('display', 'none');
                     $('#tdchk').css('display', 'none');
                     $('#tdass').css('display', 'none');
                     $('#tdnoncoll').css('display', 'none');
                     $('#trexpdate').css('display', 'none');
                     $('#trexpdate').css('display', 'none');
                     $('#tdexpdat').text('');
                     $('#tbreconf').css('display', 'none');
                     $('[id$=txtdatetelp]').addClass("watermarkOn").val("whom instructed to GR");
                     $('[id$=imgtxtdatetelp]').addClass("watermarkOn").val("Exp Date of GR");
                     $('[id$=txt1]').addClass("watermarkOn").val("Reason for GR");
                     $('[id$=txtdatetelp]').click(function () {
                         $('[id$=txtdatetelp]').removeClass("watermarkOn").val("");
                     });

                     $('[id$=imgtxtdatetelp]').click(function () {
                         $('[id$=imgtxtdatetelp]').removeClass("watermarkOn").val("");

                     });
                     $('[id$=txt1]').click(function () {
                         $('[id$=txt1]').removeClass("watermarkOn").val("");
                         $('[id$=txt1_FilteredTextBoxExtender]').hide();
                     });

                 }

                 else if (val3 == 'GR Taken') {
                     $('#tdass').css('display', 'none');
                     $('#tdnoncoll').css('display', 'none');
                     $('#tdchk').css('display', 'none');
                     $('#trexpdate').css('display', 'none');
                     $('#trexpdate').css('display', 'none');
                     $('#tdexpdat').text('');
                     $('#tbreconf').css('display', 'none');
                     $('#td2').css('display', 'none');
                     $('#tdremark').css('display', 'block');
                     $('[id$=txtchkreason]').addClass("watermarkOn").val("Reason");
                     $('[id$=txtchkreason]').click(function () {
                         $('[id$=txtchkreason]').removeClass("watermarkOn").val("");
                     });

                 }
                 else if (val3 == 'Cheq Ready') {
                     $('#tdchk').css('display', 'block');
                     $('#td2').css('display', 'none');
                     $('#tdass').css('display', 'block');
                     $('#tdnoncoll').css('display', 'none');
                     $('#tdremark').css('display', 'none');
                     $('#trexpdate').css('display', 'block');

                     $('#trexpdate').css('display', 'block');
                     $('#tdexpdat').text('Expected Date of Coll.');
                     $('#tbreconf').css('display', 'block');

                 }
                 ///////////////////////
                 else if (val3 == 'Non Collectable') {
                     $('#tdnoncoll').css('display', 'block');
                     $('#td2').css('display', 'none');
                     $('#tdremark').css('display', 'none');
                     $('#tdchk').css('display', 'none');
                     $('#tdass').css('display', 'none');
                     $('#trexpdate').css('display', 'none');
                     $('#tdexpdat').text('');
                     $('#tbreconf').css('display', 'none');

                 }
                 ///////////////////////////////////////////////////////GR Taken
                 else if (val3 == 'PDC Collected') {
                     $('#td2').css('display', 'block');
                     $('#tdremark').css('display', 'none');
                     $('#tdass').css('display', 'none');
                     $('#tdchk').css('display', 'none');
                     $('#tdnoncoll').css('display', 'none');
                     $('#trexpdate').css('display', 'block');

                     $('#trexpdate').css('display', 'block');
                     $('#tdexpdat').text('Expected Date of Coll.');
                     $('#tbreconf').css('display', 'block');

                     $('[id$=txtdatetelp]').addClass("watermarkOn").val("Cheque Number");
                     $('[id$=imgtxtdatetelp]').addClass("watermarkOn").val("Cheque Date");
                     $('[id$=txt1]').addClass("watermarkOn").val("Cheque Amount");
                     $('[id$=txtdatetelp]').click(function () {
                         $('[id$=txtdatetelp]').removeClass("watermarkOn").val("");
                     });

                     $('[id$=imgtxtdatetelp]').click(function () {
                         $('[id$=imgtxtdatetelp]').removeClass("watermarkOn").val("");

                     });
                     $('[id$=txt1]').click(function () {
                         $('[id$=txt1]').removeClass("watermarkOn").val("");
                     });

                 }
                 else {
                     $('#td2').css('display', 'none');
                     $('#tdremark').css('display', 'none');
                     $('#tdchk').css('display', 'none');
                     $('#tdass').css('display', 'none');
                     $('#tdnoncoll').css('display', 'none');

                     $('#trexpdate').css('display', 'block');
                     $('#tdexpdat').text('Expected Date of Coll.');
                     $('#tbreconf').css('display', 'block');

                 }
             });

             $('[id$=RadioButton1]').click(function () {

                 $('[id$=RadioButton2]').attr('checked', false);
                 $('#tddel').css('display', 'none');
             });
             $('[id$=RadioButton2]').click(function () {

                 $('[id$=RadioButton1]').attr('checked', false);

                 $('#tddel').css('display', 'block');
             });
             ////////////////////////////////////////////
             $('[id$=RadioButton3]').click(function () {

                 $('[id$=RadioButton4]').attr('checked', false);
                 $('#tddelinst').css('display', 'none');
             });
             $('[id$=RadioButton4]').click(function () {

                 $('[id$=RadioButton3]').attr('checked', false);

                 $('#tddelinst').css('display', 'block');
             });

             $('[id$=RadioButton5]').click(function () {

                 $('[id$=RadioButton6]').attr('checked', false);
                 $('#tdactd').css('display', 'none');
             });
             $('[id$=RadioButton6]').click(function () {

                 $('[id$=RadioButton5]').attr('checked', false);

                 $('#tdactd').css('display', 'block');
             });
             /////////////////////////////////////
             $('[id$=RadioButton7]').click(function () {

                 $('[id$=RadioButton8]').attr('checked', false);
                 $('#tdactinst').css('display', 'none');
             });
             $('[id$=RadioButton8]').click(function () {

                 $('[id$=RadioButton7]').attr('checked', false);

                 $('#tdactinst').css('display', 'block');
             });
             ////////////////////////
             $('[id$=RadioButton9]').click(function () {

                 $('[id$=RadioButton10]').attr('checked', false);
                 $('#tdexptd').css('display', 'none');
             });
             $('[id$=RadioButton10]').click(function () {

                 $('[id$=RadioButton9]').attr('checked', false);

                 $('#tdexptd').css('display', 'block');
             });

             $('[id$=RadioButton11]').click(function () {

                 $('[id$=RadioButton12]').attr('checked', false);
                 $('#tdrexp').css('display', 'none');
             });
             $('[id$=RadioButton12]').click(function () {

                 $('[id$=RadioButton11]').attr('checked', false);

                 $('#tdrexp').css('display', 'block');
             });

             $('[id$=RadioButton15]').click(function () {

                 $('[id$=RadioButton16]').attr('checked', false);
                 $('#td1').css('display', 'none');
             });
             $('[id$=RadioButton16]').click(function () {

                 $('[id$=RadioButton15]').attr('checked', false);

                 $('#td1').css('display', 'block');
             });
             ////////////////////////////////
             $('[id$=RadioButton13]').click(function () {

                 $('[id$=RadioButton14]').attr('checked', false);
             });
             $('[id$=RadioButton14]').click(function () {

                 $('[id$=RadioButton13]').attr('checked', false);

             });

             //             /////////////////////tdrexp
             $('[id$=ddloutcome8]').change(function () {
                 var val2 = $('[id$=ddloutcome8] option:selected').text();
                 $('#tbfinal').css('display', 'block');
                 if (val2 == 'GR taken') {

                 }
                 if (val2 == 'GR to be taken') {
                     $('#tdgr1').css('display', 'block');
                     // $('#tr1').css('display', 'block');
                     $('[id$=txt_chkno]').addClass("watermarkOn").val("whom instructed to GR");
                     $('[id$=txtchkdate]').addClass("watermarkOn").val("Exp Date of GR");
                     $('[id$=txtchkamount]').addClass("watermarkOn").val("Reason for GR");
                     $('[id$=txt_chkno]').click(function () {
                         $('[id$=txt_chkno]').removeClass("watermarkOn").val("");
                     });

                     $('[id$=txtchkdate]').click(function () {
                         $('[id$=txtchkdate]').removeClass("watermarkOn").val("");

                     });
                     $('[id$=txtchkamount]').click(function () {
                         $('[id$=txtchkamount]').removeClass("watermarkOn").val("");
                     });
                 }
                 else if (val2 == 'Collected') {
                     $('#tdgr1').css('display', 'block');
                     //                     $('#tedc').text('');
                     //                     $('#tedc1').css('display', 'none');
                     $('[id$=txt_chkno]').addClass("watermarkOn").val("CheckNumber");
                     $('[id$=txtchkdate]').addClass("watermarkOn").val("CheckDate");
                     $('[id$=txtchkamount]').addClass("watermarkOn").val("CheckAmount");
                     $('[id$=txt_chkno]').click(function () {
                         $('[id$=txt_chkno]').removeClass("watermarkOn").val("");
                     });

                     $('[id$=txtchkdate]').click(function () {
                         $('[id$=txtchkdate]').removeClass("watermarkOn").val("");

                     });
                     $('[id$=txtchkamount]').click(function () {
                         $('[id$=txtchkamount]').removeClass("watermarkOn").val("");
                     });
                 }
                 else {
                     $('#tdgr1').css('display', 'none');
                     $('#tedc').text('Expected Date of Coll.');
                     $('#tedc1').css('display', 'block');
                 }

             });
             //             /////////////////////////////////////////////
             $('[id$=DropDownList6]').change(function () {
                 var val1 = $('[id$=DropDownList6] option:selected').text();
                 $('#tbfinal').css('display', 'block');
                 if (val1 == 'GR to be taken') {
                     $('#tdgr4').css('display', 'block');
                     // $('#tr2').css('display', 'block');
                     $('[id$=txtchkno1]').addClass("watermarkOn").val("whom instructed to GR");
                     $('[id$=txt_date1]').addClass("watermarkOn").val("Exp Date of GR");
                     $('[id$=txtchkamount1]').addClass("watermarkOn").val("Reason for GR");
                     $('[id$=txtchkno1]').click(function () {
                         $('[id$=txtchkno1]').removeClass("watermarkOn").val("");
                     });

                     $('[id$=txt_date1]').click(function () {
                         $('[id$=txt_date1]').removeClass("watermarkOn").val("");
                     });
                     $('[id$=txtchkamount1]').click(function () {
                         $('[id$=txtchkamount1]').removeClass("watermarkOn").val("");
                     });
                 }
                 else if (val1 == 'Collected') {
                     $('#tdgr4').css('display', 'block');
                     //                     $('#tdexp').text('');
                     //                     $('#tdexp1').css('display', 'none');
                     $('[id$=txtchkno1]').addClass("watermarkOn").val("CheckNumber");
                     $('[id$=txt_date1]').addClass("watermarkOn").val("CheckDate");
                     $('[id$=txtchkamount1]').addClass("watermarkOn").val("CheckAmount");
                     $('[id$=txtchkno1]').click(function () {
                         $('[id$=txtchkno1]').removeClass("watermarkOn").val("");
                     });

                     $('[id$=txt_date1]').click(function () {
                         $('[id$=txt_date1]').removeClass("watermarkOn").val("");

                     });
                     $('[id$=txtchkamount1]').click(function () {
                         $('[id$=txtchkamount1]').removeClass("watermarkOn").val("");
                     });

                 }
                 else {
                     $('#tdgr4').css('display', 'none');
                     $('#tdexp').text('Expected Date of Coll.');
                     $('#tdexp1').css('display', 'block');
                 }

             });
         });
     });
 </script>
 <script type="text/javascript">
     function Confirm() {
         var confirm_value = document.createElement("INPUT");
         confirm_value.type = "hidden";
         confirm_value.name = "confirm_value";
         if (confirm("Are you sure collection date stands confirmed ?")) {
             confirm_value.value = "Yes";
         } else {
             confirm_value.value = "No";
         }
         document.forms[0].appendChild(confirm_value);
     }
     </script>

<style type="text/css">
.modalBackground
{
background-color: Gray;
filter: alpha(opacity=80);
opacity: 0.8;
z-index: 10000;
border:Solid 3px #D55500;
}
</style>
    <script type="text/javascript">
    function OpenPopup() {

        window.open("ProductClass.aspx", "List", "toolbar=no, location=no,status=yes,menubar=no,scrollbars=yes,resizable=no, width=900,height=500,left=430,top=100");
        return false;
    }
</script>
    <script src="dropdown/JScript.js" type="text/javascript"></script>

    <div style="text-align:center; color:Green; font-size:large;"><b>OS Master Tracker Mentor</b></div>
    <asp:HiddenField ID="HiddenField1" runat="server" />
    <br />
    <div style=" width:1435px; float:left; height:300px; overflow-x:scroll;">
<asp:GridView ID="GridView1" runat="server" BackColor="White"

          BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4"

          AutoGenerateColumns="false" Width="1400px" onrowdatabound="GridView1_RowDataBound" >
          <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
          <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
          <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
          <RowStyle BackColor="White" ForeColor="#330099" />
          <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
          <SortedAscendingCellStyle BackColor="#FEFCEB" />
          <SortedAscendingHeaderStyle BackColor="#AF0101" />
          <SortedDescendingCellStyle BackColor="#F6F0C0" />
          <SortedDescendingHeaderStyle BackColor="#7E0000" />
           <Columns>
        <asp:TemplateField HeaderText="Sl.No.">
        <ItemTemplate>
        <%#Container.DataItemIndex+1 %>
        </ItemTemplate>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Location">
        <ItemTemplate>
         <asp:Label ID="Label12" runat="server" Text="<%#Bind('Location') %>"></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
          <asp:TemplateField HeaderText="Invoice Num" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="lbl_Invoice" runat="server" Text="<%#Bind('InvoiceNum') %>"></asp:Label>
        </ItemTemplate>

<ControlStyle Width="120px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Order Num" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="lbl_OrderNo" runat="server" Text="<%#Bind('OrderNum') %>"></asp:Label>
        </ItemTemplate>

<ControlStyle Width="120px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Primary Person Name" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="Label15" runat="server" Text="Mentor 1"></asp:Label>
        </ItemTemplate>

<ControlStyle Width="120px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Name of person who has procured the order" ControlStyle-Width="170px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate> <asp:Label ID="lbl_sales" runat="server" Text="<%#Bind('SalesRepList') %>" Visible="false"></asp:Label>
         <asp:Label ID="Label16" runat="server" Text="<%#Bind('SalesRepList') %>"></asp:Label>
        </ItemTemplate>

<ControlStyle Width="170px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Cust Code" ControlStyle-Width="80px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="Label17" runat="server" Text="<%#Bind('CustID') %>"></asp:Label>
        </ItemTemplate>

<ControlStyle Width="80px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Customer's Name" ControlStyle-Width="100px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="Label18" runat="server" Text="<%#Bind('Name') %>"></asp:Label>
        </ItemTemplate>

<ControlStyle Width="100px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Order Value ( XO1 / SO1 Value after discount and taxes)" ControlStyle-Width="180px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="Label19" runat="server" Text='<%#Bind("ORDERVALUE","{0:F}") %>'></asp:Label>
        </ItemTemplate>

<ControlStyle Width="180px"></ControlStyle>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Bill Date" ControlStyle-Width="100px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
            <asp:Label ID="Label122" runat="server" Text='<%#Bind("Bill_Date","{0:dd-MMM-yyyy}") %>'></asp:Label>
        </ItemTemplate>

<ControlStyle Width="100px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Bill Amount" ControlStyle-Width="100px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
            <asp:Label ID="lbl_bill" runat="server"  Text='<%#Bind("Bill_Amnt","{0:F}") %>'></asp:Label>
        </ItemTemplate>

<ControlStyle Width="100px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Balance O/s Due" ControlStyle-Width="100px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="lbl_balance" runat="server" Text=""></asp:Label>
        </ItemTemplate>

<ControlStyle Width="100px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Bill Type" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="lbl_type" runat="server" Text="<%#Bind('Bill_Type') %>"></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
           <asp:TemplateField HeaderText="Actual Delivery Date / File Sent Date" ControlStyle-Width="180px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="lbl_ActDel" runat="server" Text='<%#Bind("ActDeldate","{0:dd-MMM-yyyy}") %>'></asp:Label>
        </ItemTemplate>

<ControlStyle Width="180px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Expected or Actual Delivery Date / File Sent Date" ControlStyle-Width="180px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="lbl_sened" runat="server" Text='<%#Bind("ExpDeldate","{0:dd-MMM-yyyy}") %>'></asp:Label>
        </ItemTemplate>

<ControlStyle Width="180px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Expected or Actual Installation Date / File sent date/ Hand Over Date (incase of System)" ControlStyle-Width="200px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="lbl_expected" runat="server" Text='<%#Bind("ExpInsdate","{0:dd-MMM-yyyy}") %>'></asp:Label>
        </ItemTemplate>

<ControlStyle Width="200px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Age of O/s from Delivery date / File Sent Date  (No. of Days)" ControlStyle-Width="180px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="lbl_Age" runat="server" Text=""></asp:Label>
        </ItemTemplate>

<ControlStyle Width="180px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="No. of Days delayed (post due date)" ControlStyle-Width="150px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
         <asp:Label ID="lbl_days" runat="server" Text=""></asp:Label>
        </ItemTemplate>

<ControlStyle Width="150px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Expected Date of Collection" ControlStyle-Width="150px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
          <asp:Label ID="lbl_expDate" runat="server" Text=""></asp:Label>
        </ItemTemplate>

<ControlStyle Width="150px"></ControlStyle>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="OS Ticket Recd on (Date)" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
             <asp:Label ID="lblOsRecvd" runat="server" Text=""></asp:Label>
        </ItemTemplate>

<ControlStyle Width="120px"></ControlStyle>
        </asp:TemplateField>
          <asp:TemplateField HeaderText="Collection Date" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
             <asp:Label ID="lblcolldate" runat="server" Text=""></asp:Label>
        </ItemTemplate>

<ControlStyle Width="120px"></ControlStyle>
        </asp:TemplateField>
          <asp:TemplateField HeaderText="Collection Amount" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
             <asp:Label ID="lblcollamnt" runat="server" Text=""></asp:Label>
        </ItemTemplate>

<ControlStyle Width="120px"></ControlStyle>
        </asp:TemplateField>
          <asp:TemplateField HeaderText="GR Date" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
             <asp:Label ID="lblGrDate" runat="server" Text=""></asp:Label>
        </ItemTemplate>

<ControlStyle Width="120px"></ControlStyle>
        </asp:TemplateField>
          <asp:TemplateField HeaderText="GR Amount" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
             <asp:Label ID="lblGRAmount" runat="server" Text=""></asp:Label>
        </ItemTemplate>

<ControlStyle Width="120px"></ControlStyle>
        </asp:TemplateField>
              <asp:TemplateField HeaderText="Cr Days" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center">
        <ItemTemplate>
             <asp:Label ID="lblCrdays" runat="server" Text="<%#Bind('cr_days') %>"></asp:Label>
        </ItemTemplate>

<ControlStyle Width="120px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Inst Req" ItemStyle-HorizontalAlign="Center" Visible="false">
        <ItemTemplate>
         <asp:Label ID="lbl_InstReq" runat="server" Text="<%#Bind('InstReq') %>"></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
          <asp:TemplateField HeaderText="Status Site Inst" ItemStyle-HorizontalAlign="Center" Visible="false">
        <ItemTemplate>
         <asp:Label ID="lbl_StatusSiteInst" runat="server" Text="<%#Bind('StatusSiteInst') %>"></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="OrderDate" ItemStyle-HorizontalAlign="Center" Visible="false">
        <ItemTemplate>
         <asp:Label ID="lbl_Orderdate" runat="server" Text='<%#Bind("Orderdate") %>'></asp:Label>
          <asp:Label ID="lbl_MobileNo" runat="server" Text='<%#Bind("MobileNo") %>'></asp:Label>
           <asp:Label ID="lbl_PhoneNo" runat="server" Text='<%#Bind("PhoneNo") %>'></asp:Label>
            <asp:Label ID="lbl_EmailID" runat="server" Text='<%#Bind("EmailID") %>'></asp:Label>
            <asp:Label ID="lbl_Designation" runat="server" Text='<%#Bind("Designation") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Client History" ControlStyle-Width="100px">
        <ItemTemplate>

             <asp:ImageButton ID="imgbtn" ImageUrl="~/images/client history.png" Text="Client History" Width="25" Height="25" runat="server"  Visible="true" onclick="imgbtn_Click" CausesValidation="false"/>
         <%--   <asp:LinkButton ID="LinkButton1" runat="server" CommandName="VERIFY" CssClass="button" >Client History</asp:LinkButton>--%>
        </ItemTemplate>

<ControlStyle Width="100px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Update History" ControlStyle-Width="100px">
        <ItemTemplate>
        <%--    <asp:Button ID="btn_history" runat="server" Text="Update History" CommandName="VERIFY1" Width="100px" Height="30px" PostBackUrl="~/FolloupUpdateHistory.aspx"  />--%>
          <asp:ImageButton ID="imgbtn1" ImageUrl="~/images/update history.png" Text="Client History" runat="server" Width="25" Height="25"  Visible="true"  onclick="imgbtn1_Click" CausesValidation="false"/>
        </ItemTemplate>

<ControlStyle Width="100px"></ControlStyle>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Today's Update" ControlStyle-Width="100px">
        <ItemTemplate>
     <%--       <asp:Button ID="btn_update" runat="server" Text="Today's Update" CommandName="VERIFY1" Width="110px" Height="30px"  PostBackUrl="~/TodayUpdateForm.aspx" />--%>
     <asp:ImageButton ID="imgbtn2" ImageUrl="~/images/today's history.png" Text="Client History" runat="server"  Width="25" Height="25"  Visible="true"  onclick="imgbtn2_Click"  CausesValidation="false"/>
            <asp:ImageButton ID="btnPending" runat="server" ImageUrl="~/images/PENDING.png" Text="Pending"  Width="25" Height="25" Visible="false" CausesValidation="false"/>
        </ItemTemplate>

<ControlStyle Width="100px"></ControlStyle>
        </asp:TemplateField>
            <asp:TemplateField HeaderText="Order Details" ControlStyle-Width="100px">
        <ItemTemplate>
          <%--  <asp:Button ID="btn_orddetail" runat="server" Text="Order Details" CommandName="VERIFY1" Width="100px" Height="30px" PostBackUrl="~/OrderDetailsForm.aspx"  />--%>
          <asp:ImageButton ID="imgbtn3" ImageUrl="~/images/order details.png" Text="Client History" runat="server" Width="25" Height="25"  Visible="true"  onclick="imgbtn3_Click" CausesValidation="false"/>
        </ItemTemplate>

<ControlStyle Width="100px"></ControlStyle>
        </asp:TemplateField>

        </Columns>
      </asp:GridView>
      </div>
<asp:Label ID="lblresult" runat="server"/>
<asp:Button ID="btnShowPopup" runat="server" style="display:none" />
<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="btnShowPopup" PopupControlID="pnlpopup"

CancelControlID="btnCancel" BackgroundCssClass="modalBackground">
</asp:ModalPopupExtender>
<asp:Panel ID="pnlpopup" runat="server" BackColor="White" style="width:90%;   border:Solid 3px #D55500; display:none;">
<br />
<div style="text-align:center; color:Green;"><b>Client History FORM</b></div>
<br />
<table cellpadding="0" cellspacing="0" class="tablefirst">
<tr style="height:10px;"><td></td><td></td><td></td><td></td></tr>
<tr style="height:10px;"><td></td><td></td><td></td><td></td></tr>
<tr><td style="width:200px;" >Order No</td><td>
    <asp:TextBox ID="txtUID" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td><td style="width:200px;">Delivery Date</td><td>
    <asp:TextBox ID="txt_DelDate" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td></tr>
<tr><td style="width:50px;" >Location</td><td style="width:300px;">
    <asp:TextBox ID="txt_Loc" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td><td >Installation Date / Hand Over
        Date</td><td style="width:300px;">
        <asp:TextBox ID="txt_Instdate" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td></tr>
<tr><td>Cust Code</td><td>
    <asp:TextBox ID="txt_CustCode" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td><td>Agreed Credit Days</td><td>
    <asp:TextBox ID="txt_AgreeCr" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td></tr>
<tr><td>Customer's Name</td><td>
    <asp:TextBox ID="txt_CustName" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td><td>Original Due Date from Delivery</td><td>
    <asp:TextBox ID="txt_OrDue" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td></tr>
<tr><td>Sale Type</td><td>
        <asp:TextBox ID="txt_SaleType" runat="server" CssClass="textbox" Enabled="false"> </asp:TextBox>
    </td><td>Age of OS (from Delivery Date)</td><td style="width:300px;">
    <asp:TextBox ID="txt_Ageos" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td></tr>
<tr><td>Bill No</td><td>
    <asp:TextBox ID="txt_BillNo" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td><td>No. of days delayed (post due
          date)</td><td>
        <asp:TextBox ID="TextBox44" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td></tr>
<tr><td>Bill Date / File Sent Date</td><td>
    <asp:TextBox ID="txt_Billdatecl" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td><td>Contact Person's  Name</td><td>
    <asp:TextBox ID="txt_ContPerson" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td></tr>
<tr><td>Bill Amount</td><td>
        <asp:TextBox ID="txtBillAmnt" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td><td>Designation</td><td>
    <asp:TextBox ID="txtDesg" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td></tr>
<tr><td>OS due agst Delivery</td><td>
     <asp:TextBox ID="txt_OSDue" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td><td>Contact Person's  Mobile  No</td><td>
    <asp:TextBox ID="txt_ConMo" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td></tr>
<tr><td>Installation Required</td><td>
   <asp:TextBox ID="txt_InstReq" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td><td>Contact Person's  Phone No</td><td>
    <asp:TextBox ID="txt_ContPhone" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td></tr>
<tr><td>Site Ready for Installation</td><td>

        <asp:TextBox ID="txt_SiteReady" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>

    </td><td>E-mail</td><td>
    <asp:TextBox ID="txt_Email" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
    </td></tr>
<tr><td></td><td>

    </td><td>&nbsp;</td><td>
    &nbsp;</td></tr>
<tr><td></td><td>

    </td><td>&nbsp;</td><td>&nbsp;</td></tr>
<tr style="height:10px;">
<td>
</td>
<td></td>
<td>
<%--<asp:Button ID="btnUpdate" CommandName="Update" runat="server" Text="Update"/>--%>

</td>
</tr>

</table>
<br />
<div style="text-align:center;"><asp:ImageButton ID="btnCancel" ImageUrl="~/images/close.png" Text="Client History" runat="server"  OnClick="btncancle_Click" Width="90px" Height="25px" /></div>
<br />
</asp:Panel>
<asp:Button ID="btnShowPopup1" runat="server" style="display:none" />
<asp:ModalPopupExtender ID="ModalPopupExtender2" runat="server" TargetControlID="btnShowPopup1" PopupControlID="Pnlpopup1"

CancelControlID="btncancel2" BackgroundCssClass="modalBackground">
</asp:ModalPopupExtender>
<asp:Panel ID="Pnlpopup1" runat="server" BackColor="White" style="width:90%; margin-left:10px;   border:Solid 3px #D55500; display:none;">
<br />
<div style="text-align:center; color:Green;"><b>Update History</b></div>
<br />
    <table class="table2">
    <tr style="height:10px;"><td></td><td></td><td></td><td></td></tr>
<tr><td style="text-align:left; width:150px;">Bill/File Sent Date</td><td style="text-align:left; width:100px;">
    <asp:TextBox ID="txt_BillDate" runat="server" Text="" Enabled="false" CssClass="textbox"></asp:TextBox></td><td style="text-align:left; width:150px;">Bill Amount</td><td style="text-align:left; width:100px;">
        <asp:TextBox ID="txt_Billamt" runat="server" Text="" Enabled="false" CssClass="textbox"></asp:TextBox></td><td style="text-align:left; width:150px;">
        O/s Amount</td><td style="text-align:left; width:100px;">
        <asp:TextBox ID="txt_os" runat="server" Text="" Enabled="false" CssClass="textbox"></asp:TextBox>
    </td><td style="text-align:left; width:100px;">Cr Days</td><td style="text-align:left; width:100px;">
    <asp:TextBox ID="txtCrDays" runat="server" Text="" Enabled="false" CssClass="textbox"></asp:TextBox>
    </td></tr>
    <tr><td style="text-align:left; width:150px;">Original Due Date&nbsp;&nbsp;&nbsp; from Delivery Date </td><td style="text-align:left; width:100px;">
    <asp:TextBox ID="txt_OrgDueDate" runat="server" Text="" Enabled="false" CssClass="textbox"></asp:TextBox>
    </td><td style="text-align:left; width:150px;">Age from Delivery Date </td><td style="text-align:left; width:100px;">
    <asp:TextBox ID="txt_Age" runat="server" Text="" Enabled="false" CssClass="textbox"></asp:TextBox>
    </td><td>No. of days delayed</td><td>
        <asp:TextBox ID="txtNodays" runat="server" Text="" Enabled="false" CssClass="textbox"></asp:TextBox></td></tr>
       <tr style="height:10px;"><td></td><td></td><td></td><td></td></tr>
        </table>
<br />
<div style="overflow:scroll; width:90% ; height:500px">
<asp:GridView ID="GridView2" runat="server" BackColor="White" BorderColor="#CC9966"  Width="1500px"

        BorderStyle="None" BorderWidth="1px" CellPadding="4"

        AutoGenerateColumns="false" onrowcreated="GridView2_RowCreated">
    <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
    <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
    <RowStyle BackColor="White" ForeColor="#330099" />
    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
    <SortedAscendingCellStyle BackColor="#FEFCEB" />
    <SortedAscendingHeaderStyle BackColor="#AF0101" />
    <SortedDescendingCellStyle BackColor="#F6F0C0" />
    <SortedDescendingHeaderStyle BackColor="#7E0000" />
    <Columns>
    <asp:TemplateField HeaderText="Date of Follow Up">
        <ItemTemplate>
            <asp:Label ID="Label1" runat="server" Text='<%#Bind("FollowDate","{0:dd-MMM-yyyy}") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
    <asp:TemplateField HeaderText="Option Type">
        <ItemTemplate>
            <asp:Label ID="Label1" runat="server" Text='<%#Bind("Type") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Exp. Collection Date">
        <ItemTemplate>
            <asp:Label ID="Label1" runat="server" Text='<%#Bind("Exp_Coll_Date","{0:d}") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Expected delivery date">
        <ItemTemplate>
            <asp:Label ID="Label1" runat="server" Text='<%#Bind("Exp_del_Date","{0:d}") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField  HeaderText="Expected Inst / Hand Over date" >
        <ItemTemplate>
         <asp:Label ID="Label2" runat="server" Text='<%#Bind("Exp_Ins_Date","{0:d}") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Actual delivery date">
        <ItemTemplate>
         <asp:Label ID="Label3" runat="server" Text='<%#Bind("ACt_Del_Date","{0:d}") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Actual Inst / Hand Over date">
        <ItemTemplate>
         <asp:Label ID="Label4" runat="server" Text='<%#Bind("ACt_Ins_Date","{0:d}") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Problem Found">
        <ItemTemplate>
         <asp:Label ID="Label5" runat="server" Text='<%#Bind("Problem_Found") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
           <asp:TemplateField HeaderText="Proposed Action">
        <ItemTemplate>
         <asp:Label ID="Label6" runat="server" Text='<%#Bind("Proposed_Action") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
           <asp:TemplateField HeaderText="Spoken to (customer name)">
        <ItemTemplate>
         <asp:Label ID="Label17" runat="server" Text='<%#Bind("SPOKEN_TO") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
           <asp:TemplateField HeaderText="Spoken to (Phone No)">
        <ItemTemplate>
         <asp:Label ID="Label27" runat="server" Text='<%#Bind("Spoken_Phone") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
           <asp:TemplateField HeaderText="Outcome of Follow Up (Unique Code)">
        <ItemTemplate>
         <asp:Label ID="Label37" runat="server" Text='<%#Bind("outcome") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
           <asp:TemplateField HeaderText="Non-Collectable Details">
        <ItemTemplate>
         <asp:Label ID="Label47" runat="server" Text='<%#Bind("NonColl") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
         <asp:TemplateField HeaderText="Remarks">
        <ItemTemplate>
         <asp:Label ID="Label47" runat="server" Text='<%#Bind("Remarks") %>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
        </Columns>
    </asp:GridView>
</div>
<br />
<asp:ImageButton ID="btncancel2" ImageUrl="~/images/close.png" Text="Client History" runat="server"  Width="100" Height="30" />
<br />
<br />
</asp:Panel>


<asp:Button ID="btnShowPopup2" runat="server" style="display:none" />
<asp:ModalPopupExtender ID="ModalPopupExtender3" runat="server" TargetControlID="btnShowPopup2" PopupControlID="Pnlpopup2"

CancelControlID="btncancel3" BackgroundCssClass="modalBackground">
</asp:ModalPopupExtender>


<asp:Panel ID="Pnlpopup2" runat="server" BackColor="White" style="width:85%; margin-left:5px;  border:Solid 3px #D55500; display:none; " >
<br />
<div style="text-align:center; color:Green; font-size:large;"><b>ORDER DETAILS FORM</b></div>
<br />
   <table style="width:85%; margin-left:200px;">
      <tr><td></td><td></td><td></td></tr>
    <tr><td style="text-align:left; width:200px;">Order Details  as on</td><td style="width:200px; text-align:left;  height:28px;">
        <asp:TextBox ID="txt_OrderDate" runat="server" Enabled="false" CssClass="textbox" ></asp:TextBox>
    </td><td style="width:150px;">Name of Mentor</td><td><asp:TextBox ID="txt_MentoreOrder" runat="server" Enabled="false" CssClass="textbox" ></asp:TextBox></td></tr>

    <tr><td></td><td></td><td></td></tr>
    </table>
  <div style=" width:95%; height:200px; overflow:scroll;">
<asp:GridView ID="GridView3" runat="server" CellPadding="4"

           AutoGenerateColumns="False" BackColor="White" BorderColor="#CC9966"

           BorderStyle="None" BorderWidth="1px" Height="20px" ShowHeaderWhenEmpty="true"

        Width="100%" style="margin-top: 16px">
           <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
           <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
           <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
           <RowStyle BackColor="White" ForeColor="#330099" />
           <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
           <SortedAscendingCellStyle BackColor="#FEFCEB" />
           <SortedAscendingHeaderStyle BackColor="#AF0101" />
           <SortedDescendingCellStyle BackColor="#F6F0C0" />
           <SortedDescendingHeaderStyle BackColor="#7E0000" />
           <Columns>
           <asp:TemplateField HeaderText="Sl.No." ControlStyle-Width="50px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <%#Container.DataItemIndex+1 %>
           </ItemTemplate>
           </asp:TemplateField>
           <asp:TemplateField HeaderText="Location" ControlStyle-Width="50px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label28" runat="server" Text='<%#Bind("Location") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Order No" ControlStyle-Width="50px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label27" runat="server" Text='<%#Bind("OrderNum") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Order line" ControlStyle-Width="50px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="LabelOli" runat="server" Text='<%#Bind("Orderline") %>'></asp:Label>
           </ItemTemplate><ControlStyle Width="100px" />
           </asp:TemplateField>
           <asp:TemplateField HeaderText="LineDesc" ControlStyle-Width="50px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="LabelLineDesc" runat="server" Text='<%#Bind("LineDesc") %>'></asp:Label>
           </ItemTemplate><ControlStyle Width="120px" />
           </asp:TemplateField>
          <asp:TemplateField HeaderText="Cust Code" ControlStyle-Width="60px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label24" runat="server" Text='<%#Bind("CustCode") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Customer's Name" ControlStyle-Width="100px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label23" runat="server" Text='<%#Bind("CustNamee") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>

             <asp:TemplateField HeaderText="Delivery Location" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label22" runat="server" Text='<%#Bind("Location") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Order Value ( XO1 Value after discount and taxes)" ControlStyle-Width="160px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label21" runat="server" Text='<%#Bind("OrderValue") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
           <%--  <asp:TemplateField HeaderText="SO1 / XO1 No ( For MLD Order)" ControlStyle-Width="100px">
           <ItemTemplate>
               <asp:Label ID="Label20" runat="server" Text="Label"></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>      --%>
            <%-- <asp:TemplateField HeaderText="XO2 NO" ControlStyle-Width="100px">
           <ItemTemplate>
               <asp:Label ID="Label19" runat="server" Text="Label"></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>--%>
             <asp:TemplateField HeaderText="Bill No" ControlStyle-Width="60px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label18" runat="server" Text='<%#Bind("BillNo") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Bill Date" ControlStyle-Width="60px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label17" runat="server" Text='<%#Bind("BillDate") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Bill Amount" ControlStyle-Width="80px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label16" runat="server" Text='<%#Bind("BillAmount") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
            <asp:TemplateField HeaderText="Balance  OS Due" ControlStyle-Width="80px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label15" runat="server" Text='<%#Bind("Balance") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Bill Type (Stand Alone/System/AMC/Training/ITC)" ItemStyle-HorizontalAlign="Center"  ControlStyle-Width="180px" >
           <ItemTemplate>
               <asp:Label ID="Label14" runat="server" Text='<%#Bind("BillType") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Inst. Required(Yes/ No)" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label13" runat="server" Text='<%#Bind("InstReq") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Status of Site for Installation (Yes/No)" ItemStyle-HorizontalAlign="Center"  ControlStyle-Width="160px" >
           <ItemTemplate>
               <asp:Label ID="Label12" runat="server" Text='<%#Bind("SIteStatusInst") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Expected date of Delivery" ControlStyle-Width="150px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="txt_Expdofdel" runat="server" Width="100px" Text='<%#Bind("ExpDelDate") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Expected date of  Installation" ControlStyle-Width="150px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
                  <asp:Label ID="txt_ExpdInst" runat="server" Width="100px" Text='<%#Bind("ExpInsDate") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Actual Delivery Date" ControlStyle-Width="120px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label11" runat="server" Text='<%#Bind("ActDelDate") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Actual Installation Date" ControlStyle-Width="150px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="lbl_ActInstDate" runat="server" Text='<%#Bind("ActInstDate") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
           <%--  <asp:TemplateField HeaderText="MLD file sent Date" ControlStyle-Width="120px">
           <ItemTemplate>
               <asp:Label ID="Label91" runat="server" Text="Label"></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>--%>
             <asp:TemplateField HeaderText="Agreed Credit Days (From Delivery Date)" ControlStyle-Width="160px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label81" runat="server" Text='<%#Bind("CreditDays") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Agreed Credit Days (From Hand Over Date)" ControlStyle-Width="170px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label71" runat="server" Text="Label"></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Original Due Date as per payment terms" ControlStyle-Width="150px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label61" runat="server" Text="Label"></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
            <asp:TemplateField HeaderText="Age of O/s from Delivery Date / File sent Date (No. of Days)" ControlStyle-Width="200px">
           <ItemTemplate>
               <asp:Label ID="Label51" runat="server" Text='<%#Bind("AgeOS") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
            <asp:TemplateField HeaderText="No. of Days delayed (post due date)" ControlStyle-Width="160px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label41" runat="server" Text='<%#Bind("NoOFDaysDelayed") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
             <asp:TemplateField HeaderText="Expected Date of Collection" ControlStyle-Width="150px" ItemStyle-HorizontalAlign="Center" >
           <ItemTemplate>
               <asp:Label ID="Label31" runat="server"  Text='<%#Bind("ExpCollDate") %>'></asp:Label>
           </ItemTemplate>
           </asp:TemplateField>
           </Columns>
       </asp:GridView>

       <asp:Label ID="Label7" runat="server"/>
       </div>
       <br />
       <asp:ImageButton ID="btncancel3" ImageUrl="~/images/close.png" Text="Client History" runat="server"  Width="100" Height="30" />
       <br />
      </asp:Panel>

       <asp:Button ID="btnshowpopup3" runat="server" style="display:none" />
<asp:ModalPopupExtender ID="ModalPopupExtender4" runat="server" TargetControlID="btnshowpopup3" PopupControlID="Pnlpop3"

CancelControlID="btncancel4" BackgroundCssClass="modalBackground">
</asp:ModalPopupExtender>
<asp:Panel ID="Pnlpop3" runat="server" BackColor="White" style="width:70%;  margin-top:42%; border:Solid 3px #D55500; margin-left:5px; display:block;">
<br />
<div style="text-align:center; color:Green;">Today's Update</div>
<br />
<div style="text-align:center; font-size:medium; margin-top:30px; height:50px;">
    Select Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     <asp:DropDownList ID="DropDownList1" runat="server" CssClass="dropdown" >
     <asp:ListItem Selected="True"></asp:ListItem>
      <asp:ListItem>Status Quo</asp:ListItem>
     <asp:ListItem>Modify Del / Inst Status</asp:ListItem>
     <asp:ListItem>Reconciliation</asp:ListItem>
      <asp:ListItem>Payment Follow Up Call</asp:ListItem>
     </asp:DropDownList>
 </div>

 <table id="tb1" class="tabletoday" cellpadding="2" cellspacing="10" border="0">
 <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
 <tr>
 <td style="width:300px; font-size:small;">
      Expected Collection Date as per Earlier Confirmation</td>
      <td style="width:50px;"></td>
      <td style="width:265px">
         <asp:TextBox ID="txt_ExpdateStatu" runat="server" onkeypress="return false" onpaste="return false;" ></asp:TextBox>

          <asp:CalendarExtender ID="TextBox13_CalendarExtender" runat="server"  Format="dd-MM-yyyy"

              Enabled="True" TargetControlID="txt_ExpdateStatu">
          </asp:CalendarExtender>

          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"

              Display="None" ErrorMessage="Please select Date"

              ControlToValidate="txt_ExpdateStatu" SetFocusOnError="True"></asp:RequiredFieldValidator>
          <asp:ValidatorCalloutExtender ID="RequiredFieldValidator1_ValidatorCalloutExtender"

              runat="server" Enabled="True" TargetControlID="RequiredFieldValidator1">
          </asp:ValidatorCalloutExtender>

     </td></tr>
     <tr style="height:10px;"><td></td><td></td><td></td><td></td></tr>

   <tr><td style="width:300px;  font-size:small;">Remarks</td><td style="width:50px;"></td><td style="width:265px">
       <asp:TextBox ID="txt_RemarksStatus" runat="server" CssClass="textarea"></asp:TextBox>
       &nbsp;</td></tr>
     <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td style="width:300px; text-align:left;">
        <asp:ImageButton ID="ImageButton2" ImageUrl="~/images/save.png"



            Text="Client History" runat="server"  Width="100" Height="30"  CausesValidation="true" OnClientClick = "Confirm()"

            onclick="ImageButton2_Click" />
   <asp:ImageButton ID="ImageButton3"

            ImageUrl="~/images/EXIT WITHOUT SAVE.png" Text="Client History" runat="server"  CausesValidation="false"

            Height="30px" onclick="ImageButton3_Click" /></td></tr>
 </table>

  <table class="tabletoday"  id="Tb2" border="0" cellspacing="10">
   <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
   <tr style="margin-left:50px;"><td style="width:300px; font-size:small;">
     Spoken to (BA)</td><td style="width:50px;"></td><td style="width:180px">
         <asp:DropDownList ID="DropDownList2" runat="server" CssClass="dropdown">
        <%-- <asp:ListItem>Zulquar-E00019</asp:ListItem>--%>
         </asp:DropDownList>
     </td>
       </tr>
    <tr><td></td><td></td><td></td></tr>
   <tr>
   <td style="width:300px; font-size:small;">Expected delivery date not Updated</td>
   <td style="width:50px;"></td>
   <td style="width:180px;">   <asp:TextBox ID="txtdatecal1" runat="server" CssClass="textbox" Enabled="false" ></asp:TextBox>   </td>
    <td style="width:185px">
           <asp:RadioButton ID="RadioButton1" runat="server" Text="Reconfirm" GroupName="A" CssClass="radiobutton" Checked="true" Width="90px" /><asp:RadioButton ID="RadioButton2" runat="server" Text="Modify" GroupName="A" CssClass="radiobutton" Width="85px" /></td><td style="display:none; width:110px;" id="tddel">
                   <asp:TextBox ID="txtdatnupdt" runat="server" Width="95px"></asp:TextBox><asp:Image ID="imgnotupdt" runat="server" ImageUrl="~/images/images.jpg" Width="10px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender4" runat="server" Format="dd-MMM-yy" TargetControlID="txtdatnupdt" PopupButtonID="imgnotupdt" >
        </asp:CalendarExtender>
    </td>
        </tr>
       <tr><td style="width:300px; font-size:small;">Expected Inst / Hand Over date not Updated</td><td style="width:50px;"></td><td style="width:180px;">
           <asp:TextBox ID="TextBox1" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox></td><td style="width:185px">
               <asp:RadioButton ID="RadioButton3" runat="server" Text="Reconfirm" GroupName="B" CssClass="radiobutton" Checked="true" Width="90px" /><asp:RadioButton ID="RadioButton4" runat="server" Text="Modify" GroupName="B" CssClass="radiobutton" Width="85px" />
           </td><td style="display:none;" id="tddelinst">
               <asp:TextBox ID="txtexptd" runat="server" Width="95px"></asp:TextBox><asp:Image ID="imagedat1" runat="server" ImageUrl="~/images/images.jpg" Width="15px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender12" runat="server" Format="dd-MMM-yy" TargetControlID="txtexptd" PopupButtonID="imagedat1" >
        </asp:CalendarExtender>        </td></tr>
         <tr><td style="font-size:small;">Actual delivery date not Updated</td><td></td><td><asp:TextBox ID="TextBox2" runat="server" Enabled="false" CssClass="textbox"></asp:TextBox></td><td style="width:185px"><asp:RadioButton ID="RadioButton5" runat="server" Text="Reconfirm" GroupName="C" CssClass="radiobutton" Checked="true" Width="90px" /><asp:RadioButton ID="RadioButton6" runat="server" Text="Modify" GroupName="C" CssClass="radiobutton" Width="85px" /></td><td style="display:none;" id="tdactd"><asp:TextBox ID="txtexpint" runat="server" Width="95px"></asp:TextBox><asp:Image ID="imgint" runat="server" ImageUrl="~/images/images.jpg" Width="15px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender2" runat="server" Format="dd-MMM-yy" TargetControlID="txtexpint" PopupButtonID="imgint" >
        </asp:CalendarExtender>      </td></tr>
           <tr><td style="font-size:small;">Actual Inst / Hand Over date not Updated</td><td></td><td><asp:TextBox ID="TextBox3" runat="server" Enabled="false" CssClass="textbox"></asp:TextBox></td><td style="width:185px"><asp:RadioButton ID="RadioButton7" runat="server" Text="Reconfirm" GroupName="D" CssClass="radiobutton" Checked="true" Width="90px" /><asp:RadioButton ID="RadioButton8" runat="server" Text="Modify" GroupName="D" CssClass="radiobutton"  Width="85px" /></td><td style="display:none;" id="tdactinst"><asp:TextBox ID="txtactual" runat="server" Width="95px"></asp:TextBox><asp:Image ID="imgactual" runat="server" ImageUrl="~/images/images.jpg" Width="15px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender3" runat="server" Format="dd-MMM-yy" TargetControlID="txtactual" PopupButtonID="imgactual" >
        </asp:CalendarExtender>     </td></tr>
        <tr><td style="font-size:small;">Remarks / any other action required at BA Level</td><td></td><td>
            <asp:TextBox ID="txt_remark1" runat="server" CssClass="textbox"  TextMode="MultiLine"></asp:TextBox></td><td></td><td></td></tr>
        <tr><td></td><td></td><td></td></tr>
        <tr><td style="font-size:small;">Expected Date of Coll.</td><td></td><td style="width:180px;"><asp:TextBox ID="txt_date2" runat="server" CssClass="textbox" Enabled="false" ></asp:TextBox>
            </td><td style="width:185px"><asp:RadioButton ID="RadioButton9" runat="server" Text="Reconfirm" GroupName="E" CssClass="radiobutton" Checked="true" Width="90px" /><asp:RadioButton ID="RadioButton10" runat="server" Text="Modify" GroupName="E" CssClass="radiobutton" Width="85px" /></td><td style="display:none;" id="tdexptd">
                   <asp:TextBox ID="txtexpt_date" runat="server" Width="95px"></asp:TextBox><asp:Image ID="imag_cal" runat="server" ImageUrl="~/images/images.jpg" Width="15px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender13" runat="server" Format="dd-MMM-yy" TargetControlID="txtexpt_date" PopupButtonID="imag_cal" >
        </asp:CalendarExtender>  </td></tr>

  <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
 </table>

 <table class="tabletoday" id="tb3" border="0" cellspacing="10">
  <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
<tr style="margin-left:50px;"><td style="width:300px; font-size:small;">
    Spoken to (BA)</td><td style="width:50px;"></td><td style="width:180px">
        <asp:DropDownList ID="DropDownList3" runat="server" CssClass="dropdown">
       <%-- <asp:ListItem>E00019-Zulquar</asp:ListItem>--%>
        </asp:DropDownList>
    </td>
       </tr>
     <tr><td></td><td></td></tr>
  <tr><td style="width:300px; font-size:small;">Problem Found</td><td style="width:50px;"></td><td>
      <asp:DropDownList ID="ddloutcome3" runat="server" CssClass="dropdown">
          <asp:ListItem>Select</asp:ListItem>
          <asp:ListItem>Payment Collected but not Updated by BA</asp:ListItem>
           <asp:ListItem>GR Collected but not Updated by BA</asp:ListItem>
           <asp:ListItem>Difference in OS(Customer Vs. our Records)</asp:ListItem>
           <asp:ListItem>Billing Problem(give details in Remark)</asp:ListItem>
           <asp:ListItem>Others</asp:ListItem>
      </asp:DropDownList>
  </td></tr>
    <tr><td></td><td></td><td></td></tr>
   <tr><td style="width:300px; font-size:small;"">Proposed Action</td><td style="width:50px;"></td><td style="width:180px;">
       <asp:TextBox ID="txtdate4" runat="server" CssClass="textbox"></asp:TextBox>
       </td></tr>
     <tr><td></td><td></td><td></td></tr>
        <tr><td style="font-size:small;">Remarks / any other action required at BA Level</td><td></td><td>
            <asp:TextBox ID="TextBox18" runat="server" CssClass="textbox" ></asp:TextBox></td></tr>
        <tr><td></td><td></td><td></td></tr>
        <tr><td style="font-size:small;">Expected Date of Coll.</td><td></td><td style="width:180px;"><asp:TextBox ID="txtdate6" runat="server" Enabled="false" CssClass="textbox"></asp:TextBox></td><td style="width:180px"><asp:RadioButton ID="RadioButton11" runat="server" Text="Reconfirm" GroupName="f" CssClass="radiobutton" Checked="true" Width="90px" /><asp:RadioButton ID="RadioButton12" runat="server" Text="Modify" GroupName="f" CssClass="radiobutton" Width="85px" /></td><td style="display:none; width:150px;" id="tdrexp">
                   <asp:TextBox ID="txtrexp" runat="server" Width="95px"></asp:TextBox><asp:Image ID="imgrexp" runat="server" ImageUrl="~/images/images.jpg" Width="15px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender5" runat="server" Format="dd-MMM-yy" TargetControlID="txtrexp" PopupButtonID="imgrexp" >
        </asp:CalendarExtender>  </td></tr>
        <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
 </table>
 <table class="tabletoday" id="tb4" border="0" cellspacing="10">
 <tr style="height:10px;"><td></td><td></td><td></td><td></td><td></td><td></td></tr>
  <tr style="height:15px;"><td></td><td></td><td style="text-align:left;"><asp:RadioButton ID="RadioButton13" Checked="true" runat="server" Text="Tele Call"  /> <asp:RadioButton ID="RadioButton14" runat="server" Text="Field Visit" Checked="false" /></td><td style="text-align:left;">
      &nbsp;</td></tr>
   <tr style="height:15px;"><td></td><td>
       </td><td></td><td></td></tr>
 <tr style="margin-left:50px;"><td style="width:300px; font-size:small;">
    Spoken to (customer name)</td><td style="width:50px;"></td><td style="width:180px">
         <asp:TextBox ID="txtspoken5" runat="server" CssClass="textbox" ></asp:TextBox></td><td style="width:90px;">
     </td></tr>
     <tr><td style="width:300px; font-size:small;">Spoken to (Phone No)</td><td style="width:50px;"></td><td>
       <asp:TextBox ID="txtphno" runat="server" CssClass="textbox" MaxLength="14" Onkeyup=" extractNumber(this,0, false);" onkeypress="blockNonNumbers(this, event, false, false, 10000);" onblur="extractNumber(this,0, false);"></asp:TextBox>

       </td><td>
         </td></tr>
           <tr><td></td><td></td><td></td><td></td></tr>
  <tr><td style="width:300px; font-size:small;">Outcome</td><td style="width:50px;"></td><td>
      <asp:DropDownList ID="ddloutcome5" runat="server" CssClass="dropdown">
          <asp:ListItem>Select</asp:ListItem>
          <asp:ListItem>Confirmed </asp:ListItem>
          <asp:ListItem>Collected</asp:ListItem>
          <asp:ListItem>Cheq Ready</asp:ListItem>
          <asp:ListItem>Deffered to next date</asp:ListItem>
          <asp:ListItem>GR to be taken</asp:ListItem>
          <asp:ListItem>GR Taken</asp:ListItem>
          <asp:ListItem>PDC Collected</asp:ListItem>
          <asp:ListItem>Non Collectable</asp:ListItem>
          <asp:ListItem>Others</asp:ListItem>
      </asp:DropDownList>
  </td><td style="width:400px; display:none;" id="td2">
     <table id="tblexpdtd"><tr><td><asp:TextBox ID="txtdatete" runat="server" Width="119px"  ></asp:TextBox></td><td style="width:110px; height:20px;"><asp:TextBox ID="imgtxtdatetelp" onkeypress="return false" onpaste="return false" runat="server" Width="95px"></asp:TextBox><asp:Image ID="Image12" runat="server" ImageUrl="~/images/images.jpg" Width="10px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender1" runat="server" Format="dd-MMM-yy" TargetControlID="imgtxtdatetelp" PopupButtonID="imgtxtdatetelp" >
        </asp:CalendarExtender></td><td> <asp:TextBox ID="txt1"  runat="server" Width="119px"></asp:TextBox>
             <asp:FilteredTextBoxExtender ID="txt1_FilteredTextBoxExtender" runat="server" FilterType="Numbers, Custom"

    ValidChars="." Enabled="True" TargetControlID="txt1">
             </asp:FilteredTextBoxExtender>
         </td></tr></table>
      </td><td style="display:none;" id="tdremark">
            <asp:TextBox ID="txtchkreason" runat="server"></asp:TextBox></td><td style="display:none; width:300px; font-size:small;" id="tdass">Select Employee to Collection Task Assinged to</td><td style="display:none; width:70px;" id="tdchk">
                <asp:DropDownList ID="DropDownList4" runat="server" CssClass="dropdown">
                <asp:ListItem>Zulquar-E00019</asp:ListItem>
                </asp:DropDownList>
            </td><td style="display:none;" id="tdnoncoll">
                <asp:DropDownList ID="DropDownList5" runat="server" CssClass="dropdown">
                <asp:ListItem>Legal</asp:ListItem>
                <asp:ListItem>CN to be issued</asp:ListItem>
                <asp:ListItem> To debit to SE</asp:ListItem>
                <asp:ListItem>Debited to SE</asp:ListItem>
                <asp:ListItem>Disputed</asp:ListItem>
                <asp:ListItem>TDS</asp:ListItem>
                <asp:ListItem>Others</asp:ListItem>
                </asp:DropDownList>
            </td></tr>
      <tr><td></td><td></td><td></td><td></td></tr>
        <tr><td style="font-size:small;">Remarks</td><td></td><td>
            <asp:TextBox ID="txtremarkp" runat="server" CssClass="textbox" ></asp:TextBox></td><td></td></tr>
        <tr><td></td><td></td><td></td><td></td></tr>
        <tr><td style="font-size:small;" id="tdexpdat">Expected Date of Coll.</td><td></td><td style="width:180px;" id="trexpdate"><asp:TextBox ID="txtdate7" runat="server" Enabled="false" CssClass="textbox" ></asp:TextBox>
             </td><td style="width:400px"><table id="tbreconf"><tr><td style="width:190px;"><asp:RadioButton ID="RadioButton15" runat="server" Text="Reconfirm" GroupName="g" CssClass="radiobutton" Checked="true" Width="90px" /><asp:RadioButton ID="RadioButton16" runat="server" Text="Modify" GroupName="g" CssClass="radiobutton" Width="85px" /></td><td style="display:none; width:150px;" id="td1">
                   <asp:TextBox ID="txtteldate" runat="server" Width="95px"></asp:TextBox><asp:Image ID="imgtdate" runat="server" ImageUrl="~/images/images.jpg" Width="15px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender6" runat="server" Format="dd-MMM-yy" TargetControlID="txtteldate" PopupButtonID="imgtdate" >
        </asp:CalendarExtender>  </td></tr></table></td></tr>
      <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
 </table>

 <table class="tabletoday" id="tb5" border="0">
 <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
 <tr><td style="width:300px; font-size:small;">
    Spoken to (customer name)ww</td><td style="width:180px">
         <asp:TextBox ID="txtspoken7" runat="server" CssClass="textbox" ></asp:TextBox></td><td style="width:90px;">
     </td>
       </tr>
     <tr><td style="width:300px; font-size:small;">Spoken to (Phone No)</td><td style="width:180px;"><asp:TextBox ID="txtph3" runat="server" CssClass="textbox" ></asp:TextBox></td><td>
       </td></tr>
           <tr><td></td><td></td><td></td></tr>
  <tr><td style="width:300px; font-size:small;">Outcome</td><td style="width:180px;"><asp:DropDownList ID="ddloutcome8" runat="server" CssClass="dropdown">
      <asp:ListItem>Select</asp:ListItem>
          <asp:ListItem>Collected</asp:ListItem>
          <asp:ListItem>Cheq Ready</asp:ListItem>
            <asp:ListItem>Deffered to next date</asp:ListItem>
              <asp:ListItem>GR to be taken</asp:ListItem>
                <asp:ListItem>GR Taken</asp:ListItem>
                <asp:ListItem>Others</asp:ListItem>
                <asp:ListItem>Non Collectable</asp:ListItem>
      </asp:DropDownList></td><td style="width:400px; display:none;" id="tdgr1">
     <table><tr><td><asp:TextBox ID="txt_chkno" runat="server" Width="119px"></asp:TextBox></td><td style="width:110px; height:20px;"><asp:TextBox ID="txtchkdate" runat="server" Width="90px"></asp:TextBox><asp:Image ID="imgtxtchkdate" runat="server" ImageUrl="~/images/images.jpg" Width="10px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender10" runat="server" Format="dd-MMM-yy" TargetControlID="txtchkdate" PopupButtonID="imgtxtchkdate" >
        </asp:CalendarExtender></td><td> <asp:TextBox ID="txtchkamount" runat="server" Width="119px"></asp:TextBox></td></tr></table>
      </td></tr>
      <tr><td></td><td></td><td></td></tr>
        <tr><td style="font-size:small;">Other Remarks</td><td style="width:180px;"><asp:TextBox ID="txtremark9" runat="server" CssClass="textbox" ></asp:TextBox></td><td>
            </td></tr>
        <tr><td></td><td></td><td></td></tr>
        <tr><td id="tedc" style="font-size:small;">Expected Date of Coll.</td><td style="width:180px;" id="tedc1"><asp:TextBox ID="txtexpd" runat="server" CssClass="textbox" ></asp:TextBox><asp:Image ID="imgtxtexpd" runat="server" ImageUrl="~/images/images.jpg" Width="15px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender16" runat="server" Format="dd-MMM-yy" TargetControlID="txtexpd" PopupButtonID="imgtxtexpd" >
        </asp:CalendarExtender>    </td></tr>
      <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
 </table>
  <table class="tabletoday" id="tb6" border="0">
  <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
 <tr><td style="width:30%; font-size:small;">
    Spoken to (customer name)aa</td>  <td style="width:20%;"></td>
    <td style="width:30%">
         <asp:TextBox ID="TextBox54" runat="server" CssClass="textbox"></asp:TextBox></td><td style="width:20%;">
     </td>
       </tr>
     <tr><td style="width:30%; font-size:small;">Spoken to (Phone No)</td>  <td style="width:20%;"></td><td style="width:30%;"><asp:TextBox ID="TextBox55" runat="server" CssClass="textbox" ></asp:TextBox></td><td style="width:20%;">
       </td></tr>
           <tr><td></td><td></td><td></td></tr>
  <tr><td style="width:30%; font-size:small;">Outcome</td> <td style="width:20%;"></td><td style="width:30%;"> <asp:DropDownList ID="DropDownList6" runat="server" CssClass="dropdown">
         <asp:ListItem>Select</asp:ListItem>
        <asp:ListItem>Collected</asp:ListItem>
          <asp:ListItem>Cheq Ready</asp:ListItem>
            <asp:ListItem>Deffered to next date</asp:ListItem>
              <asp:ListItem>GR to be taken</asp:ListItem>
                <asp:ListItem>GR Taken</asp:ListItem>
                <asp:ListItem>Others</asp:ListItem>
                <asp:ListItem>Non Collectable</asp:ListItem>
      </asp:DropDownList></td>
      <td style="width:20%; display:none;" id="tdgr4">
    <table width="100%"><tr>
    <td style="width:30%"><asp:TextBox ID="txtchkno1" runat="server" Width="50px"></asp:TextBox></td>
    <td style="width:35%; height:20px;"><asp:TextBox ID="txt_date1" runat="server" Width="90px"></asp:TextBox><asp:Image ID="img8" runat="server" ImageUrl="~/images/images.jpg" Width="10px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender8" runat="server" Format="dd-MMM-yy" TargetControlID="txt_date1" PopupButtonID="img8" >
        </asp:CalendarExtender></td>
        <td style="width:35%"> <asp:TextBox ID="txtchkamount1" runat="server" Width="119px"></asp:TextBox></td>
        </tr></table>
      </td></tr>
      <tr><td></td><td></td><td></td></tr>
        <tr><td style="width:30%; font-size:small;">Other Remarks</td><td style="width:20%;"></td><td style="width:30%;"><asp:TextBox ID="TextBox56" runat="server" CssClass="textbox" ></asp:TextBox></td><td>
            </td></tr>
        <tr><td></td><td></td><td></td></tr>
        <tr id="tr2"><td id="tdexp" style="width:300px; font-size:small;">Expected Date of Coll.</td><td style="width:50px;"></td><td style="width:180px;" id="tdexp1"><asp:TextBox ID="TextBox57" runat="server" CssClass="textbox" ></asp:TextBox><asp:Image ID="Image11" runat="server" ImageUrl="~/images/images.jpg" Width="15px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender11" runat="server" Format="dd-MMM-yy" TargetControlID="TextBox57" PopupButtonID="Image11" >
        </asp:CalendarExtender>      </td></tr>

       <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
 </table>
 <table id="tb7" border="0" class="tabletoday">
  <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
 <tr><td></td><td></td><td></td></tr>
 <tr style="margin-left:50px;"><td style="width:250px; font-size:small;">
 Outcome of Follow-Up</td><td style="width:50px;"></td><td style="width:180px">
         <asp:TextBox ID="TextBox58" runat="server" CssClass="textbox" ></asp:TextBox></td></tr>
     <tr><td style="width:250px; font-size:small;">Other Remarks </td><td style="width:50px;"></td><td>
       <asp:TextBox ID="TextBox59" runat="server" CssClass="textbox" ></asp:TextBox>
       </td></tr>

        <tr><td></td><td></td><td></td></tr>
        <tr><td style="font-size:small;">Expected Date of Coll./ GR</td><td></td><td style="width:180px;"><asp:TextBox ID="txtdate9" runat="server" CssClass="textbox" ></asp:TextBox><asp:Image ID="Image9" runat="server" ImageUrl="~/images/images.jpg" Width="15px" ImageAlign="Baseline" />
        <asp:CalendarExtender ID="CalendarExtender9" runat="server" Format="dd-MMM-yy" TargetControlID="txtdate9" PopupButtonID="Image9" >
        </asp:CalendarExtender>  </td></tr>
    <tr style="height:15px;"><td></td><td></td><td></td><td></td></tr>
 </table>
 <br />
 <table id="tbfinal" style="margin-left:450px;"><tr><td>
     <asp:ImageButton ID="ImageButton1" ImageUrl="~/images/save.png"  CausesValidation="false"

         Text="Client History" runat="server"  Width="100" Height="30"

         onclick="ImageButton1_Click" /></td><td style="width:10px;"></td><td>
     <asp:ImageButton ID="btncancel4" ImageUrl="~/images/EXIT WITHOUT SAVE.png" CausesValidation="false"

         Text="Client History" runat="server" Height="30"

         onclick="btncancel4_Click" /></td></tr></table>
 <br />
</asp:Panel>

</asp:Content>

推荐答案

(document).ready(function () {
(document).ready(function () {


('#tb1').css('display', 'none');
('#tb1').css('display', 'none');


('#Tb2').css('display', 'none');
('#Tb2').css('display', 'none');


这篇关于我面临的问题是modalpopup没有在单击上显示。双击后显示。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆