Вы находитесь на странице: 1из 35

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Recruitment1.Mast er" Inherits="System.Web.Mvc.ViewPage<PMSACCOUNT.RecruitmentDataModel.

RECClientM aster>" %> <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> Client Master </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> <link href="../../Scripts/Recruitment_JS/DataTables-1.9.4/media/css/demo_tab le.css" rel="stylesheet" type="text/css" /> <link href="../../Scripts/Recruitment_JS/DataTables-1.9.4/media/css/demo_pag e.css" rel="stylesheet" type="text/css" /> <link href="../../Content/Recruitment_css/TableStyle.css" rel="stylesheet" t ype="text/css" /> <link href="../../Content/Recruitment_css/Export_DataTable.css" rel="stylesh eet" type="text/css" /> <script src="../../Scripts/Recruitment_JS/DataTables-1.9.4/media/js/jquery.d ataTables.js" type="text/javascript"></script> <style type="text/css"> .addclient { background: url(/Content/Recruitment_Images/addnewcli.jpg) no-repeat ; cursor: pointer; } #overlay_form { position: absolute; border: 5px solid gray; padding: 10px; background: white; width: 60%; height: 70%; } #pop { display: block; border: 1px solid gray; width: 65px; text-align: center; padding: 6px; border-radius: 5px; text-decoration: none; margin: 0 auto; } .DiplayNone { display:none; } </style> <script type="text/javascript">

var oTable; var oTable1; var oTable2; function LoadRECClient() { oTable = $('#example').dataTable({ "sAjaxSource": "/Requirement/LoadClientDts", "bFilter": true, "sPaginationType": "full_numbers", "aoColumns": [ { "sName": "#", "sWidth": "3.5%", "bSearchable": true, "bSor table": true, sClass: "DiplayNone" }, { "sName": "ClientName", "sWidth": "12%", "bSearchable": tru e, "bSortable": true }, { "sName": "TelNo", "sWidth": "12%", "bSearchable": true, "b Sortable": true }, { "sName": "MobNo", "sWidth": "12%", "bSearchable": true, "b Sortable": true }, { "sName": "Email", "sWidth": "12%", "bSearchable": true, "b Sortable": true }, { "sName": "WebsiteURL", "bSearchable": true, "bSortable": t rue }, { "sName": "AltWebsiteURL", "bSearchable": true, "bSortable" : true, sClass: "alignCenter" }, { "sName": "Actions", "bSearchable": true, "bSortable": true , sClass: "alignCenter", "fnRender": function (oObj) { return "<a href=# class='EditClient' >Edit</a>"; } }, { "sName": "ClientID", "sWidth": "12%", "bSearchable": true , "bSortable": true, sClass: "alignCenter", "fnRender": function (oObj) { var empID = oObj.aData[0]; var cliname = oObj.aData[1]; // alert(empID); return "<a href=# > <img class='ClientID' id= " + empID + " name =" + cliname + " src='../../Content/Recruitment_Images/addres s_book_add.png' title='Add Address Details' /></a>"; } }, // { "sName": "ClientaddrID", "sWidth": "12%", "bSearchable" : true, "bSortable": true, sClass: "alignCenter", // "fnRender": function (oObj) { // var empID = oObj.aData[0]; // var cliname = oObj.aData[1]; // // alert(cliname); // return "<a href=# > <img class='ClientaddrID' id= " + empID + " name =" + cliname + " src='../../Content/Recruitment_Images/ad dClient.png' title='Add Contacts' /></a>"; // // ] }); } } },

$(document).ready(function () { LoadRECClient(); }); $(document).ready(function () { $("#UpdateClient").hide(); $("#CancelClient").hide(); $(".EditClient").live('click', function () { // alert("xcxcx"); var clientid = $(this).parents().children('td:eq(0)').text(); // alert(clientid); $.ajax({ url: '/Requirement/EditClientDetails/?clientid=' + clientid, type: 'POST', contentType: 'application/json; charset=utf-8', dataType: "json", async: false, success: function (res) { if (res == parseInt(-11)) { window.location.href = '/MyAccount/RecruitmentLoginP age/?Length=14'; } else { if (res.length > 0) { $("#tabs-1").show(); for (var i = 0; i < res.length; i++) { $("#StoreClientId").text(clientid); $("#ClientName").val(res[i].ClientName); $("#ClientName").attr("readonly", true); $("#TelNo").val(res[i].TelNo); $("#MobNo").val(res[i].MobNo); $("#Email").val(res[i].Email); $("#WebsiteURL").val(res[i].WebsiteURL); $("#AltWebsiteURL").val(res[i].AltWebsiteURL ); $("#Comments").val(res[i].Comments); $("#UpdateClient").show(); $("#CancelClient").show(); $("#SaveClientdts").hide(); } } else { alert("No Record Found!"); } } } }); }); }); $(document).ready(function () { $("#UpdateClient").click(function () { if ($("#TelNo").val() == "") { alert("Please enter Telephone Number"); return false; } else if ($("#MobNo").val() == "") { alert("Please enter Mobile Number"); return false; } else if ($("#Email").val() == "") { alert("Please enter Email"); return false; }

else if ($("#WebsiteURL").val() == "") { alert("Please enter Website URL"); return false; } var var var var ci te mo em = = = = $("#ClientName").val(); $("#TelNo").val(); $("#MobNo").val(); $("#Email").val();

var we = $("#WebsiteURL").val(); var awe = $("#AltWebsiteURL").val(); var com = $("#Comments").val(); var Clientid = $("#StoreClientId").text(); var param = "/?cliName=" + ci + "&telno=" + te + "&Mobno=" + mo + "&Email=" + em + "&WebsiteURL=" + we + "&AltWebsiteURL=" + awe + "&Comments=" + com + "&clientid=" + Clientid; // alert(param); $.ajax({ url: '/Requirement/UpdateClientDetails' + param, type: 'POST', contentType: 'application/json; charset=utf-8', dataType: "json", async: false, success: function (res) { if (res == parseInt(-11)) { window.location.href = '/MyAccount/RecruitmentLoginP age/?Length=14'; } else if (res == parseInt(1)) { alert("Updated Successfully!"); window.location.reload(); } else if (res == parseInt(2)) { alert("Update Error!"); } } }); }); }); // function LoadRECClientAddrdts() { // oTable1 = $('#example1').dataTable({ // "sAjaxSource": "/Requirement/LoadClientAddrDts", // "bFilter": true, // "sPaginationType": "full_numbers", // "aoColumns": [ // { "sName": "#", "sWidth": "5%", "bSearchable": tru e, "bSortable": true }, // { "sName": "ContactPerson", "sWidth": "12%", "bSea rchable": true, "bSortable": true }, // { "sName": "AddressType", "sWidth": "12%", "bSearc hable": true, "bSortable": true }, // { "sName": "Address", "sWidth": "12%", "bSearchabl e": true, "bSortable": true }, // { "sName": "TelNo", "sWidth": "12%", "bSearchable" : true, "bSortable": true }, //// { "sName": "Postcode", "sWidth": "15%", "bSearch able": true, "bSortable": true },

// { "sName": "MobileNo", "sWidth": "12%", "bSearchab le": true, "bSortable": true, sClass: "alignCenter" }, ] // }); // }

$(document).ready(function () { $(".ClientID").live('click', function () { $("#nextCliAddrdts").hide(); var cid = this.id; var cname = this.name; var param = "/?cid=" + cid; //alert(param); oTable1 = $('#example1').dataTable({ "sAjaxSource": "/Requirement/LoadClientAddrDtsforid" + param , "bFilter": true, "sPaginationType": "full_numbers", "aoColumns": [ { "sName": "#", "bSearchable": true, "bSortable": true } , { "sName": "ClientAddressID", "bSearchable": true, "bSor table": true }, { "sName": "ContactPerson", "bSearchable": true, "bSorta ble": true }, { "sName": "AddressType", "bSearchable": true, "bSortabl e": true }, { "sName": "Address", "bSearchable": true, "bSortable": true }, { "sName": "TelNo", "bSearchable": true, "bSortable": tr ue }, // { "sName": "Postcode", "sWidth": "1 2%", "bSearchable": true, "bSortable": true , sClass: "alignCenter"}, {"sName": "MobileNo", "bSearchable": true, "bSortable": true }, { "sName": "ClientaddrID", "sWidth": "12%", "bSearchabl e": true, "bSortable": true, sClass: "alignCenter", "fnRender": function (oObj) { var cliAddrID = oObj.aData[1]; var cliname = oObj.aData[2]; return "<a href=# > <img class='ClientaddrID' id= " + cliAddrID + " name = " + cliname + " src='../../Content/Recruitment_Ima ges/addClient.png' title='Add Contact Details' /></a>"; } }, ] }); // alert(cid); $("#ClientName1").text(cid);

$("#ClientName2").text(cname); $("#tabs-1").hide(); $("#gridcliAdds").show(); $("#gridclient").hide(); $("#tabs-2").show(); $("#tabs-3").hide(); $("#tabs-4").hide(); $("#gridclicont").hide(); $('#Selectproduct').css("color", "#CBCBCB"); $('#Selectproducts').css("color", "#CBCBCB"); $('#Selectproducts').css({ "background-image": "url(../../Conten t/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-repeat' }); $('#Selectproducts1').css({ "background-image": "url(../../Conte nt/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no-repeat' } ); $('#Selectrelatedproduct').css("color", "Black"); $('#Selectrelatedproducts').css({ "background-image": "url(../.. /Content/Recruitment_Images/step_dark_left.gif)", 'background-repeat': 'no-repea t', "color": "White" }); $('#Selectrelatedproducts1').css({ "background-image": "url(../. ./Content/Recruitment_Images/step_dark_right.gif)", 'background-repeat': 'no-rep eat' }); }); }); $(function () { $("#Email").blur(function () { var $email = $("#Email").val(); if ($email == '') { } else { validateEmail($email); } }); }); $(function () { $("#CliConEmail1").blur(function () { var $email = $("#CliConEmail1").val(); if ($email == '') { } else { validateEmail($email); } }); }); function validateEmail($email) { var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/; if (!emailReg.test($email)) { alert("Please Enter Valid Email Address", 'alert', function (r1) { if (r1 == true) { // $("#EMail").focus(); return false;

} }); } else { return true; } } $(function () { $("#WebsiteURL").blur(function () { var $WebsiteURL = $("#WebsiteURL").val(); // alert($WebsiteURL); if ($WebsiteURL == '') { } else { checkURL($WebsiteURL); } }); });

function checkURL(value) { // alert("test"); var urlregex = new RegExp("^(http:\/\/www.|https:\/\/www.|ftp:\/\/ww w.|www.){1}([0-9A-Za-z]+\.)"); if (urlregex.test(value)) { // alert("success"); return true; } return false; }

$(document).ready(function () { $(".ClientaddrID").live('click', function () { alert("#"); // alert("3"); var cid = this.id; var cname = this.name; alert(cid); var param = "/?cid=" + cid; oTable2 = $('#Example2').dataTable({ "sAjaxSource": "/Requirement/LoadClientContsDtsforid" + para m, "bFilter": true, "sPaginationType": "full_numbers", "aoColumns": [ { "sName": "#", "bSearchable": true, "bSortable": true } , { "sName": "ClientAddressID", "bSearchable": true, "bSor

table": true }, { "sName": "CliConFirstName", "bSearchable": true, "bSor table": true }, { "sName": "CliConSurname", "bSearchable": true, "bSorta ble": true }, { "sName": "CliConJobTitle", "bSearchable": true, "bSort able": true }, { "sName": "CliConTelephoneNo", "bSearchable": true, "bS ortable": true }, { "sName": "CliConMobileNo", "bSearchable": true, "bSort able": true }, { "sName": "CliConEmail", "bSearchable": true, "bSortabl e": true }, // { "sName": "ClientaddrID", "bSea rchable": true, "bSortable": true, // "fnRender": function (oObj) { // var empID = oObj.aData[1 ]; // // alert("sdff"); sClas s: "alignCenter", // return "<a href=# > <im g class='ClientaddrID' id= " + empID + " src='../../Content/Recruitment_Images /addClient.png' title='Add Contacts' /></a>"; // // ] }); // alert(cid); $("#ClientName1").text(cid); $("#ClientName2").text(cname); $("#tabs-1").hide(); $("#gridcliAdds").hide(); $("#gridclient").hide(); $("#tabs-2").hide(); $("#tabs-3").show(); $("#tabs-4").hide(); $("#gridclicont").show(); $('#Selectproduct').css("color", "#CBCBCB"); $('#Selectproducts').css("color", "#CBCBCB"); $('#Selectproducts').css({ "background-image": "url(../../Conten t/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-repeat' }); $('#Selectproducts1').css({ "background-image": "url(../../Conte nt/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no-repeat' } ); $('#Selectrelatedproduct').css("color", "Black"); $('#Selectrelatedproducts').css({ "background-image": "url(../.. /Content/Recruitment_Images/step_dark_left.gif)", 'background-repeat': 'no-repea t', "color": "White" }); $('#Selectrelatedproducts1').css({ "background-image": "url(../. ./Content/Recruitment_Images/step_dark_right.gif)", 'background-repeat': 'no-rep eat' }); }); }); // $(document).ready(function () { } },

// // // //

$(".ClientContID").live('click', function () { var cid = this.id; var param = "/?cid=" + cid; oTable2 = $('#Example2').dataTable({ "sAjaxSource": "/Requirement/LoadClientContsDtsfor "bFilter": true, "sPaginationType": "full_numbers", "aoColumns": [ { "sName": "#", "sWidth": "5%", "bSearchable": }, "ContactPerson", "sWidth": "12%", " "AddressType", "sWidth": "12%", "bS "Address", "sWidth": "12%", "bSearc "TelNo", "sWidth": "12%", "bSearcha

// id" + param, // // // // true, "bSortable": true //

// { "sName": bSearchable": true, "bSortable": true }, // { "sName": earchable": true, "bSortable": true }, // { "sName": hable": true, "bSortable": true }, // { "sName": ble": true, "bSortable": true },

// { "sName": "Postcode", "sWidth": "12%", "bSear chable": true, "bSortable": true }, // { "sName": "MobileNo", "sWidth": "12%", "bSear chable": true, "bSortable": true, sClass: "alignCenter" }, ] // }); // // // // // // // $("#tabs-1").hide(); $("#gridcliAdds").hide(); $("#gridclient").hide(); $("#tabs-2").hide(); $("#tabs-3").show(); $("#tabs-4").hide(); $("#gridclicont").hide();

// $('#Selectproduct').css("color", "#CBCBCB"); // $('#Selectproducts').css("color", "#CBCBCB"); // $('#Selectproducts').css({ "background-image": "url(.. /../Content/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-r epeat' }); // $('#Selectproducts1').css({ "background-image": "url(. ./../Content/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no -repeat' }); // $('#Selectrelatedproduct').css("color", "Black"); // $('#Selectrelatedproducts').css({ "background-image": "url(../../Content/Recruitment_Images/step_dark_left.gif)", 'background-repeat': 'no-repeat', "color": "White" }); // $('#Selectrelatedproducts1').css({ "background-image": "url(../../Content/Recruitment_Images/step_dark_right.gif)", 'background-repeat ': 'no-repeat' }); // }); // }); //

$(document).ready(function () {

$("id-form table tr:even").css("background-color", "#000000"); }); $(document).ready(function () { $(".inp-form-error").hide(); $("#tabs-2").hide(); $("#gridcliAdds").hide(); $("#tabs-3").hide(); $("#tabs-4").hide(); $("#tabs-1").hide(); $("#step-holder").hide(); $("#gridclient").show(); $("#gridclicont").hide(); });

$(document).ready(function () { $(".ClientHome").click(function () { $(".inp-form-error").hide(); $("#tabs-2").hide(); $("#gridcliAdds").hide(); $("#tabs-3").hide(); $("#tabs-4").hide(); $("#tabs-1").hide(); $("#step-holder").hide(); $("#gridclient").show(); $("#gridclicont").hide(); //Delete the datable object first if (oTable1 != null) oTable1.fnDestroy(); if (oTable2 != null) oTable2.fnDestroy(); }); }); $(document).ready(function () { $("#Savetab1").click(function () { $("#tabs-1").hide(); $("#gridcliAdds").show(); $("#tabs-2").show(); $("#tabs-3").hide(); $("#tabs-4").hide(); $("#gridclicont").hide();

// // // // // // // //

// $('#Selectproduct').css("color", "#CBCBCB"); // $('#Selectproducts').css("color", "#CBCBCB"); // $('#Selectproducts').css({ "background-image": "url(../../Cont ent/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-repeat' } ); // $('#Selectproducts1').css({ "background-image": "url(../../Con tent/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no-repeat' }); // $('#Selectrelatedproduct').css("color", "Black"); // $('#Selectrelatedproducts').css({ "background-image": "url(../ ../Content/Recruitment_Images/step_dark_left.gif)", 'background-repeat': 'no-rep

eat', "color": "White" }); // $('#Selectrelatedproducts1').css({ "background-image": "url(.. /../Content/Recruitment_Images/step_dark_right.gif)", 'background-repeat': 'no-r epeat' }); // }); // }); // $(document).ready(function () { // $("#gridcliAdds").click(function () { // $("#tabs-1").hide(); // $("#gridcliAdds").hide(); // $("#tabs-2").hide(); // $("#tabs-3").show(); // $("#tabs-4").hide(); // $('#Selectrelatedproduct').css("color", "#CBCBCB"); // $('#Selectrelatedproducts').css({ "background-image": "url(../../Content/Recruitment_Images/step_light_left.gif)", 'background-repeat' : 'no-repeat', "color": "#CBCBCB" }); // $('#Selectrelatedproducts1').css({ "background-image": "url(../../Content/Recruitment_Images/step_light_right.gif)", 'background-repea t': 'no-repeat' }); // $('#Contact').css("color", "Black"); // $('#Contacts').css({ "background-image": "url(../../Co ntent/Recruitment_Images/step_dark_left.gif)", 'background-repeat': 'no-repeat', "color": "White" }); // $('#Contacts1').css({ "background-image": "url(../../C ontent/Recruitment_Images/step_dark_right.gif)", 'background-repeat': 'no-repeat ' }); // }); // }); $(document).ready(function () { $("#Savetab3").click(function () { $("#tabs-1").hide(); $("#gridcliAdds").hide(); $("#tabs-2").hide(); $("#tabs-3").hide(); $("#tabs-4").show(); $("#gridclicont").hide(); $('#Contact').css("color", "#CBCBCB"); $('#Contacts').css({ "background-image": "url(../../Content/Recr uitment_Images/step_light_left.gif)", 'background-repeat': 'no-repeat', "color": "#CBCBCB" }); $('#Contacts1').css({ "background-image": "url(../../Content/Rec ruitment_Images/step_light_right.gif)", 'background-repeat': 'no-repeat' }); $('#Preview').css("color", "Black"); $('#Preview1').css({ "background-image": "url(../../Content/Recr uitment_Images/step_dark_left.gif)", 'background-repeat': 'no-repeat', "color": "White" }); $('#Preview2').css({ "background-image": "url(../../Content/Recr uitment_Images/step_dark_round1.gif)", 'background-repeat': 'no-repeat' }); }); }); $(document).ready(function () { $("#addclient").click(function () { $("#UpdateClient").hide(); $("#CancelClient").hide();

$("#SaveClientdts").show(); $("#tabs-1").show(); $("#tabs-2").hide(); $("#gridcliAdds").hide(); $("#tabs-3").hide(); $("#tabs-4").hide(); $("#step-holder").show(); $("#gridclient").hide(); $('#Selectproduct').css("color", "#CBCBCB"); $('#Selectproducts').css("color", "#CBCBCB"); $('#Selectproducts').css({ "background-image": "url(../../Conten t/Recruitment_Images/step_dark_left.gif)", 'background-repeat': 'no-repeat' }); $('#Selectproducts1').css({ "background-image": "url(../../Conte nt/Recruitment_Images/step_dark_right.gif)", 'background-repeat': 'no-repeat' }) ; $('#Selectrelatedproduct').css("color", "Black"); $('#Selectrelatedproducts').css({ "background-image": "url(../.. /Content/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-repe at', "color": "White" }); $('#Selectrelatedproducts1').css({ "background-image": "url(../. ./Content/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no-re peat' }); $('#Contact').css("color", "#CBCBCB"); $('#Contacts').css({ "background-image": "url(../../Content/Recr uitment_Images/step_light_left.gif)", 'background-repeat': 'no-repeat', "color": "White" }); $('#Contacts1').css({ "background-image": "url(../../Content/Rec ruitment_Images/step-no-off)", 'background-repeat': 'no-repeat' }); }); }); $(document).ready(function () { $("#CliAdds").click(function () { $("#tabs-1").hide(); $("#tabs-2").show(); $("#gridcliAdds").show(); $("#tabs-3").hide(); $("#tabs-4").hide(); $("#step-holder").show(); $("#gridclient").hide(); $("#gridclicont").hide(); }); }); $(document).ready(function () { $("#Selectproducts").click(function () { $("#tabs-1").show(); $("#tabs-2").hide(); $("#gridcliAdds").hide(); $("#tabs-3").hide(); $("#tabs-4").hide(); $("#step-holder").show(); $("#gridclient").hide(); $("#gridclicont").hide(); $('#Selectproduct').css("color", "Black"); $('#Selectproducts').css({ "background-image": "url(../../Conten t/Recruitment_Images/step_dark_left.gif)", 'background-repeat': 'no-repeat', "co lor": "White" });

$('#Selectproducts1').css({ "background-image": "url(../../Conte nt/Recruitment_Images/step_dark_right.gif)", 'background-repeat': 'no-repeat' }) ; $('#Selectrelatedproduct').css("color", "#CBCBCB"); $('#Selectrelatedproducts').css({ "background-image": "url(../.. /Content/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-repe at', "color": "White" }); $('#Selectrelatedproducts1').css({ "background-image": "url(../. ./Content/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no-re peat' }); $('#Contact').css("color", "#CBCBCB"); $('#Contacts').css({ "background-image": "url(../../Content/Recr uitment_Images/step_light_left.gif)", 'background-repeat': 'no-repeat', "color": "White" }); $('#Contacts1').css({ "background-image": "url(../../Content/Rec ruitment_Images/step-no-off)", 'background-repeat': 'no-repeat' }); }); }); $(document).ready(function () { $("#Selectrelatedproducts").click(function () { // LoadRECClientAddrdts(); $("#tabs-1").hide(); $("#tabs-2").show(); $("#gridcliAdds").hide(); $("#tabs-3").hide(); $("#tabs-4").hide(); $("#gridclient").hide(); $("#gridclicont").hide(); $('#Selectproduct').css("color", "#CBCBCB"); $('#Selectproducts').css("color", "#CBCBCB"); $('#Selectproducts').css({ "background-image": "url(../../Conten t/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-repeat' }); $('#Selectproducts1').css({ "background-image": "url(../../Conte nt/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no-repeat' } ); $('#Selectrelatedproduct').css("color", "Black"); $('#Selectrelatedproducts').css({ "background-image": "url(../.. /Content/Recruitment_Images/step_dark_left.gif)", 'background-repeat': 'no-repea t', "color": "White" }); $('#Selectrelatedproducts1').css({ "background-image": "url(../. ./Content/Recruitment_Images/step_dark_right.gif)", 'background-repeat': 'no-rep eat' }); $('#Contact').css("color", "#CBCBCB"); $('#Contacts').css({ "background-image": "url(../../Content/Recr uitment_Images/step_light_left.gif)", 'background-repeat': 'no-repeat', "color": "White" }); $('#Contacts1').css({ "background-image": "url(../../Content/Rec ruitment_Images/step-no-off)", 'background-repeat': 'no-repeat' }); }); }); $(document).ready(function () { $("#Contacts").click(function () { $("#tabs-1").hide(); $("#gridcliAdds").hide(); $("#gridclient").hide(); $("#tabs-2").hide();

$("#tabs-3").show(); $("#tabs-4").hide(); $("#gridclicont").hide(); $('#Selectproduct').css("color", "#CBCBCB"); $('#Selectproducts').css("color", "#CBCBCB"); $('#Selectproducts').css({ "background-image": "url(../../Conten t/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-repeat' }); $('#Selectproducts1').css({ "background-image": "url(../../Conte nt/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no-repeat' } ); $('#Selectrelatedproduct').css("color", "#CBCBCB"); $('#Selectrelatedproducts').css({ "background-image": "url(../.. /Content/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-repe at', "color": "#CBCBCB" }); $('#Selectrelatedproducts1').css({ "background-image": "url(../. ./Content/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no-re peat' }); $('#Contact').css("color", "Black"); $('#Contacts').css({ "background-image": "url(../../Content/Recr uitment_Images/step_dark_left.gif)", 'background-repeat': 'no-repeat', "color": "White" }); $('#Contacts1').css({ "background-image": "url(../../Content/Rec ruitment_Images/step-no-off)", 'background-repeat': 'no-repeat' }); }); }); $(function () { $("#ClientName").blur(function () { var cliname = $("#ClientName").val(); // alert(cliname); if (cliname == '') { } else { validatecliname(cliname); } }); }); function validatecliname(cliname) { //alert("Asdas"); // var cliname1 = cliname; var param = "/?cliName=" + cliname; // alert(param); $.ajax({ beforeSend: function () { $("#loading1").html("<img src='../../C ontent/images/325.gif' />"); }, type: 'POST', url: '/Requirement/checkcliname' + param, contentType: 'application/json; charset=utf-8', dataType: "json", success: function (data) { alert(data); if (data == 0) { return true;

} else { alert("Client Name Already Exists.Plz Enter Another Name "); $("#ClientName").focus(); return false; } } }); }

$(function () { $("#SaveClientdts").click(function () { var tx = $("#ClientName").val(); if ($("#ClientName").val() == "") { alert("Please enter Client Name"); return false; } else if ($("#TelNo").val() == "") { alert("Please enter Telephone Number"); return false; } else if ($("#MobNo").val() == "") { alert("Please enter Mobile Number"); return false; } else if ($("#Email").val() == "") { alert("Please enter Email"); return false; } else if ($("#WebsiteURL").val() == "") { alert("Please enter Website URL"); return false; } var var var var ci te mo em = = = = $("#ClientName").val(); $("#TelNo").val(); $("#MobNo").val(); $("#Email").val();

var we = $("#WebsiteURL").val(); var awe = $("#AltWebsiteURL").val(); //var addr = $("#address").val(); //var Indus = $("#Industry").val(); var com = $("#Comments").val(); var param = "/?cliName=" + ci + "&telno=" + te + "&Mobno=" + mo + "&Email=" + em + "&WebsiteURL=" + we + "&AltWebsiteURL=" + awe + "&Comments=" + com; alert(param); $.ajax({ beforeSend: function () { $("#loading1").html("<img src='../ ../Content/images/325.gif' />"); }, type: 'POST', url: '/Requirement/SaveClientDetails' + param, contentType: 'application/json; charset=utf-8', dataType: "json", success: function (data) { var s = data; $("#ClientName1").text(s);

alert("Saved Succesfully!"); $("#tabs-1").hide(); $("#tabs-2").show(); $("#gridcliAdds").show(); $("#tabs-3").hide(); $("#tabs-4").hide(); $("#gridclient").hide(); $('#Selectproduct').css("color", "#CBCBCB"); $('#Selectproducts').css("color", "#CBCBCB"); $('#Selectproducts').css({ "background-image": "url(../. ./Content/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-rep eat' }); $('#Selectproducts1').css({ "background-image": "url(../ ../Content/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no-r epeat' }); $('#Selectrelatedproduct').css("color", "Black"); $('#Selectrelatedproducts').css({ "background-image": "u rl(../../Content/Recruitment_Images/step_dark_left.gif)", 'background-repeat': ' no-repeat', "color": "White" }); $('#Selectrelatedproducts1').css({ "background-image": " url(../../Content/Recruitment_Images/step_dark_right.gif)", 'background-repeat': 'no-repeat' }); $('#Contact').css("color", "#CBCBCB"); $('#Contacts').css({ "background-image": "url(../../Cont ent/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-repeat', "color": "White" }); $('#Contacts1').css({ "background-image": "url(../../Con tent/Recruitment_Images/step-no-off)", 'background-repeat': 'no-repeat' }); } }); }); }); $(function () { $("#nextCliAddrdts").click(function () { $("#SaveCliAddrdts").hide(); var s = $("#ClientName1").text(); alert(s); var ctype = ($("OPTION:selected", "select#AddressType").val()); if (ctype == "0") { alert("Please Select AddressType"); return f alse; } else if ($("#ContactPerson").val() == "") { alert("Please enter Contact Person"); return false; } else if ($("#Street").val() == "") { alert("Please enter Street"); return false; } else if ($("#CliAddrPostCode").val() == "") { alert("Please enter PostCode"); return false; } else if ($("#CliaddrTelNo").val() == "") { alert("Please enter TelNo"); return false; } var ci = $("#ClientName1").text(); var caat = $("#AddressType").val(); var cast = $("#Street").val(); var casu = $("#Sururb").val();

var caci = $("#CliAddCity").val(); var caCo = $("#CliAddrCountry").val(); var caPc = $("#CliAddrPostCode").val(); var caMobNo = $("#CliAddrMobNo").val(); var caTelNo = $("#CliaddrTelNo").val(); var cacom = $("# CliaddrComments").val(); var param = "/?ClientName1=" + ci + "&AddressType=" + caat + "&S treet=" + cast + "&Sururb=" + casu + "&CliAddCity=" + caci + "&CliAddrCountry=" + caCo + "&CliAddrPostCode=" + caPc + "&CliAddrMobNo=" + caMobNo + "&CliaddrTelN o=" + caTelNo + "&CliaddrComments=" + cacom; $.ajax({ beforeSend: function () { $("#loading1").html("<img src='../ ../Content/images/325.gif' />"); }, type: 'POST', url: '/Requirement/SaveClientAddressDts' + param, contentType: 'application/json; charset=utf-8', dataType: "json", success: function (data) { var s1 = data; $("#Clientaddrid").text(s1); alert("Saved Succesfully!"); $("#tabs-1").hide(); $("#tabs-2").hide(); $("#gridcliAdds").hide(); $("#tabs-3").show(); $("#tabs-4").hide(); $("#gridclient").hide(); $('#Selectproduct').css("color", "#CBCBCB"); $('#Selectproducts').css("color", "#CBCBCB"); $('#Selectproducts').css({ "background-image": "url(../. ./Content/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-rep eat' }); $('#Selectproducts1').css({ "background-image": "url(../ ../Content/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no-r epeat' }); $('#Selectrelatedproduct').css("color", "Black"); $('#Selectrelatedproducts').css({ "background-image": "u rl(../../Content/Recruitment_Images/step_dark_left.gif)", 'background-repeat': ' no-repeat', "color": "White" }); $('#Selectrelatedproducts1').css({ "background-image": " url(../../Content/Recruitment_Images/step_dark_right.gif)", 'background-repeat': 'no-repeat' }); $('#Contact').css("color", "#CBCBCB"); $('#Contacts').css({ "background-image": "url(../../Cont ent/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-repeat', "color": "White" }); $('#Contacts1').css({ "background-image": "url(../../Con tent/Recruitment_Images/step-no-off)", 'background-repeat': 'no-repeat' }); } }); }); }); $(function () { $("#SaveCliAddrdts").click(function () { $("#nextCliAddrdts").hide();

var s = $("#ClientName1").text(); alert(s); var ctype = ($("OPTION:selected", "select#AddressType").val()); if (ctype == "0") { alert("Please Select AddressType"); return f alse; } else if ($("#ContactPerson").val() == "") { alert("Please enter Contact Person"); return false; } else if ($("#Street").val() == "") { alert("Please enter Street"); return false; } else if ($("#CliAddrPostCode").val() == "") { alert("Please enter PostCode"); return false; } else if ($("#CliaddrTelNo").val() == "") { alert("Please enter TelNo"); return false; } var ci = $("#ClientName1").text(); var caat = $("#AddressType").val(); var cast = $("#Street").val(); var casu = $("#Sururb").val(); var caci = $("#CliAddCity").val(); var caCo = $("#CliAddrCountry").val(); var caPc = $("#CliAddrPostCode").val(); var caMobNo = $("#CliAddrMobNo").val(); var caTelNo = $("#CliaddrTelNo").val(); var cacom = $("# CliaddrComments").val(); var param = "/?ClientName1=" + ci + "&AddressType=" + caat + "&S treet=" + cast + "&Sururb=" + casu + "&CliAddCity=" + caci + "&CliAddrCountry=" + caCo + "&CliAddrPostCode=" + caPc + "&CliAddrMobNo=" + caMobNo + "&CliaddrTelN o=" + caTelNo + "&CliaddrComments=" + cacom; $.ajax({ beforeSend: function () { $("#loading1").html("<img src='../ ../Content/images/325.gif' />"); }, type: 'POST', url: '/Requirement/SaveClientAddressDts' + param, contentType: 'application/json; charset=utf-8', dataType: "json", success: function (data) { // var s1 = data; // $("#Clientaddrid").text(s1); alert("Saved Succesfully!"); // // // // // // // ", "#CBCBCB"); // r", "#CBCBCB"); // $('#Selectproducts').css({ "ba ckground-image": "url(../../Content/Recruitment_Images/step_light_left.gif)", 'b ackground-repeat': 'no-repeat' }); // $('#Selectproducts1').css({ "b ackground-image": "url(../../Content/Recruitment_Images/step_light_right.gif)", 'background-repeat': 'no-repeat' }); $('#Selectproducts').css("colo $("#tabs-1").hide(); $("#tabs-2").hide(); $("#gridcliAdds").hide(); $("#tabs-3").show(); $("#tabs-4").hide(); $("#gridclient").hide(); $('#Selectproduct').css("color

// ("color", "Black");

$('#Selectrelatedproduct').css

// $('#Selectrelatedproducts').cs s({ "background-image": "url(../../Content/Recruitment_Images/step_dark_left.gif )", 'background-repeat': 'no-repeat', "color": "White" }); // $('#Selectrelatedproducts1').c ss({ "background-image": "url(../../Content/Recruitment_Images/step_dark_right.g if)", 'background-repeat': 'no-repeat' }); // $('#Contact').css("color", "#C BCBCB"); // $('#Contacts').css({ "backgrou nd-image": "url(../../Content/Recruitment_Images/step_light_left.gif)", 'backgro und-repeat': 'no-repeat', "color": "White" }); // $('#Contacts1').css({ "backgro und-image": "url(../../Content/Recruitment_Images/step-no-off)", 'background-rep eat': 'no-repeat' }); } }); }); });

$(function () { $("#SaveCliConts").click(function () { // LoadRECClientAddrdts(); var s = $("#ClientName1").text(); var s1 = $("#Clientaddrid").text(); if ($("#CliConFirstName").val() == "") { alert("Please enter First Name"); return false; } else if ($("#CliConSurname").val() == "") { alert("Please Sur Name"); return false; } else if ($("#CliConTelephoneNo").val() == "") { alert("Please enter Telecli"); return false; } else if ($("#CliConMobileNo").val() == "") { alert("Please enter TelNo"); return false; }

var var var var var var var var var

ci = caid ccfn ccsn

$("#ClientName1").text(); = $("#Clientaddrid").text(); = $("#CliConFirstName").val(); = $("#CliConSurname").val();

cctn = $("#CliConTelephoneNo").val(); ccmn = $("#CliConMobileNo").val(); ccjt = $("#CliConJobTitle").val(); ccem = $("#CliConEmail1").val(); cccom = $("#CliConCliComments").val();

var param = "/?ClientName1=" + ci + "&Clientaddrid=" + caid + "& CliConFirstName=" + ccfn + "&CliConSurname=" + ccsn + "&CliConTelephoneNo=" + cc tn + "&CliConTelephoneNo=" + cctn + "&CliConMobileNo=" + ccmn + "&CliConEmail1=" + ccem + "&CliConCliComments=" + cccom + "&CliConJobTitle=" + ccjt; $.ajax({

beforeSend: function () { $("#loading1").html("<img src='../ ../Content/images/325.gif' />"); }, type: 'POST', url: '/Requirement/SaveClientContactDts' + param, contentType: 'application/json; charset=utf-8', dataType: "json", success: function (data) { if (data > 0) { alert("Saved Succesfully!"); $("#tabs-1").hide(); $("#tabs-2").hide(); $("#gridcliAdds").hide(); $("#tabs-3").show(); $("#tabs-4").hide(); $("#gridclient").hide(); $('#Selectproduct').css("color", "#CBCBCB"); $('#Selectproducts').css("color", "#CBCBCB"); $('#Selectproducts').css({ "background-image": "url( ../../Content/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no -repeat' }); $('#Selectproducts1').css({ "background-image": "url (../../Content/Recruitment_Images/step_light_right.gif)", 'background-repeat': ' no-repeat' }); $('#Selectrelatedproduct').css("color", "Black"); $('#Selectrelatedproducts').css({ "background-image" : "url(../../Content/Recruitment_Images/step_dark_left.gif)", 'background-repeat ': 'no-repeat', "color": "White" }); $('#Selectrelatedproducts1').css({ "background-image ": "url(../../Content/Recruitment_Images/step_dark_right.gif)", 'background-repe at': 'no-repeat' }); $('#Contact').css("color", "#CBCBCB"); $('#Contacts').css({ "background-image": "url(../../ Content/Recruitment_Images/step_light_left.gif)", 'background-repeat': 'no-repea t', "color": "White" }); $('#Contacts1').css({ "background-image": "url(../.. /Content/Recruitment_Images/step-no-off)", 'background-repeat': 'no-repeat' }); } else { alert("Error"); } } }); }); });

</script> <% using (Html.BeginForm("RECClientMaster", "Requirement", FormMethod.Post, new { enctype = "multipart/form-data", id = "RECClientMaster", name = "RECClient Master", autocomplete = "on" })) {%> <div id="content-outer">

<!-- start content --> <div id="content"> <div id="page-heading"> <h1> CLIENT MASTER</h1> </div> <table border="0" width="100%" cellpadding="0" cellspacing="0" id="c ontent-table"> <tr> <th rowspan="3" class="sized"> </th> <th class="topleft"> </th> <td id="tbl-border-top"> &nbsp; </td> <th class="topright"> </th> <th rowspan="3" class="sized"> </th> </tr> <tr> <td id="tbl-border-left"> </td> <td> <!-- start content-table-inner --> <div id="content-table-inner"> <div id="n1"> <table width="100%" cellspacing="0" cellpadding= "0" border="0" id="Table1"> <tbody> <tr> <td> <a href="#"> <img class='addclient' id="a ddclient" src='../../Content/Recruitment_Images/add-client-button.jpg' title='Add Address Detai ls' /></a> </td> <td colspan="4" align="right"> <a href="#"> <img class='ClientHome' id=" Img1" src='../../Content/Recruitment_Images/Client-home.png' title='Client Home' /></ a> </td> <%--</td> <td colspan ="2"> <input type="button" class = "ad dclient"id="addclient" value="Add New Client" /> </td>--%> </tr> </tbody> </table> </div> <div id="gridclient"> <table id="example" class="product-table" width= "100%" cellspacing="0" cellpadding="0" border="0"> <thead>

<tr> <th style="width: 2%" class="table-h eader-options line-left"> &nbsp;&nbsp;ID </th> <th class="table-header-options line -left"> &nbsp;Client Name </th> <th class="table-header-options line -left"> &nbsp;Telephone No </th> <th class="table-header-options line -left"> &nbsp;Mobile No </th> <th class="table-header-options line -left"> &nbsp;Email </th> <th class="table-header-options line -left"> &nbsp;Website Url </th> <th class="table-header-options line -left"> &nbsp;Alt Website Url </th> <th class="table-header-options line -left"> &nbsp;Actions </th> <th class="table-header-options line -left"> &nbsp;Add Address </th> <%-- <th class="table-header-options line-left"> Add Contacts </th>--%> <%-- <th class="table-header-option s line-left"> &nbsp;Alt Website Url 2 </th> <th class="table-header-options line-left"> &nbsp;Industry </th> <th class="table-header-options line-left"> &nbsp;Skpye Name </th>--%> <%--<th class="table-header-options line-left"> &nbsp; Edit </th>--%> </tr> </thead> <tbody> </tbody> </table>

</div> <div id="gridcliAdds"> <table> <tr> <td colspan ="7" > <h1 style="color :Gray"> Client A ddress </h1> </td> </tr></table> <table id="example1" class="product-table" width ="100%" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th class="table-header-options line -left"> &nbsp;&nbsp;# </th> <th class="table-header-options line -left"> &nbsp;&nbsp;addressID </th> <th class="table-header-options line -left"> &nbsp;Contact Person </th> <th class="table-header-options line -left"> &nbsp;Address Type </th> <th class="table-header-options line -left"> &nbsp;Address </th> <th class="table-header-options line -left"> &nbsp;Telephone No </th> <th class="table-header-options line -left"> &nbsp;Mobile Number </th> <th class="table-header-options line -left"> &nbsp;Action </th> </tr> </thead> <tbody> </tbody> </table> </div> <div id="gridclicont"> <table> <tr> <td colspan ="7" > <h1 style="color :Gray"> Client C ontacts </h1>

</td> </tr> </table> <table id="Example2" class="product-table" width ="100%" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width: 2%" class="table-h eader-options line-left"> &nbsp;&nbsp;ID </th> <th style="width: 2%" class="tableheader-options line-left"> &nbsp;&nbsp;Address ID </th> <th class="table-header-options line -left"> &nbsp;First Name </th> <th class="table-header-options line -left"> &nbsp;Sur Name </th> <th class="table-header-options line -left"> &nbsp;Job Title </th> <th class="table-header-options line -left"> &nbsp;Tel No </th> <th class="table-header-options line -left"> &nbsp;Mobile No </th> <th class="table-header-options line -left"> &nbsp;Email </th> <%-- <th class="table-header-options line-left"> &nbsp;Action </th>--%> <%-- <th class="table-header-option s line-left"> Add Contacts </th>--%> </tr> </thead> <tbody> </tbody> </table> </div> <table border="0" width="100%" cellpadding="0" cells pacing="0"> <tr valign="top"> <td> <!-- start step-holder --> <div id="step-holder">

<div id="Selectproduct" class="stepno"> 1</div> <div id="Selectproducts" class="step -dark-left"> Client Details</div> <div id="Selectproducts1" class="ste p-dark-right"> </div> <div id="Selectrelatedproduct" class ="step-no-off"> 2</div> <div id="Selectrelatedproducts" clas s="step-light-left"> Addresses</div> <div id="Selectrelatedproducts1" cla ss="step-light-right"> </div> <div id="Contact" class="step-no-off "> 3</div> <div id="Contacts" class="step-light -left"> Contacts</div> <div id="Contacts1" class="step-no-o ff"> </div> <%-- <div id="Commdts" class="step-n o-off"> 4</div> <div id="Preview1" class="step-light -left"> Communication Details</div>--%> <div class="clear"> </div> </div> <!-- end step-holder --> <!-- start id-form --> <div id="tabs-1"> <table border="0" cellpadding="0" ce llspacing="0" id="id-form"> <tr> <td> <%:Html.LabelFor(model = > model.ClientName)%><span id="StoreClientId" class="hidden"></span> </td> <td> <%:Html.TextBoxFor(model => model.ClientName, new { @class = "inp-form" })%> </td> <td> <%:Html.LabelFor(model = > model.TelNo)%> </td> <td> <%:Html.TextBoxFor(model => model.TelNo, new { @class = "inp-form" })%> </td> </tr> <tr>

<td> <%:Html.LabelFor(model = > model.MobNo)%> </td> <td> <%:Html.TextBoxFor(model => model.MobNo, new { @class = "inp-form" })%> </td> <td> <%:Html.LabelFor(model = > model.Email)%> </td> <td> <%:Html.TextBoxFor(model => model.Email, new { @class = "inp-form" })%> </td> </tr> <tr> <td> <%:Html.LabelFor(model = > model.WebsiteURL)%> </td> <td> <%:Html.TextBoxFor(model => model.WebsiteURL, new { @class = "inp-form" })%> </td> <td> <%:Html.LabelFor(model = > model.AltWebsiteURL)%> </td> <td> <%:Html.TextBoxFor(model => model.AltWebsiteURL, new { @class = "inp-form" })%> </td> </tr> <%--<tr> <td> <%:Html.LabelFor(model = > model.Industry )%> </td> <td> <%:Html.TextBoxFor(model => model.Industry, new { @class = "inp-form" })%> </td> </tr>--%> <tr> <td> <%:Html.LabelFor(model = > model.Comments )%> </td> <td colspan="2"> <%:Html.TextAreaFor (mod el => model.Comments, new { @class = "form-textarea" })%> </td> </tr> <%-- <tr> <th align="left"> Image 1: </th> <td>

<input type="file" class="file_1" /> </td> <td> <div class="bubble-left"> </div> <div class="bubble-inner"> JPEG, GIF 5MB max per image</div> <div class="bubble-right"> </div> </td> </tr> <tr> <th align="left"> Image 2: </th> <td> <input type="file" class="file_1" /> </td> <td> <div class="bubble-left"> </div> <div class="bubble-inner"> JPEG, GIF 5MB max per image</div> <div class="bubble-right"> </div> </td> </tr> <tr> <th align="left"> Image 3: </th> <td> <input type="file" class="file_1" /> </td> <td> <div class="bubble-left"> </div> <div class="bubble-inner"> JPEG, GIF 5MB max per image</div> <div class="bubble-right"> </div> </td> </tr>--%> <tr> <th align="left"> &nbsp; </th> <td valign="top"> <input type="button" id= "SaveClientdts" value="next" /> <input type="button" id= "UpdateClient" value="Update" /> <input type="button" id= "CancelClient" value="Cancel" /> </td> <td> </td> </tr> </table> <!-- end id-form -->

</div> <div id="tabs-2"> <br /> <table border="0" cellpadding="0" ce llspacing="0" id="id-form2"> <tr> <td colspan ="7" > <h1 style="color :Maroon"> Add Cl ient Address </h1> </td> </tr> <tr> <td> <input type="hidden" id= "ClientName1" /> </td> <td colspan="6" type="text" align="center" id="ClientName2" style="color: Blue; font-size :medium "> </td> </tr> <br /> <tr> <td> <%: Html.LabelFor(model => model.AddressType)%><span style="color: Red">*</span> </td> <td> <%: Html.DropDownList("A ddressType", ViewData["AddressType"] as List<SelectListItem>, new { @class = "st yledselect_form_1" })%> </td> <td> <%:Html.LabelFor(model = > model.ContactPerson)%> </td> <td> <%:Html.TextBoxFor(model => model.ContactPerson, new { @class = "inp-form" })%> </td> </tr> <tr> <td> <%:Html.LabelFor(model = > model.CliaddrTelNo)%> </td> <td> <%:Html.TextBoxFor(model => model.CliaddrTelNo, new { @class = "inp-form" })%> </td> <td> <%:Html.LabelFor(model = > model.CliAddrMobNo)%> </td> <td> <%:Html.TextBoxFor(model => model.CliAddrMobNo, new { @class = "inp-form" })%> </td> </tr>

<tr> <td> <%:Html.LabelFor(model = > model.Street)%> </td> <td> <%:Html.TextBoxFor(model => model.Street, new { @class = "inp-form" })%> </td> <td> <%:Html.LabelFor(model = > model.Sururb)%> </td> <td> <%:Html.TextBoxFor(model => model.Sururb, new { @class = "inp-form" })%> </td> </tr> <tr> <td> <%:Html.LabelFor(model = > model.CliAddCity)%> </td> <td> <%:Html.TextBoxFor(model => model.CliAddCity, new { @class = "inp-form" })%> </td> <td> <%:Html.LabelFor(model = > model.CliAddrCountry)%> </td> <td> <%:Html.TextBoxFor(model => model.CliAddrCountry, new { @class = "inp-form" })%> </td> </tr> <tr> <td> <%:Html.LabelFor(model = > model.CliaddrComments )%> </td> <td colspan="2"> <%:Html.TextAreaFor(mode l => model.CliaddrComments, new { @class = "form-textarea" })%> </td> <td> </td> </tr> <tr> <td> </td> <td colspan="2"> <input type="button" id="nex tCliAddrdts" value="next" /> <input type="button" id= "SaveCliAddrdts" value="Save" /> <input type="button" id= "cancelSaveCliAddrdts" value="Cancel" /> <%-- <input type="button"

id="SaveCliAddrdts" value="next" /> <input type="button" id= "BackTab1" value="back" />--%> </td> <td> </td> </tr> </table> <!-- end id-form --> </div> <div id="tabs-3"> <br /> <table border="0" cellpadding="0" ce llspacing="0" id="id-form3"> <tr> <td colspan ="7" > <h1 style="color :Maroon"> Add Cl ient Contacts </h1> </td> </tr> <br /> <tr> <td> <input type="hidden" id= "ClientName1" /> </td> <td colspan="3" type="text" align="center" id="ClientName2" style="color: Blue"> </td> <td> <input type="hidden" id= "Val2" /> </td> <td colspan="2" type="text" align="center" id="Clientaddrid" style="color: Blue"> </td> </tr> <tr> <td> <%:Html.LabelFor(model = > model.CliConFirstName)%> </td> <td> <%:Html.TextBoxFor(model => model.CliConFirstName, new { @class = "inp-form" })%> </td> <td> <%:Html.LabelFor(model = > model.CliConSurname)%> </td> <td> <%:Html.TextBoxFor(model => model.CliConSurname, new { @class = "inp-form" })%> </td> </tr> <tr> <td> <%:Html.LabelFor(model =

> model.CliConTelephoneNo )%> </td> <td> <%:Html.TextBoxFor(model => model.CliConTelephoneNo, new { @class = "inp-form" })%> </td> <td> <%:Html.LabelFor(model = > model.CliConMobileNo)%> </td> <td> <%:Html.TextBoxFor(model => model.CliConMobileNo, new { @class = "inp-form" })%> </td> </tr> <tr> <td> <%:Html.LabelFor(model = > model.CliConJobTitle)%> </td> <td> <%:Html.TextBoxFor(model => model.CliConJobTitle, new { @class = "inp-form" })%> </td> <td> <%:Html.LabelFor(model = > model.CliConEmail1)%> </td> <td> <%:Html.TextBoxFor(model => model.CliConEmail1, new { @class = "inp-form" })%> </td> </tr> <tr> <td> <%:Html.LabelFor(model = > model.CliConCliComments)%> </td> <td colspan="2"> <%:Html.TextAreaFor(mode l => model.CliConCliComments, new { @class = "form-textarea" })%> </td> </tr> <tr> <th> &nbsp; </th> <td> <input type="button" id= "SaveCliConts" value="next" /> <input type="button" val ue="back" /> </td> <td> </td> </tr> </table> <!-- end id-form --> </div> <div id="tabs-4">

<table border="0" cellpadding="0" ce llspacing="0" id="id-form4"> <tr> <th> Communicate Type: </th> <td> <select class="styledsel ect_form_1"> <option value="">Ema il</option> <option value="">Not e</option> <option value="">To Do</option> </select> </td> </tr> <tr> <th> Select a date: </th> <td class="noheight"> <table border="0" cellpa dding="0" cellspacing="0"> <tr valign="top"> <td> <form id="ch ooseDateForm" action="#"> <select id=" d" class="styledselect-day"> <option value="">dd</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option

value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> </td> <td> <select id=" m" class="styledselect-month"> <option value="">mmm</option> <option value="1">Jan</option> <option value="2">Feb</option> <option value="3">Mar</option> <option value="4">Apr</option> <option value="5">May</option> <option value="6">Jun</option> <option value="7">Jul</option> <option value="8">Aug</option> <option value="9">Sep</option>

<option value="10">Oct</option> <option value="11">Nov</option> <option value="12">Dec</option> </select> </td> <td> <select id=" y" class="styledselect-year"> <option value="">yyyy</option> <option value="2005">2005</option> <option value="2006">2006</option> <option value="2007">2007</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> </form> </td> <td> <a href="" i d="date-pick"> <img src ="../../Content/Recruitment_Images/icon_calendar.jpg" alt="" /></a> </td> </tr> </table> </td> </tr> <tr> <th valign="top"> Title: </th> <td> <input type="text" class ="inp-form" /> </td> </tr> <tr> <th valign="top"> Message: </th> <td> <input type="text" class ="inp-form" /> </td> </tr> <tr> <th valign="top"> Comments: </th>

<td> <textarea rows="" cols=" " class="form-textarea"></textarea> </td> </tr> <tr> <th> &nbsp; </th> <td valign="top"> <input type="button" id= "Savetab4" value="" class="form-submit" /> <input type="reset" valu e="" class="form-reset" /> </td> </tr> </table> <!-- end id-form --> </div> </td> </tr> </table> <div class="clear"> </div> </div> <!-- end content-table-inner --> </td> <td id="tbl-border-right"> </td> </tr> <tr> <th class="sized bottomleft"> </th> <td id="tbl-border-bottom"> &nbsp; </td> <th class="sized bottomright"> </th> </tr> </table> <%} %> </div> </div> </asp:Content>

Вам также может понравиться