Hi,
here is my code . Calender Ajax Control is not working in Croma ..
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="purchase.aspx.cs" Inherits="purchase" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
TagPrefix="asp" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Product Details Page</title>
<style type="text/css">
.newStyle1
{
text-align: center;
}
.newStyle2
{
text-align: center;
}
.style3
{
width: 100px;
}
.style4
{
height: 26px;
width: 100px;
}
.style5
{
height: 11px;
width: 100px;
}
.style9
{
width: 160px;
}
.style13
{
height: 19px;
}
.style18
{
z-index: 109;
left: 14px;
position: absolute;
top: 174px;
width: 1119px;
height: 272px;
}
.style19
{
width: 100px;
height: 38px;
}
.style20
{
height: 38px;
}
.style24
{
height: 22px;
}
.style33
{
height: 36px;
}
.style35
{
height: 43px;
}
.style39
{
height: 23px;
}
.style46
{
width: 97px;
}
.style47
{
height: 26px;
width: 169px;
}
.style48
{
height: 30px;
}
.style49
{
width: 136px;
height: 39px;
position: absolute;
left: 644px;
top: 2px;
}
.style50
{
width: 231px;
}
.style51
{
height: 20px;
}
.style52
{
height: 20px;
width: 145px;
}
.style53
{
width: 145px;
}
.style55
{
height: 182px;
margin-left: 40px;
}
.style56
{
width: 144px;
}
.style57
{
width: 147px;
}
#form1
{
top: 15px;
left: 10px;
position: absolute;
width: 1311px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:HiddenField ID="HiddenField1" runat="server" />
<hr style="left: 14px; width: 1150px; position: absolute; top: 110px; height: 1px; z-index: 106;" />
<div style="width: 1311px">
<strong> <span style="font-size: 16pt"></span></strong>
<asp:Label ID="Label2" runat="server" Font-Names="Tahoma" Font-Size="X-Small" Style="z-index: 102;
left: 984px; position: absolute; top: 47px; right: 242px;" Text="Welcome"
Width="64px" Font-Bold="True"></asp:Label>
<asp:Label ID="Label3" runat="server" Font-Names="Tahoma" Font-Size="X-Small" Style="z-index: 103;
left: 1054px; position: absolute; top: 47px" Width="128px"
Font-Bold="True"></asp:Label>
<span style="font-size: 16pt">
<br />
<br />
</span>
<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="Large"
Style="z-index: 104; left: 516px; position: absolute; top: 53px"
Text=" Purchase Details "></asp:Label>
<br />
<asp:HyperLink ID="HyperLink1" runat="server" Font-Names="Tahoma" Font-Size="X-Small"
NavigateUrl="~/Login.aspx" Style="z-index: 108; left: 1052px; position: absolute;
top: 81px" Font-Bold="True">Logout</asp:HyperLink>
<br />
<asp:Image ID="Image2" runat="server" ImageUrl="~/Orb Logo.jpg" Style="z-index: 107;
left: 72px; position: absolute; top: 16px; height: 82px;" Width="80px" />
</div>
<asp:Button ID="Button4" runat="server" OnClick="Button4_Click" Text="Back"
style="left: 82px; position: absolute; top: 128px; z-index: 100;"
Font-Names="Tahoma" Width="80px" BackColor="#C0C0FF" BorderStyle="Outset"
Font-Size="X-Small" Height="23px" />
<strong><span style="font-size: 16pt"> </span></strong>
<table class="style18">
<tr>
<td class="style19">
<asp:Label ID="Label5" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Franchisee" Width="186px" Height="22px"></asp:Label></td>
<td colspan="3" class="style20">
<asp:DropDownList ID="ddl_franchisee" runat="server" Width="444px">
</asp:DropDownList>
</td>
<td colspan="1" class="style49" >
<asp:Label ID="Label6" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Load Generation " Width="131px" Height="22px"></asp:Label></td>
<td >
<asp:DropDownList ID="ddl_loadgen" runat="server" Width="370px"
style="top: 11px; left: 783px; position: absolute; height: 22px">
<asp:ListItem Value="Cold Calls">Select</asp:ListItem>
<asp:ListItem>Cold Calls</asp:ListItem>
<asp:ListItem>Customer Reference</asp:ListItem>
<asp:ListItem>Demo</asp:ListItem>
<asp:ListItem>Exhibition</asp:ListItem>
<asp:ListItem>Friends Reference</asp:ListItem>
<asp:ListItem>News paper Ads</asp:ListItem>
<asp:ListItem>Other Ads</asp:ListItem>
<asp:ListItem>Outlet Reference</asp:ListItem>
<asp:ListItem>Spares and Service</asp:ListItem>
<asp:ListItem>Staff Reference</asp:ListItem>
<asp:ListItem>Walk-in</asp:ListItem>
<asp:ListItem>Website</asp:ListItem>
</asp:DropDownList></td>
<td >
</td>
</tr>
<tr>
<td >
<asp:Label ID="Label7" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="System Category" Width="186px" Height="22px"></asp:Label></td>
<td colspan="3" class="style24">
<asp:DropDownList ID="ddl_catagory" runat="server" Width="445px"
AppendDataBoundItems="True" AutoPostBack="True">
<asp:ListItem></asp:ListItem>
<asp:ListItem Value="Plug and Play">Distribution</asp:ListItem>
<asp:ListItem>Solectric DC</asp:ListItem>
<asp:ListItem>Solectric AC</asp:ListItem>
<asp:ListItem>Sunstream G</asp:ListItem>
<asp:ListItem>Sunstream C</asp:ListItem>
<asp:ListItem>Solectric Projects</asp:ListItem>
<asp:ListItem>Sunstream Projects</asp:ListItem>
<asp:ListItem>Solite Projects</asp:ListItem>
<asp:ListItem>Spares</asp:ListItem>
<asp:ListItem>Service</asp:ListItem>
</asp:DropDownList></td>
<td >
<asp:Label ID="Label9" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Support By" Height="22px" Width="133px"></asp:Label></td>
<td >
<asp:DropDownList ID="ddl_supportby" runat="server" Width="370px"
DataSourceID="SqlDataSource3" DataTextField="EmpName"
DataValueField="EmpName" style="position: relative">
</asp:DropDownList>
</td>
<td >
</td>
</tr>
<tr>
<td >
<asp:Label ID="Label8" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Order Number / Order Date" Width="188px"></asp:Label></td>
<td class="style48" >
<asp:TextBox ID="txt_ordernumber" runat="server" Width="255px"></asp:TextBox>
</td>
<td >
<asp:TextBox runat="server" ID="txt_date" />
<ajaxtoolkit:calendarextender runat="server" ID="calExtender1" Enabled="true"
TargetControlID="txt_date" Format="dd-MM-yyyy" PopupButtonID="ImageButton1" />
</td>
<td >
<asp:ImageButton ID="ImageButton1" runat="server" Height="21px" ImageUrl="~/Image/Calendar_scheduleHS.png"
Width="29px" onclick="ImageButton1_Click" />
</td>
<td >
<asp:Label ID="Label10" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Order Booked By" Width="130px" Height="22px"></asp:Label></td>
<td >
<asp:DropDownList ID="ddl_orderbook" runat="server" Width="370px"
style="top: 78px; left: 784px; position: absolute; height: 22px"
AutoPostBack="True" DataSourceID="SqlDataSource2" DataTextField="EmpName"
DataValueField="EmpID">
</asp:DropDownList>
<br />
<asp:DropDownList ID="ddl_branchlog" runat="server" Height="16px" Width="370px" style="top: 76px; left: 784px; position: absolute"
DataSourceID="SqlDataSource2" DataTextField="EmpName"
DataValueField="EmpID" AutoPostBack="True"
>
</asp:DropDownList>
</td>
<td >
</td>
</tr>
<tr>
<td >
<asp:Label ID="Label11" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Customer Name" Width="186px" Height="22px"></asp:Label></td>
<td colspan="3" class="style20">
<asp:TextBox ID="txt_custname" runat="server" Width="438px" Font-Names="Tahoma"
Font-Size="X-Small"></asp:TextBox></td>
<td >
<asp:Label ID="Label15" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Outlet Reference" Width="132px" Height="22px"></asp:Label></td>
<td >
<asp:DropDownList ID="ddl_outletreference" runat="server" Width="370px"
Height="19px" DataSourceID="SqlDataSource6" DataTextField="OutletName"
DataValueField="OutletID"
style="top: 121px; left: 786px; position: absolute">
</asp:DropDownList>
<br />
<asp:DropDownList ID="ddl_outletnoflter" runat="server"
DataSourceID="SqlDataSource26" DataTextField="OutletName"
DataValueField="OutletID" Height="16px" Visible="False" Width="370px"
style="top: 121px; left: 786px; position: absolute">
</asp:DropDownList>
</td>
<td >
</td>
</tr>
<tr>
<td >
<asp:Label ID="Label12" runat="server" BackColor="#E0E0E0" Font-Bold="True" Text="Customer Address"
Width="187px" Height="22px" Font-Names="Tahoma" Font-Size="X-Small"></asp:Label></td>
<td colspan="3" class="style33">
<asp:TextBox ID="txt_custaddress" runat="server" Font-Bold="False"
Width="438px" Font-Names="Tahoma" Font-Size="X-Small"></asp:TextBox></td>
<td style="text-align: right;" colspan="2">
</td>
<td style="text-align: right;">
</td>
</tr>
<tr>
<td >
<asp:Label ID="Label13" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Pin Code" Height="22px" Width="187px"></asp:Label></td>
<td colspan="3" class="style35">
<asp:TextBox ID="txt_pincode" runat="server" Width="438px" Height="19px"></asp:TextBox>
<ajaxtoolkit:filteredtextboxextender ID="FilteredTextBoxExtender1"
runat="server" TargetControlID="txt_pincode" ValidChars="0123456789">
</ajaxtoolkit:filteredtextboxextender>
</td>
<td >
<asp:Label ID="Label16" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Special Remarks" Width="130px" Height="16px"></asp:Label></td>
<td >
<asp:TextBox ID="txt_sremarks" runat="server"
Width="370px" style="top: 208px; left: 783px; position: absolute; height: 22px; right: 257px;"
Font-Names="Tahoma" Font-Size="X-Small"></asp:TextBox></td>
<td >
</td>
</tr>
<tr>
<td >
<asp:Label ID="Label14" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Contact Number" Width="189px" Height="22px"></asp:Label></td>
<td colspan="3" class="style39">
<asp:TextBox ID="txt_Cnumber" runat="server" Width="438px" Font-Names="Tahoma"
Font-Size="X-Small"></asp:TextBox>
<ajaxtoolkit:filteredtextboxextender ID="FilteredTextBoxExtender2"
runat="server" TargetControlID="txt_Cnumber" ValidChars="0123456789">
</ajaxtoolkit:filteredtextboxextender>
</td>
<td >
<asp:Label ID="Label17" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="TDS Sunstream" Height="22px" Width="134px"></asp:Label></td>
<td >
<asp:TextBox ID="txt_tds" runat="server" AutoPostBack="True"
Width="370px"
style="top: 246px; left: 783px; position: absolute; height: 22px"
Font-Names="Tahoma" Font-Size="X-Small"></asp:TextBox></td>
<td >
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="txt_tds" ErrorMessage="Enter the TDS Amount"
Display="None" Width="250px" ValidationGroup="Group1"></asp:RequiredFieldValidator>
<ajaxtoolkit:validatorcalloutextender ID="ValidatorCalloutExtender3"
runat="server" TargetControlID="RequiredFieldValidator3"
PopupPosition="TopRight">
</ajaxtoolkit:validatorcalloutextender>
</td>
</tr>
</table>
<table style="z-index: 110; left: 387px; position: absolute; top: 128px; height: 48px; width: 325px;">
<tr>
<td class="style46">
<asp:Label ID="Label4" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Branch" Width="100px"></asp:Label></td>
<td style="vertical-align: sub; text-align: center;" class="style47">
<asp:DropDownList ID="ddl_loc" runat="server" DataSourceID="SqlDataSource27"
DataTextField="Location" DataValueField="Location" Height="16px"
Width="180px"
style="top: 12px; left: 107px; position: absolute; right: 38px;">
</asp:DropDownList>
<asp:DropDownList ID="ddl_branch" runat="server"
DataSourceID="SqlDataSource5" DataTextField="LocationName"
DataValueField="LocationID" AutoPostBack="True"
onselectedindexchanged="ddl_branch_SelectedIndexChanged"
style="top: 12px; left: 108px; position: absolute; width: 216px;"
Visible="False">
</asp:DropDownList>
<asp:TextBox ID="txt_branch" runat="server" BackColor="#E0E0E0"
style="top: 15px; position: absolute; left: 111px; width: 207px;"></asp:TextBox>
</td>
</tr>
</table>
<table style="z-index: 111; left: 7px; position: absolute; top: 718px; width: 429px; height: 134px; bottom: 104px;">
<tr>
<td class="style50" >
<asp:Label ID="Label19" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="CASH / BANK case" Width="227px"
style="z-index: 100; left: 3px; position: absolute; top: 2px"
Height="22px"></asp:Label></td>
<td colspan="3" style="height: 13px">
<asp:DropDownList ID="ddl_cb" runat="server" Width="186px" Height="18px">
<asp:ListItem>Cash</asp:ListItem>
<asp:ListItem>Bank</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td class="style50" >
<asp:Label ID="Label20" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="If bank case, update bank" Width="227px"
Height="22px"></asp:Label></td>
<td colspan="3" style="height: 21px">
<asp:DropDownList ID="dd_bank" runat="server" Width="186px"
DataSourceID="SqlDataSource24" DataTextField="BankName"
DataValueField="BankName">
</asp:DropDownList></td>
</tr>
<tr>
<td class="style50" >
<asp:Label ID="Label21" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Update branch name of bank" Width="227px"
Height="22px"></asp:Label></td>
<td colspan="3" class="style13">
<asp:TextBox ID="txt_bank" runat="server" Width="188px"></asp:TextBox></td>
</tr>
<tr>
<td class="style51" >
<asp:Label ID="Label22" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Date of Installation" Width="227px"
Height="22px"></asp:Label></td>
<td class="style52" >
<asp:TextBox ID="txt_dateofinstl" runat="server" Width="146px" ReadOnly="True"></asp:TextBox>
<ajaxtoolkit:calendarextender
ID="CalendarExtender1" runat="server"
TargetControlID="txt_dateofinstl" Format="dd-MM-yyyy"
PopupButtonID="ImageButton4" PopupPosition="TopLeft">
</ajaxtoolkit:calendarextender>
</td>
<td class="style51" >
<asp:ImageButton ID="ImageButton4" runat="server" Height="21px" Width="29px"
ImageUrl="~/Image/Calendar_scheduleHS.png" />
</td>
</tr>
<tr>
<td class="style50">
<asp:Label ID="Label23" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Date of final payment credit to HO"
Width="227px"></asp:Label></td>
<td class="style53" >
<asp:TextBox ID="txt_finalpaydate" runat="server"
Width="146px" ReadOnly="True"></asp:TextBox>
<ajaxtoolkit:calendarextender ID="CalendarExtender2" runat="server"
PopupButtonID="ImageButton5"
TargetControlID="txt_finalpaydate" Format="dd-MM-yyyy"
PopupPosition="TopLeft">
</ajaxtoolkit:calendarextender>
</td>
<td >
<asp:ImageButton ID="ImageButton5" runat="server" Height="21px"
ImageUrl="~/Image/Calendar_scheduleHS.png" Width="29px" />
</td>
</tr>
</table>
<asp:Label ID="Label18" runat="server" BackColor="PaleGoldenrod" Font-Bold="True"
Font-Names="Tahoma" Font-Size="X-Small" Style="z-index: 101; left: 5px;
position: absolute; top: 692px; text-align: center; width: 434px; height: 11px;"
Text="Payment terms, installation and full payment commitment dates"></asp:Label>
<table style="z-index: 112; left: 444px; width: 239px; position: absolute; top: 693px;
height: 195px">
<tr>
<td class="style55" >
<asp:Button ID="btn_pocal" runat="server" BackColor="#0066FF" BorderStyle="Outset"
Font-Bold="True" Font-Names="Tahoma" Font-Size="X-Small" Style="z-index: 100;
left: 14px; position: absolute; top: 17px; width: 208px; height: 157px; right: 17px;"
Text="Calculate PO" onclick="btn_pocal_Click" ValidationGroup="Group1" />
<asp:Button ID="btn_save" runat="server" BackColor="#FF0066" Font-Bold="True"
Font-Names="Tahoma" Font-Size="X-Small" onclick="btn_save_Click"
Text="Save "
style="top: 4px; left: 3px; position: absolute; height: 172px; width: 222px;"
Visible="False" />
</td>
</tr>
</table>
<table style="z-index: 113; left: 684px; position: absolute; top: 693px; width: 475px;">
<tr>
<td style="width: 72px">
<asp:Label ID="Label24" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Total Discount" Width="220px"
style="text-align: right; top: 3px; left: 3px; position: absolute;"
Height="22px"></asp:Label></td>
<td class="style3">
<asp:TextBox ID="txt_discount" runat="server" Font-Names="Tahoma"
Font-Size="X-Small" Width="256px"></asp:TextBox></td>
<td class="style3">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
Display="None" ErrorMessage="Please Enter the Discount amount"
Width="250px" ControlToValidate="txt_discount" Font-Names="Tahoma"
Font-Size="X-Small" ValidationGroup="Group1"></asp:RequiredFieldValidator>
<ajaxtoolkit:validatorcalloutextender
ID="ValidatorCalloutExtender1" runat="server"
TargetControlID="RequiredFieldValidator1"
PopupPosition="TopRight">
</ajaxtoolkit:validatorcalloutextender>
</td>
</tr>
<tr>
<td style="width: 72px; height: 26px;">
<asp:Label ID="Label25" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Tax" Width="218px"
style="text-align: right; top: 30px; left: 3px; position: absolute;"
Height="22px"></asp:Label></td>
<td class="style4">
<asp:TextBox ID="txt_tax" runat="server" Font-Names="Tahoma" Font-Size="X-Small"
Width="256px"></asp:TextBox></td>
<td class="style4">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
Display="None" ErrorMessage="Please Enter The Tax Amount " Font-Names="Tahoma"
Font-Size="X-Small" Width="250px" ControlToValidate="txt_tax"
ValidationGroup="Group1"></asp:RequiredFieldValidator>
<ajaxtoolkit:validatorcalloutextender ID="ValidatorCalloutExtender2"
runat="server" TargetControlID="RequiredFieldValidator2"
PopupPosition="TopRight">
</ajaxtoolkit:validatorcalloutextender>
</td>
</tr>
<tr>
<td style="width: 72px">
<asp:Label ID="Label26" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Capital Subsidy"
style="text-align: right; top: 57px; left: 3px; position: absolute;"
Width="219px" Height="22px"></asp:Label></td>
<td class="style3">
<asp:TextBox ID="txt_capacityss" runat="server" Font-Names="Tahoma"
Font-Size="X-Small" Width="256px"></asp:TextBox></td>
<td class="style3">
</td>
</tr>
<tr>
<td style="width: 72px">
<asp:Label ID="Label27" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Total Invoice Value" Width="218px"
style="text-align: right; top: 83px; left: 3px; position: absolute;"
Height="22px"></asp:Label></td>
<td class="style3">
<asp:TextBox ID="txt_invoicevalue" runat="server" BackColor="#E0E0E0" Font-Names="Tahoma"
Font-Size="Small" ReadOnly="True" Width="256px"></asp:TextBox></td>
<td class="style3">
</td>
</tr>
<tr>
<td style="width: 72px">
<asp:Label ID="Label28" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Balance Amount" Width="218px"
style="text-align: right" Height="22px"></asp:Label></td>
<td class="style3">
<asp:TextBox ID="txt_balamount" runat="server" BackColor="#E0E0E0" Font-Names="Tahoma"
Font-Size="Small" ReadOnly="True" Width="256px"></asp:TextBox></td>
<td class="style3">
</td>
</tr>
<tr>
<td colspan="2" style="height: 21px">
<asp:Label ID="Label29" runat="server" BackColor="PaleGoldenrod" Font-Bold="True"
Font-Names="Tahoma" Font-Size="X-Small" Style="vertical-align: middle; text-align: center"
Text="Advance AMC (if any)" Width="483px"></asp:Label></td>
<td style="height: 21px">
</td>
</tr>
<tr>
<td style="width: 72px; height: 11px;">
<asp:Label ID="Label30" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Style="text-align: right" Text="AMC for no. of years"
Width="219px" Height="22px"></asp:Label></td>
<td class="style5">
<asp:DropDownList ID="DropDownList3" runat="server" Width="256px">
<asp:ListItem Value="0">Select</asp:ListItem>
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
</asp:DropDownList></td>
<td class="style5">
</td>
</tr>
</table>
<table style="z-index: 114; left: 2px; position: absolute; top: 895px; height: 175px; width: 669px;">
<tr>
<td style=" height: 21px">
<asp:Label ID="Label32" runat="server" BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma"
Font-Size="X-Small" Text="Payment Mod" Width="210px" Height="22px"></asp:Label></td>
<td style=" height: 21px">
<asp:DropDownList ID="ddl_paymentmod" runat="server" AutoPostBack="True" Width="155px">
<asp:ListItem Value="0">Select</asp:ListItem>
<asp:ListItem>Cash</asp:ListItem>
<asp:ListItem Value="ChqDD">Cheque/DD</asp:ListItem>
</asp:DropDownList></td>
<td style=" height: 21px; ">
<asp:Label ID="Label38" runat="server" Text="Amount" Width="103px"
BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma" Font-Size="X-Small"
Height="22px"></asp:Label></td>
<td colspan="3" style="height: 21px">
<asp:TextBox ID="txt_amount" runat="server" Width="208px"></asp:TextBox>
<ajaxtoolkit:filteredtextboxextender ID="FilteredTextBoxExtender3"
runat="server" TargetControlID="txt_amount" ValidChars="0123456789.">
</ajaxtoolkit:filteredtextboxextender>
</td>
</tr>
<tr>
<td >
<asp:Label ID="Label33" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="X-Small"
Text="Receipt No" BackColor="#E0E0E0" Width="210px" Height="22px"></asp:Label></td>
<td >
<asp:TextBox ID="txt_recpno" runat="server" Width="153px"></asp:TextBox></td>
<td >
<asp:Label ID="Label39" runat="server" Text="Receipt Date" Width="105px"
BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma" Font-Size="X-Small"
Height="22px"></asp:Label></td>
<td class="style57" >
<asp:TextBox ID="txt_receiptdate" runat="server" Width="144px" ReadOnly="True"></asp:TextBox>
<ajaxtoolkit:calendarextender ID="CalendarExtender3" runat="server"
PopupButtonID="ImageButton2"
TargetControlID="txt_receiptdate" Format="dd-MM-yyyy"
PopupPosition="TopLeft">
</ajaxtoolkit:calendarextender>
</td>
<td >
<asp:ImageButton ID="ImageButton2" runat="server" Height="21px" ImageUrl="~/Image/Calendar_scheduleHS.png"
Width="29px"
style="top: 32px; left: 644px; position: absolute; margin-right: 0px;" />
</td>
</tr>
<tr>
<td style="width: 39px">
<asp:Label ID="Label34" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="X-Small"
Text="Cheque/DD No" BackColor="#E0E0E0" Width="210px" Height="22px"></asp:Label></td>
<td style="width: 78px">
<asp:TextBox ID="txt_ddno" runat="server" Width="151px"></asp:TextBox></td>
<td style="width: 110px">
<asp:Label ID="Label40" runat="server" Text="Chq./DD Date" Width="107px"
BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma" Font-Size="X-Small"
Height="22px"></asp:Label></td>
<td colspan="2" class="style56">
<asp:TextBox ID="txt_dddate" runat="server" Width="144px" ReadOnly="True"></asp:TextBox>
<ajaxtoolkit:calendarextender ID="CalendarExtender4" runat="server"
PopupButtonID="ImageButton3"
TargetControlID="txt_dddate" Format="dd-MM-yyyy"
PopupPosition="TopLeft">
</ajaxtoolkit:calendarextender>
</td>
<td style="width: 53px" >
<asp:ImageButton ID="ImageButton3" runat="server" Height="21px" ImageUrl="~/Image/Calendar_scheduleHS.png"
Width="29px"
style="margin-left: 0px; top: 60px; left: 646px; position: absolute;" />
</td>
</tr>
<tr>
<td style="width: 39px">
<asp:Label ID="Label35" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="X-Small"
Text="Deposit Bank Name" BackColor="#E0E0E0" Width="211px" Height="22px"></asp:Label></td>
<td style="width: 78px">
<asp:DropDownList ID="ddl_bankname" runat="server" Width="155px"
DataSourceID="SqlDataSource25" DataTextField="BankName"
DataValueField="BankName">
</asp:DropDownList></td>
<td style="width: 110px">
<asp:Label ID="Label41" runat="server" Text="Date of Deposit" Width="107px"
BackColor="#E0E0E0" Font-Bold="True" Font-Names="Tahoma" Font-Size="X-Small"
Height="22px"></asp:Label></td>
<td class="style57">
<asp:TextBox ID="TextBox1" runat="server" Font-Names="Tahoma"
Font-Size="X-Small" Width="144px" ReadOnly="True"></asp:TextBox>
<ajaxtoolkit:calendarextender ID="CalendarExtender5" Format="dd-MM-yyyy"
runat="server" TargetControlID="TextBox1"
PopupButtonID="ImageButton6">
</ajaxtoolkit:calendarextender>
</td>
<td colspan="2" >
<asp:ImageButton ID="ImageButton6" runat="server" Height="21px"
ImageUrl="~/Image/Calendar_scheduleHS.png"
style="top: 89px; left: 647px; position: absolute" Width="29px" />
</td>
</tr>
<tr>
<td style="width: 39px; height: 26px;">
<asp:Label ID="Label36" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="X-Small"
Text="Deposit Bank Branch" BackColor="#E0E0E0" Width="211px" Height="22px"></asp:Label></td>
<td colspan="5" style="height: 26px">
<asp:TextBox ID="txt_bankbranch" runat="server" Width="475px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 39px">
<asp:Label ID="Label37" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="X-Small"
Text="Deposit Reference" BackColor="#E0E0E0" Width="211px" Height="22px"></asp:Label></td>
<td colspan="5">
<asp:TextBox ID="txt_depositreference" runat="server" Width="474px"></asp:TextBox></td>
</tr>
</table>
<asp:Label ID="Label31" runat="server" BackColor="PaleGoldenrod" Font-Bold="True"
Font-Names="Tahoma" Font-Size="X-Small" Style="z-index: 102; left: 4px; position: absolute;
top: 866px; text-align: center; height: 4px; width: 432px;"
Text="Advance Payment Details"></asp:Label>
<asp:Panel ID="Panel1" runat="server" Height="176px" Style="z-index: 104; left: 6px;
position: absolute; top: 480px; width: 1196px;">
<table style="width: 1168px">
<tr>
<td style="text-align: center;" class="style9" >
<asp:Label ID="Label43" runat="server" Text="Code" Width="238px"
BackColor="Silver" BorderColor="Transparent" Font-Bold="True"
Font-Names="Tahoma" Font-Size="X-Small" ForeColor="#0000C0" Height="16px"></asp:Label></td>
<td style="width: 205px; text-align: center;" >
<asp:Label ID="Label44" runat="server" Text="Product Name" Width="416px"
BackColor="Silver" BorderColor="Transparent" Font-Bold="True"
Font-Names="Tahoma" Font-Size="X-Small" ForeColor="#0000C0"></asp:Label></td>
<td style="width: 154px; text-align: center" >
<asp:Label ID="Label45" runat="server" Text="Quantity" Width="178px"
BackColor="Silver" BorderColor="Transparent" Font-Bold="True"
Font-Names="Tahoma" Font-Size="X-Small" ForeColor="#0000C0"></asp:Label></td>
<td style="width: 121px; text-align: center" >
<asp:Label ID="Label46" runat="server" Text="Unit Price" Width="155px"
BackColor="Silver" BorderColor="Transparent" Font-Bold="True"
Font-Names="Tahoma" Font-Size="X-Small" ForeColor="#0000C0"></asp:Label></td>
<td style="width: 105px; text-align: center" >
<asp:Label ID="Label47" runat="server" Text="Value" Width="141px"
BackColor="Silver" BorderColor="Transparent" Font-Bold="True"
Font-Names="Tahoma" Font-Size="X-Small" ForeColor="#0000C0"></asp:Label></td>
</tr>
<tr>
<td style="text-align: center;" class="style9" >
<asp:DropDownList ID="ddl_prdcode1" runat="server" Width="238px"
DataSourceID="SqlDataSource12" DataTextField="ProductCode"
DataValueField="ProductCode">
</asp:DropDownList></td>
<td style="width: 205px; text-align: center;" >
<asp:DropDownList ID="ddl_prdname1" runat="server" Font-Names="Tahoma"
Font-Size="X-Small" Width="416px" DataSourceID="SqlDataSource1"
DataTextField="ProductName" DataValueField="ProductCode"
AutoPostBack="True" onselectedindexchanged="ddl_prdname1_SelectedIndexChanged">
</asp:DropDownList></td>
<td style="width: 154px; text-align: center;" >
<asp:TextBox ID="txt_qua1" runat="server" Width="178px"></asp:TextBox></td>
<td style="width: 121px; text-align: center;" >
<asp:DropDownList ID="ddl_unitprice1" runat="server" Width="155px"
AutoPostBack="True" BackColor="#E0E0E0" DataSourceID="SqlDataSource18"
DataTextField="ProductBasePrice" DataValueField="ProductBasePrice">
</asp:DropDownList></td>
<td style="width: 105px; text-align: center;" >
<asp:DropDownList ID="ddl_cat1" runat="server" DataSourceID="SqlDataSource29"
DataTextField="ProductCatagory" DataValueField="ProductCode"
Font-Names="Tahoma" Font-Size="X-Small"
style="top: 23px; left: 1035px; position: absolute; width: 87px"
Visible="False">
</asp:DropDownList>
<asp:TextBox ID="txt_value1" runat="server" Width="141px" BackColor="#E0E0E0"></asp:TextBox></td>
</tr>
<tr>
<td style="text-align: center;" class="style9" >
<asp:DropDownList ID="ddl_prdcode2" runat="server" Width="238px"
DataSourceID="SqlDataSource13" DataTextField="ProductCode"
DataValueField="ProductCode">
</asp:DropDownList></td>
<td style="width: 205px; text-align: center;" >
<asp:DropDownList ID="ddl_prdname2" runat="server" Font-Names="Tahoma" Font-Size="X-Small"
Height="20px" Width="416px" DataSourceID="SqlDataSource7"
DataTextField="ProductName" DataValueField="ProductCode"
AutoPostBack="True" onselectedindexchanged="ddl_prdname2_SelectedIndexChanged">
</asp:DropDownList></td>
<td style="width: 154px; text-align: center;" >
<asp:TextBox ID="txt_qua2" runat="server" Width="178px"></asp:TextBox></td>
<td style="width: 121px; text-align: center;" >
<asp:DropDownList ID="ddl_unitprice2" runat="server" Width="155px"
BackColor="#E0E0E0" DataSourceID="SqlDataSource19"
DataTextField="ProductBasePrice" DataValueField="ProductBasePrice">
</asp:DropDownList></td>
<td style="width: 105px; text-align: center;" >
<asp:DropDownList ID="ddl_cat2" runat="server" DataSourceID="SqlDataSource30"
DataTextField="ProductCatagory" DataValueField="ProductCode"
Font-Bold="False" Font-Names="Tahoma" Font-Size="X-Small"
style="top: 49px; left: 1035px; position: absolute; height: 22px; width: 87px"
Visible="False">
</asp:DropDownList>
<asp:TextBox ID="txt_value2" runat="server" Width="141px" BackColor="#E0E0E0"></asp:TextBox></td>
</tr>
<tr>
<td style="text-align: center;" class="style9" >
<asp:DropDownList ID="ddl_prdcode3" runat="server" Width="238px"
DataSourceID="SqlDataSource14" DataTextField="ProductCode"
DataValueField="ProductCode">
</asp:DropDownList></td>
<td style="width: 205px; text-align: center;" >
<asp:DropDownList ID="ddl_prdname3" runat="server" Font-Names="Tahoma" Font-Size="X-Small"
Height="20px" Width="416px" DataSourceID="SqlDataSource8"
DataTextField="ProductName" DataValueField="ProductCode"
AutoPostBack="True" onselectedindexchanged="ddl_prdname3_SelectedIndexChanged">
</asp:DropDownList></td>
<td style="width: 154px; text-align: center;" >
<asp:TextBox ID="txt_qua3" runat="server" Width="178px"></asp:TextBox></td>
<td style="width: 121px; text-align: center;" >
<asp:DropDownList ID="ddl_unitprice3" runat="server" Width="155px"
AppendDataBoundItems="True" BackColor="#E0E0E0" DataSourceID="SqlDataSource20"
DataTextField="ProductBasePrice" DataValueField="ProductBasePrice">
</asp:DropDownList></td>
<td style="width: 105px; text-align: center;">
<asp:TextBox ID="txt_value3" runat="server" Width="140px" BackColor="#E0E0E0"></asp:TextBox>
<asp:DropDownList ID="ddl_cat3" runat="server" DataSourceID="SqlDataSource31"
DataTextField="ProductCatagory" DataValueField="ProductCode"
Font-Names="Tahoma" Font-Size="X-Small"
style="top: 72px; left: 1035px; position: absolute; height: 22px; width: 87px"
Visible="False">
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="text-align: center;" class="style9" >
<asp:DropDownList ID="ddl_prdcode4" runat="server" Width="238px"
DataSourceID="SqlDataSource15" DataTextField="ProductCode"
DataValueField="ProductCode">
</asp:DropDownList></td>
<td style="width: 205px; text-align: center;" >
<asp:DropDownList ID="ddl_prdname4" runat="server" Font-Names="Tahoma" Font-Size="X-Small"
Height="20px" Width="416px" DataSourceID="SqlDataSource9"
DataTextField="ProductName" DataValueField="ProductCode"
AutoPostBack="True" onselectedindexchanged="ddl_prdname4_SelectedIndexChanged">
</asp:DropDownList></td>
<td style="width: 154px; text-align: center;" >
<asp:TextBox ID="txt_qua4" runat="server" Width="178px"></asp:TextBox></td>
<td style="width: 121px; text-align: center;" >
<asp:DropDownList ID="ddl_unitprice4" runat="server" Width="155px"
AppendDataBoundItems="True" BackColor="#E0E0E0" DataSourceID="SqlDataSource21"
DataTextField="ProductBasePrice" DataValueField="ProductBasePrice">
</asp:DropDownList></td>
<td style="width: 105px; text-align: center;" >
<asp:TextBox ID="txt_value4" runat="server" Width="141px" BackColor="#E0E0E0"></asp:TextBox>
<asp:DropDownList ID="ddl_cat4" runat="server" DataSourceID="SqlDataSource32"
DataTextField="ProductCatagory" DataValueField="ProductCode"
style="top: 98px; left: 1036px; position: absolute; height: 41px; width: -5px"
Visible="False">
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="text-align: center;" class="style9" >
<asp:DropDownList ID="ddl_prdcode5" runat="server" Width="238px"
DataSourceID="SqlDataSource16" DataTextField="ProductCode"
DataValueField="ProductCode">
</asp:DropDownList>
</td>
<td style="width: 205px; text-align: center;" >
<asp:DropDownList ID="ddl_prdname5" runat="server" Font-Names="Tahoma" Font-Size="X-Small"
Height="20px" Width="416px" DataSourceID="SqlDataSource10"
DataTextField="ProductName" DataValueField="ProductCode"
AutoPostBack="True" onselectedindexchanged="ddl_prdname5_SelectedIndexChanged">
</asp:DropDownList></td>
<td style="width: 154px; text-align: center;" >
<asp:TextBox ID="txt_qua5" runat="server" Width="178px"></asp:TextBox></td>
<td style="width: 121px; text-align: center;" >
<asp:DropDownList ID="ddl_unitprice5" runat="server" Width="155px"
AppendDataBoundItems="True" BackColor="#E0E0E0" DataSourceID="SqlDataSource22"
DataTextField="ProductBasePrice" DataValueField="ProductBasePrice">
</asp:DropDownList></td>
<td style="width: 105px; text-align: center;" >
<asp:DropDownList ID="ddl_cat5" runat="server" DataSourceID="SqlDataSource33"
DataTextField="ProductCatagory" DataValueField="ProductCode"
style="top: 127px; left: 1036px; position: absolute; height: 22px"
Visible="False">
</asp:DropDownList>
<asp:TextBox ID="txt_value5" runat="server" Width="141px" BackColor="#E0E0E0"></asp:TextBox></td>
</tr>
<tr>
<td style="text-align: center;" class="style9" >
<asp:DropDownList ID="ddl_prdcode6" runat="server" Width="238px"
DataSourceID="SqlDataSource17" DataTextField="ProductCode"
DataValueField="ProductCode">
</asp:DropDownList>
</td>
<td style="width: 205px; text-align: center;" >
<asp:DropDownList ID="ddl_prdname6" runat="server" Font-Names="Tahoma" Font-Size="X-Small"
Height="20px" Width="416px" DataSourceID="SqlDataSource11"
DataTextField="ProductName" DataValueField="ProductCode"
AutoPostBack="True" onselectedindexchanged="ddl_prdname6_SelectedIndexChanged">
</asp:DropDownList>
</td>
<td style="width: 154px; text-align: center;" >
<asp:TextBox ID="txt_qua6" runat="server" Width="178px"></asp:TextBox></td>
<td style="width: 121px; text-align: center;" >
<asp:DropDownList ID="ddl_unitprice6" runat="server" Width="155px"
AutoPostBack="True" BackColor="#E0E0E0" DataSourceID="SqlDataSource23"
DataTextField="ProductBasePrice" DataValueField="ProductBasePrice">
</asp:DropDownList></td>
<td style="width: 105px; text-align: center;" >
<asp:TextBox ID="txt_value6" runat="server" Width="141px" BackColor="#E0E0E0"></asp:TextBox>
<asp:DropDownList ID="ddl_cat6" runat="server" DataSourceID="SqlDataSource34"
DataTextField="ProductCatagory" DataValueField="ProductCode"
style="top: 153px; left: 1037px; position: absolute; height: 22px; width: 88px"
Visible="False">
</asp:DropDownList>
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel2" runat="server"
style="top: 1307px; left: 7px; position: absolute; height: 887px; width: 845px">
<asp:SqlDataSource ID="SqlDataSource16" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductCode] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname5" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT DISTINCT ProductName, ProductDiscounts, ProductCode FROM Product WHERE (ProductRemarks <> 'Nil') AND (ProductRemarks <> 'Dist') AND (ProductRemarks <> 'EXP') AND (ProductCatagory = @catagory OR ProductCatagory = 'Spares')
ORDER BY ProductDiscounts, ProductName">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_catagory" Name="catagory"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:DropDownList ID="ddl_locid" runat="server" DataSourceID="SqlDataSource28"
DataTextField="LocationCode" DataValueField="LocationCode" Height="22px"
Visible="False" Width="100px">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource28" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [LocationID] FROM [Location] WHERE ([LocationName] = @LocationName)">
<SelectParameters>
<asp:ControlParameter ControlID="txt_branch" Name="LocationName"
PropertyName="Text" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource26" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT OutletName, OutletID FROM Outlet WHERE (Location = @Location)">
<SelectParameters>
<asp:SessionParameter Name="Location" SessionField="Lsz_branch" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource11" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT DISTINCT ProductName, ProductDiscounts, ProductCode FROM Product WHERE (ProductRemarks <> 'Nil') AND (ProductRemarks <> 'Dist') AND (ProductRemarks <> 'EXP') AND (ProductCatagory = @catagory OR ProductCatagory = 'Spares')
ORDER BY ProductDiscounts, ProductName">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_catagory" Name="catagory"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource8" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT DISTINCT ProductName, ProductDiscounts, ProductCode FROM Product WHERE (ProductRemarks <> 'Nil') AND (ProductRemarks <> 'Dist') AND (ProductRemarks <> 'EXP') AND (ProductCatagory = @catagory OR ProductCatagory = 'Spares')
ORDER BY ProductDiscounts, ProductName">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_catagory" Name="catagory"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource27" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT Location FROM CustOrder WHERE (PONO = @PONO) ORDER BY Location">
<SelectParameters>
<asp:ControlParameter ControlID="txt_branch" Name="PONO" PropertyName="Text" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource5" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT LocationID, LocationName FROM Location ORDER BY LocationName">
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT EmpName, EmpID FROM EmpDet WHERE (Location = @Location)">
<SelectParameters>
<asp:SessionParameter Name="Location" SessionField="Lsz_branch" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource20" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductBasePrice] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname3" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource9" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT DISTINCT ProductName, ProductDiscounts, ProductCode FROM Product WHERE (ProductRemarks <> 'Nil') AND (ProductRemarks <> 'Dist') AND (ProductRemarks <> 'EXP') AND (ProductCatagory = @catagory OR ProductCatagory = 'Spares')
ORDER BY ProductDiscounts, ProductName">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_catagory" Name="catagory"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource10" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT DISTINCT ProductName, ProductDiscounts, ProductCode FROM Product WHERE (ProductRemarks <> 'Nil') AND (ProductRemarks <> 'Dist') AND (ProductRemarks <> 'EXP') AND (ProductCatagory = @catagory OR ProductCatagory = 'Spares')
ORDER BY ProductDiscounts, ProductName">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_catagory" Name="catagory"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource13" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductCode] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname2" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource4" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT EmpName, EmpID FROM EmpDet WHERE (DateLeave < DateJoin) AND (Location = @location) OR (EmpID = '000002') ORDER BY EmpName">
<SelectParameters>
<asp:ControlParameter ControlID="txt_branch" Name="location"
PropertyName="Text" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource12" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductCode] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname1" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource18" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductBasePrice] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname1" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource22" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductBasePrice] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname5" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource23" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductBasePrice] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname6" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource21" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductBasePrice] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname4" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource25" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [BankName] FROM [DepositBank]">
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource15" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductCode] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname4" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource24" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [BankName] FROM [Bank]">
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource6" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT OutletName, OutletID FROM Outlet WHERE (Location = @Location)">
<SelectParameters>
<asp:SessionParameter Name="Location" SessionField="Lsz_branch" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource7" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT DISTINCT ProductName, ProductDiscounts, ProductCode FROM Product WHERE (ProductRemarks <> 'Nil') AND (ProductRemarks <> 'Dist') AND (ProductRemarks <> 'EXP') AND (ProductCatagory = @catagory OR ProductCatagory = 'Spares')
ORDER BY ProductDiscounts, ProductName">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_catagory" Name="catagory"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource17" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductCode] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname6" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource19" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductBasePrice] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname2" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource3" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT EmpName FROM EmpDet WHERE (DateLeave < DateJoin) AND ((Location = 'DIST-SOUTH') OR (Location = 'PROJECTS') OR (Location = 'SOLARGRAMA') or (Location = @location and (Designation = '0005' OR Designation = '0006'))) or EmpID = '000002'
ORDER BY EmpName">
<SelectParameters>
<asp:ControlParameter ControlID="txt_branch" Name="location"
PropertyName="Text" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource14" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [ProductCode] FROM [Product] WHERE ([ProductName] = @ProductName) and (([ProductRemarks] <> 'Dist') and ([ProductRemarks] <> 'EXP'))">
<SelectParameters>
<asp:SessionParameter Name="ProductName" SessionField="lsz_prdname3" />
</SelectParameters>
</asp:SqlDataSource>
</asp:Panel>
<asp:ToolkitScriptManager ID="toolkitScriptMaster" runat="server">
</asp:ToolkitScriptManager>
<asp:SqlDataSource ID="SqlDataSource29" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT ProductCatagory, ProductCode FROM Product WHERE (ProductName = @ProductName) AND (ProductRemarks <> 'Dist')">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_prdname1" Name="ProductName"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource30" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT ProductCatagory, ProductCode FROM Product WHERE (ProductName = @ProductName) AND (ProductRemarks <> 'Dist')">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_prdname2" Name="ProductName"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource31" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT ProductCatagory, ProductCode FROM Product WHERE (ProductName = @ProductName) AND (ProductRemarks <> 'Dist')">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_prdname3" Name="ProductName"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource32" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT ProductCatagory, ProductCode FROM Product WHERE (ProductName = @ProductName) AND (ProductRemarks <> 'Dist')">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_prdcode4" Name="ProductName"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource34" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT ProductCatagory, ProductCode FROM Product WHERE (ProductName = @ProductName) AND (ProductRemarks <> 'Dist')">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_prdname6" Name="ProductName"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource33" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT ProductCatagory, ProductCode FROM Product WHERE (ProductName = @ProductName) AND (ProductRemarks <> 'Dist')">
<SelectParameters>
<asp:ControlParameter ControlID="ddl_prdname5" Name="ProductName"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<hr style="left: 8px; width: 1162px; position: absolute; top: 666px; height: 1px; z-index: 108;" />
<hr style="left: 14px; width: 1156px; position: absolute; top: 456px; height: 1px; z-index: 108;" />
</form>
</body>
</html>
Can anybody help me out to solve this issue ..
Regards,
shashi