This is a migrated thread and some comments may be shown as answers.

JScript Error When Using a RadWindowManager

1 Answer 87 Views
Window
This is a migrated thread and some comments may be shown as answers.
Suresh Mishra
Top achievements
Rank 1
Suresh Mishra asked on 11 Sep 2009, 08:42 PM

I am using a modal window to perform an update to the database and want to refresh a radgrid upon return to the main page.  I do this by triggering the click even of a server control from the client side or by clicking on a button which invokes a server side call.  If I do this - click on the button to make a server side call - I get this error: Microsoft JScript runtime error: Sys.ArgumentTypeException: Object of type 'Telerik.We.UI.RadWindowManager' cannot be converted to type 'Telerik.Web.UI.RadWindowManager'.  Paramenter name: instance.

How can I avoid this error?

Thanks.

Suresh

Here is the ASPX page:

 

<%

@ Control Language="VB" AutoEventWireup="false" CodeFile="ProposalEmployeeList.ascx.vb" Inherits="ProposalEmployeeList" %>

 

<%

@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<%

@ Register Src="HeaderCtrl.ascx" TagName="HeaderCtrl" TagPrefix="uc1" %>

 

<%

@ Register Src="CustomMultiValueLR.ascx" TagName="CustomMultiValueLR" TagPrefix="uc3" %>

 

<%

@ Register TagPrefix="Custom" Namespace="ASB" Assembly="AutoSuggestBox" %>

 

<%

@ Register Src="paging.ascx" TagName="paging" TagPrefix="uc2" %>

 

<%

@ Register TagPrefix="Custom" Namespace="ENTech.WebControls" Assembly="AutoSuggestMenu" %>

 

<%

@ Register TagPrefix="Custom" Namespace="EPricing.Item.Template" %>

 

 

<script type="text/javascript">

 

 

 

 

 

//<![CDATA[

 

 

 

 

 

function DisplayMessage(args)

 

{

 

var s;

 

s =

"ProposalEmployeeDetails.aspx?EmployeeNo=" + args

 

alert(s);

}

 

 

//]]>

 

 

 

 

 

</script>

 

 

 

 

 

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

 

 

 

 

 

<script type="text/javascript">

 

 

 

 

<!--

 

function openWin(args)

 

{

 

var s;

 

s =

"ProposalEmployeeDetails.aspx?EmployeeNo=" + args

 

 

var oWnd = radopen(s, "RadWindow1");

 

}

 

 

function OnClientClose(oWnd,args)

 

{

alert(

'Inside client close');

 

 

//var myReturnValue = "<%= RefreshRadGridEmpClient() %>";

 

 

 

 

alert(

'getting out');

 

 

//window.location.reload();

 

 

 

 

 

//window.location.href=window.location.href;

 

 

 

 

 

//$find("<%= RadGridEmpData.MasterTableView.ClientID %>").Rebind;

 

 

 

 

 

//document.getElementById('<%=ButtonSave.ClientID%>').click();

 

 

 

 

 

//get the transferred arguments

 

 

 

 

 

//var arg = args.get_argument();

 

 

 

 

 

//if(arg)

 

 

 

 

 

//{

 

 

 

 

 

// var EmployeeNo = arg.EmployeeNo;

 

 

 

 

 

// var VersionId = arg.VersionId;

 

 

 

 

 

// //document.forms.namedItem("")

 

 

 

 

 

// //$get("EmployeeNo").innerHTML = EmployeeNo + VersionId;

 

 

 

 

 

//}

 

 

 

 

}

 

function submitpage()

 

{

window.location.reload;

 

}

 

var hasChanges, inputs, dropdowns, editedRow;

 

 

 

function RowClick(sender, eventArgs)

 

{

 

if(editedRow && hasChanges)

 

{

hasChanges =

false;

 

 

if(confirm("Update changes?"))

 

{

 

$find(

"<%= RadGridEmpData.MasterTableView.ClientID %>").updateItem(editedRow);

 

}

}

editedRow = eventArgs.get_itemIndexHierarchical();

$find(

"<%= RadGridEmpData.MasterTableView.ClientID %>").editItem(editedRow);

 

}

 

function RowDblClick(sender, eventArgs)

 

{

editedRow = eventArgs.get_itemIndexHierarchical();

$find(

"<%= RadGridEmpData.MasterTableView.ClientID %>").editItem(editedRow);

 

}

 

function GridCommand(sender, args)

 

{

 

if (args.get_commandName() != "Edit")

 

{

editedRow =

null;

 

}

}

 

function GridCreated(sender, eventArgs)

 

{

 

var gridElement = sender.get_element();

 

 

var elementsToUse = [];

 

inputs = gridElement.getElementsByTagName(

"input");

 

 

for (var i = 0; i < inputs.length;i++)

 

{

 

var lowerType = inputs[i].type.toLowerCase();

 

 

if(lowerType == "hidden" || lowerType == "button")

 

{

 

continue;

 

}

 

Array.add(elementsToUse, inputs[i]);

inputs[i].onchange = TrackChanges;

}

 

dropdowns = gridElement.getElementsByTagName(

"select");

 

 

for (var i = 0; i < dropdowns.length;i++)

 

{

dropdowns[i].onchange = TrackChanges;

}

setTimeout(

function(){if(elementsToUse[0])elementsToUse[0].focus();},100);

 

}

 

function TrackChanges(e)

 

{

hasChanges =

true;

 

}

-->

 

</script>

 

 

 

 

 

</telerik:RadCodeBlock>

 

 

 

 

&nbsp;

 

 

 

 

<style type="text/css" >

 

 

 

 

 

.modalBackground

 

{

 

background-color:Gray;

 

 

filter:alpha(opacity=70);

 

 

opacity:0.7;

 

}

 

</style>

 

 

 

 

 

 

<FIELDSET ID="tblSummary" runat="server" width="1000" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;">

 

 

 

 

 

 

<table ID="Table5" runat="server" width="100%" align=left cellpadding="0" cellspacing="0" >

 

 

 

 

 

 

<tr>

 

<

 

td align="left" colspan="1" style="height: 20px; width: 18px;" valign="top">

 

 

 

 

 

<br /> </td>

 

 

 

 

 

</tr>

 

 

 

 

 

 

 

 

<TR >

 

 

 

 

 

 

<Td align="left" valign="top" width="20%" >

 

 

 

 

 

 

<table width="100%" cellpadding=0 cellspacing=0 runat=server id="Table3" class="Tgrid" align="left">

 

 

 

 

 

 

 

 

<TR align=center>

 

 

 

 

 

 

<Th align="center" valign="top" width="160" >

 

 

 

 

 

</Th>

 

 

 

 

 

 

<Td align="center" valign="top" class="sGridTd" width="160" >

 

 

<asp:Label ID="lblProposalStartDate" runat="server" ></asp:Label></td>

 

 

 

 

 

</Tr>

 

 

 

 

 

 

<TR align=center>

 

 

 

 

 

 

<Th align="center" valign="top" width="150" >

 

 

 

 

 

 

<asp:Label ID="Label7" runat="server" width="150" >Period Of Performance</asp:Label>

 

 

 

 

 

</Th>

 

 

 

 

 

 

<Td align="center" valign="top" class="sGridTd" width="150" >

 

 

<asp:Label ID="Label25" runat="server" >To</asp:Label></td>

 

 

 

 

 

</Tr>

 

 

 

 

 

<TR align=center>

 

 

 

 

 

 

<Th align="center" valign="top" width="150" >

 

 

 

 

 

<asp:Button ID="ButtonRefresh" runat="server" Text="Refresh" /></Th>

 

 

 

 

 

<Td align="center" valign="top" class="sGridTd" width="150" >

 

 

<asp:Label ID="lblProposalEndDate" runat="server" ></asp:Label></td>

 

 

 

 

 

</Tr>

 

 

 

 

 

 

 

 

 

 

</table>

 

 

 

 

</td>

 

 

 

 

 

 

<Td align="right" valign="top" width="3%" >

 

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<Td align="left" valign="top" width="25%" >

 

 

 

 

 

<table width="100%" class="Tgrid" cellpadding=0 cellspacing=0 runat=server id="Table4" align="right">

 

 

 

 

 

 

 

 

<TR class="sGridHdr" align=center>

 

 

 

 

 

 

<TH align="center" valign="middle" colspan="2" style="height: 17px" >

 

 

 

 

Summary

</TH>

 

 

 

 

 

</Tr>

 

 

 

 

 

<TR align=center>

 

 

 

 

 

 

<Td align="left" valign="top" class="sGridTd" style="width: 50px" >

 

 

<asp:Label ID="Label26" runat="server" >ROM</asp:Label></td>

 

 

 

 

 

<td align="left" class="sGridTd" valign="top" style="width: 69px">

 

 

 

 

 

<asp:Label ID="lblProposalEmployeeBillable" runat="server">-</asp:Label></td>

 

 

 

 

 

</Tr>

 

 

 

 

 

<tr align="center">

 

 

 

 

 

<td align="left" class="sGridTd" valign="top" style="width: 50px">

 

 

 

 

 

<asp:Label ID="Label27" runat="server" Width=130px>Profit > Risk Matrix</asp:Label></td>

 

 

 

 

 

<td align="left" class="sGridTd" valign="top" style="width: 69px">

 

 

 

 

 

<asp:Label ID="lblProposalEmployeeProfitStatus" runat="server">-</asp:Label></td>

 

 

 

 

 

</tr>

 

 

 

 

 

 

 

 

 

 

</table>

 

 

 

 

 

<input id="ButtonSubmit" type="button" onclick="submitpage();" value="Refresh" /></td>

 

 

 

 

 

 

<Td align="right" valign="top" width="3%" >

 

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<Td align="left" valign="top" width="50%" >

 

 

 

 

 

<table width="100%" align="left" cellpadding=0 cellspacing=0 runat=server id="tableProposalSIN" class="TGrid" >

 

 

 

 

 

 

<TR class="DGridHdr" align=center id="tr1" runat=server>

 

 

 

 

 

 

<TH align="left" valign="top" width="150px" colspan=2 >

 

 

<asp:Label ID="Label28" runat="server" Width="160px">Special Item Numbers (SINs)</asp:Label></TH>

 

 

 

 

 

 

<TD class="LabelCol" vAlign="top" align="left" width="80" >

 

 

 

 

 

<div class="text_button" id="div8" runat="server"><asp:LinkButton ID="lnkBtnSinSave" runat="server" ToolTip="Update Employee Data">Save</asp:LinkButton></div>

 

 

 

 

 

</td>

 

 

 

 

 

 

</TR>

 

 

 

 

 

 

 

 

 

 

 

 

 

</table>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</Tr>

 

 

 

 

 

 

 

 

 

 

</table>

 

 

 

 

 

 

</FIELDSET>

 

 

 

 

 

 

<FIELDSET ID="tblProposalSearch" runat="server" >

 

 

 

 

 

 

<LEGEND >

 

 

 

<a href="#" onclick="collapseFieldset(this)" runat=server id="lgdSearch">Proposal Employee Search </a>

 

 

 

 

 

</LEGEND>

 

 

 

 

 

<br />

 

 

 

 

 

 

<table ID="tblSearch1" visible=true runat="server" width="900" align=left border="1" cellpadding="0" cellspacing="0" class="TGrid" >

 

 

 

 

 

 

<tr>

 

<

 

TD valign="top" style=" width: 145px; height: 37px;" ID="tdTaskList1" runat="server" >

 

 

 

 

 

<asp:Label ID="lblTaskName" runat="server" CssClass="label" Text="Task Name" ToolTip="Task Name"></asp:Label></TD>

 

<

 

TD valign="top" style=" width: 196px; height: 37px;" ID="tdTaskList2" runat="server">

 

 

 

 

 

<asp:DropDownList ID="drpTaskList" runat="server" CssClass="MandatoryField" Width="175px" AutoPostBack="True">

 

 

 

 

 

</asp:DropDownList></TD>

 

 

 

 

 

<td class="Label" colSpan="1" style="width: 175px; height: 37px;" valign="top">

 

 

 

 

 

<asp:Label ID="Label2" runat="server" CssClass="label" Text="Employee Name" ToolTip="Employee Name"></asp:Label></td>

 

 

 

 

 

<td style="width: 159px; height: 37px;" valign="top"><asp:DropDownList ID="drpEmployeeName" runat="server" CssClass="MandatoryField" Width="180px" AutoPostBack="True">

 

 

 

 

 

</asp:DropDownList></td>

 

 

 

 

 

<td style="width: 65px; height: 37px" valign="top" ID="tdSuppressZeroHours" runat="server" >

 

 

 

 

 

<asp:CheckBox ID="cbxSuppressZeroHours" runat="server" Text="Suppress Zero Hours" Width="152px" AutoPostBack="True" /></td>

 

<

 

TD valign="top" style="width: 65px; height: 37px;" >

 

 

 

 

 

<div class="text_button">

 

 

 

 

 

<asp:LinkButton ID="lnkBtnSch" runat="server" ToolTip="Employee Search">Search</asp:LinkButton></div>

 

 

 

 

 

</TD>

 

</

 

tr>

 

 

 

 

 

<tr visible=false>

 

 

 

 

 

<td style="width: 145px; height: 37px" valign="top">

 

 

 

 

 

</td>

 

 

 

 

 

<td style="width: 196px; height: 37px" valign="top">

 

 

 

 

 

</td>

 

 

 

 

 

<td class="Label" colspan="1" style="width: 175px; height: 37px" valign="top">

 

 

 

 

 

 

<asp:Label ID="Label1" runat="server" CssClass="label" Text="Employee No" ToolTip="Employee Number"></asp:Label></td>

 

 

 

 

 

<td style="width: 159px; height: 37px" valign="top">

 

 

 

 

 

<asp:DropDownList ID="drpEmployeeNo" runat="server" CssClass="MandatoryField" Width="180px">

 

</

 

asp:DropDownList></td>

 

 

 

 

 

<td style="width: 65px; height: 37px" valign="top">

 

 

 

 

 

</td>

 

 

 

 

 

<td style="width: 65px; height: 37px" valign="top">

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

<

 

tr visible=false>

 

<

 

TD valign="top" style=" width: 145px; height: 25px;">

 

 

 

 

 

 

<asp:Label ID="Label" runat="server" CssClass="label" Text="Created By" ToolTip="Employee Number"></asp:Label>

 

 

 

 

 

</TD>

 

<

 

TD valign="top" style=" width: 196px; height: 25px;">

 

 

 

 

 

<asp:DropDownList ID="drpCreatedUserID" runat="server" CssClass="MandatoryField" Width="175px">

 

</

 

asp:DropDownList>

 

 

 

 

 

</TD>

 

 

 

 

 

<td class="Label" colSpan="1" style="width: 175px; height: 25px;" valign="top">

 

 

 

 

 

<asp:Label ID="Label20" runat="server" CssClass="label" Text="Created Team" ToolTip="Created Team"></asp:Label>

 

 

 

 

 

</td>

 

 

 

 

 

<td style="width: 159px; height: 25px;" valign="top">

 

 

 

 

 

<asp:DropDownList ID="drpCreatedTeam" runat="server" CssClass="MandatoryField" Width="175px">

 

 

 

 

 

<asp:ListItem Value="P">Pricing Analyst</asp:ListItem>

 

 

 

 

 

<asp:ListItem Value="C">Client Staff</asp:ListItem>

 

 

 

 

 

<asp:ListItem Selected="True" Value="-1">All</asp:ListItem>

 

 

 

 

 

</asp:DropDownList>&nbsp;

 

 

 

 

 

</td>

 

 

 

 

 

<td style="width: 65px; height: 25px" valign="top">

 

 

 

 

 

</td>

 

<

 

TD valign="top" style="width: 65px; height: 25px;" >

 

 

 

 

 

</TD>

 

</

 

tr>

 

 

 

 

 

<tr visible="false">

 

 

 

 

 

<td style="width: 145px; height: 25px" valign="top">

 

 

 

 

 

<asp:Label ID="Label19" runat="server" CssClass="label" Text="Show Status"></asp:Label></td>

 

 

 

 

 

<td style="width: 196px; height: 25px" valign="top">

 

 

 

 

 

<asp:DropDownList ID="drpShowStatus" runat="server" CssClass="MandatoryField" Width="120px">

 

 

 

 

 

<asp:ListItem Value="-1">All</asp:ListItem>

 

 

 

 

 

<asp:ListItem Value="1" Selected="True">Non-Suppress</asp:ListItem>

 

 

 

 

 

<asp:ListItem Value="0">Suppress</asp:ListItem>

 

</

 

asp:DropDownList></td>

 

 

 

 

 

<td class="Label" colspan="1" style="width: 175px; height: 25px" valign="top">

 

 

 

 

 

<asp:Label ID="Label21" runat="server" CssClass="label" Text="Approval Status"></asp:Label></td>

 

 

 

 

 

<td style="width: 159px; height: 25px" valign="top">

 

 

 

 

 

<asp:DropDownList ID="drpApprovalStatus" runat="server" CssClass="MandatoryField" Width="120px">

 

 

 

 

 

<asp:ListItem Value="-1">All</asp:ListItem>

 

 

 

 

 

<asp:ListItem>Approved</asp:ListItem>

 

 

 

 

 

<asp:ListItem>Rejected</asp:ListItem>

 

 

 

 

 

<asp:ListItem>Under Review</asp:ListItem>

 

 

 

 

 

<asp:ListItem>For Deletion</asp:ListItem>

 

 

 

 

 

</asp:DropDownList></td>

 

 

 

 

 

<td style="width: 65px; height: 25px" valign="top">

 

 

 

 

 

<asp:CheckBox ID="cbxFTEHours" runat="server" Text="Show FTE Hours" Checked="True" /></td>

 

 

 

 

 

<td style="width: 65px; height: 25px" valign="top">

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr ID="trwBillable" runat="server" visible=false >

 

<

 

TD valign="top" style=" width: 145px; height: 109px;">

 

 

 

 

 

<asp:Label ID="POP" runat="server" CssClass="label" Text="Period Of Performance"></asp:Label></TD>

 

<

 

TD valign="top" style=" width: 145px; height: 109px;">

 

 

 

 

 

<asp:DropDownList ID="drpPOPList" runat="server" CssClass="MandatoryField" Width="180px" AutoPostBack="True">

 

 

 

 

 

</asp:DropDownList></TD>

 

 

 

 

 

<td class="Label" colSpan="1" style="width: 145px; height: 109px;" valign="top">

 

 

 

 

 

<asp:CheckBox ID="cbxShowPOPBillable" runat="server" Checked="True" Text="Show POP Billable" Width="152px" AutoPostBack="True" /></td>

 

 

 

 

 

<td style="width: 145px; height: 109px;" valign="top" colspan=3>

 

 

 

 

 

<asp:CheckBox ID="cbxShowPOPCost" runat="server" Text="Show POP Cost"

 

 

 

 

 

Width="149px" AutoPostBack="True" /></td>

 

 

 

 

 

 

 

</

 

tr>

 

 

 

 

 

 

 

</

 

table>

 

 

 

 

 

<br />

 

</

 

FIELDSET>

 

 

 

 

 

 

 

<FIELDSET id="tblEmpSearchResult" runat=server >

 

 

 

 

 

<LEGEND style="FONT-WEIGHT: bold; color: #474575; font-size: 12px; font-style: normal; font-family: Arial; font-variant: normal;">

 

 

 

<a href="#" onclick="collapseFieldset(this)">Proposal Employee List </a>

 

 

 

 

 

</LEGEND>

 

 

 

 

 

<table width="100%" cellpadding=0 cellspacing=0 runat=server id="tabPeriod1">

 

 

 

 

 

 

 

<

 

tr>

 

<

 

td align="left" colspan="1" style="height: 20px; width: 18px;" valign="top">

 

 

<

 

TABLE id="TABLE1" cellSpacing="0" cellPadding="0" align="center" border="0"

 

 

 

 

 

runat="server">

 

 

 

 

 

 

 

 

<

 

tr>

 

<

 

TD class="LabelCol" vAlign="top" align="left" colSpan="8" width="90%" style="height: 15px">

 

 

 

 

 

&nbsp;<asp:Label ID="lblResult" runat="server" CssClass="ResultMsg"></asp:Label>

 

 

 

 

 

 

<asp:label id="lblErrorMsg" CssClass="errmsg" runat="server" Width="400px"></asp:label>

 

 

 

 

 

<asp:CheckBox ID="cbxAutoRefreshData" runat="server" Checked="false" Text="Auto Recalculate Data" Visible=false/>

 

 

 

 

 

<div align=right class="text_button" id="divBtnExport" runat="server" visible=false> &nbsp;<asp:LinkButton ID="lnkBtnExport" runat="server" ToolTip="Export to Excel" Width="110px">Export to Excel</asp:LinkButton></div></td>

 

 

 

 

 

 

 

</tr>

 

 

<

 

tr align=left ID="trwControlButton" runat="server" >

 

<

 

TD class="LabelCol" style="WIDTH: 50px; height: 44px;" vAlign="top" align="left" ID="TD1" runat="server">

 

 

 

 

 

 

</TD>

 

 

 

<

 

TD colspan="3" class="LabelCol" style="WIDTH: 109px; height: 44px;" vAlign="top" align="left" ID="trwAddEmployee" runat="server" >

 

 

 

 

 

<div class="text_button" id="div7" runat="server"><asp:LinkButton ID="lnkBtnEmployee" runat="server" ToolTip="Add New Employee" Width="132px" Visible="False">Add Employee</asp:LinkButton>

 

 

 

 

 

<button onclick="openWin(); return false;" style="color: #000099; background-color: #99ccff; height: 26px;">Add Employee</div>

 

 

 

 

 

</TD>

 

<

 

TD class="LabelCol" style="WIDTH: 109px; height: 44px;" vAlign="top" align="left" ID="trwAddCatAvg" runat="server">

 

 

 

 

 

<div class="text_button" id="div5" runat="server"><asp:LinkButton ID="lnkBtnAddCategoryAverage" runat="server" ToolTip="Add Category Average" Width="132px">Add Category Average</asp:LinkButton>

 

 

 

 

 

</div>

 

 

 

 

 

</TD>

 

 

 

 

 

<TD class="LabelCol" style="WIDTH: 109px; height: 44px;" vAlign="top" align="left" ID="trwAddTBD" runat="server" >

 

 

 

 

 

<div class="text_button" id="div6" runat="server"><asp:LinkButton ID="lnkBtnAddTBD" runat="server" ToolTip="Add TBD " Width="132px">Add TBD</asp:LinkButton>

 

 

 

 

 

</div>

 

 

 

 

 

</TD>

 

 

 

 

 

<TD class="LabelCol" vAlign="top" align="left" width="30" style="height: 44px" >

 

 

 

 

 

<div class="text_button" id="div1" runat="server"><asp:LinkButton ID="lnkBtnSaveTop" runat="server" ToolTip="Update Employee Data">Save</asp:LinkButton></div>

 

 

 

 

 

</td>

 

 

 

 

 

<TD class="LabelCol" vAlign="top" align="right" width="20" style="height: 44px" >

 

 

 

 

 

<div class="text_button" id="div9" runat="server" visible="true"><asp:LinkButton ID="lnkBtnRecalculateData" runat="server" ToolTip="Recalculate Data" Width="120px">Recalculate Data</asp:LinkButton></div>

 

 

 

 

 

<div class="text_button" id="div4" runat="server" visible="false"><asp:LinkButton ID="lnkBtnResetTop" runat="server" ToolTip="Reset Employee Data">Reset</asp:LinkButton></div>

 

 

 

 

 

</TD>

 

 

 

 

 

<TD class="LabelCol" vAlign="top" align="right" style="height: 44px" ><div class="text_button" id="divBtnRefreshRate" runat="server">

 

 

 

 

 

<asp:LinkButton ID="lnkBtnRefreshRate" runat="server" ToolTip="Refresh Rate" Width="80px">Refresh Rate</asp:LinkButton></div>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

</

 

table>

 

 

<telerik:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="false" VisibleStatusbar="false"

 

 

 

 

 

ReloadOnShow="true" runat="server" Skin="Sunset">

 

 

 

 

 

<Windows>

 

 

 

 

 

<telerik:RadWindow ID="RadWindow1" Width="950px" Height="600px"

 

 

Modal="true" Behaviors="Close" OnClientClose="OnClientClose"

 

 

 

 

 

NavigateUrl="ProposalEmployeeDetails.aspx?proposalVersionID=39"

 

 

runat="server" style="display:none;" Behavior="Close"

 

 

InitialBehavior="None" Left="" Top="">

 

 

 

 

 

</telerik:RadWindow>

 

 

 

 

 

</Windows>

 

 

 

 

 

</telerik:RadWindowManager>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

 

 

<TR runat=server id="trw_EmployeeTask">

 

 

 

 

 

 

<td align="center" width="100%" colspan=4>

 

 

 

 

 

<uc2:paging ID="pagingEmpDataTop" runat="server" EnableViewState="true" />

 

 

 

 

 

 

<div id="div_datagrid" runat="server">

 

 

 

<!--data grid list--><asp:datagrid id="dgd_EmpData" CssClass="DGrid" UseAccessibleHeader="True" runat="server" GridLines="Horizontal" Width="100%"

 

 

 

 

 

AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CellPadding="1" PageSize="1" ShowFooter="True" Visible="False">

 

 

 

 

 

<SelectedItemStyle CssClass="DGridSelItem"></SelectedItemStyle>

 

 

 

 

 

<AlternatingItemStyle CssClass="DGridAltItem"></AlternatingItemStyle>

 

 

 

 

 

<ItemStyle CssClass="DGridItem"></ItemStyle>

 

 

 

 

 

<HeaderStyle CssClass="DGridHdr"></HeaderStyle>

 

 

 

 

 

<FooterStyle CssClass="DGridHdr"></FooterStyle>

 

 

 

 

 

 

<PagerStyle VerticalAlign="Middle" NextPageText="Next" PrevPageText="Prev" HorizontalAlign="Center"

 

 

 

 

 

PageButtonCount="5" CssClass="DGridPgr" Mode="NumericPages" Visible="False"></PagerStyle>

 

 

 

 

 

</asp:datagrid>

 

 

 

 

 

 

</div>

 

 

 

<uc2:paging ID="pagingEmpDataBtm" runat="server" EnableViewState="true" Visible=false/>

 

 

 

 

 

 

 

<

 

table width="100%" cellpadding=0 cellspacing=0 border=0 runat=server id="tabPeriodUpdate1">

 

 

 

 

 

<tr>

 

<

 

TD class="LabelCol" vAlign="top" align="right" colspan=3 >

 

 

 

 

 

 

</td>

 

 

 

 

 

<TD class="LabelCol" vAlign="top" width=40 align="right" >

 

 

 

 

 

 

 

</TD>

 

 

 

 

 

 

</tr></table>

 

</

 

td>

 

 

 

 

 

</TR>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="left" style="text-align: left">

 

 

 

 

<%

-- &nbsp;&nbsp;&nbsp;<asp:UpdateProgress ID="UpdateProgressEmp" runat="server" AssociatedUpdatePanelID="UpdatePanel1">

 

<ProgressTemplate>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<asp:Image ID="ImageSearch" runat="server" ImageAlign="AbsMiddle" ImageUrl="Images/indicator_mozilla_blu.gif" />

Processing...

</ProgressTemplate>

</asp:UpdateProgress>--

 

%>

 

 

&nbsp;<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" Visible="true" runat="server">

 

 

 

 

 

<ContentTemplate>

 

 

 

 

 

<telerik:RadGrid ID="RadGridEmpData" runat="server" Width="800px" AllowPaging="True"

 

 

AutoGenerateColumns="False"

 

 

ShowStatusBar="True" EnableViewState="true"

 

 

AllowAutomaticUpdates="True"

 

 

GridLines="None" Height="200px" Skin="WebBlue" AllowSorting="True" >

 

 

 

 

 

<MasterTableView DataKeyNames="EmployeeNo" EditMode="InPlace"

 

 

CommandItemDisplay="Top" Height="200px" EnableViewState="False" >

 

 

 

 

 

<columns>

 

 

 

 

 

<telerik:GridEditCommandColumn EditImageUrl="IMAGES/Editor.gif"></telerik:GridEditCommandColumn>

 

 

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="EmployeeNo" DataField="EmployeeNo" HeaderText="Employee No" UniqueName="EmployeeNo">

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<asp:LinkButton ID="LinkButtonEmployeeNo" runat="server" Text='<%#Eval("EmployeeNo")%>'></asp:LinkButton>&nbsp;<%--<asp:LinkButton ID="LinkButton1" runat="server"><%#Eval("EmployeeNo")%></asp:LinkButton>--%>

 

 

</ItemTemplate>

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

&nbsp;<asp:LinkButton ID="LinkButtonEmployeeNo" runat="server" Text='<%#Eval("EmployeeNo")%>'></asp:LinkButton>

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" DataField="EmployeeName" HeaderText="Employee Name" SortExpression="EmployeeName" UniqueName="EmployeeName"><ItemStyle Width="250px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" DataField="Title" HeaderText="Title" SortExpression="Title" UniqueName="Title"><ItemStyle Width="250px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" DataField="OrigCostCenterName" HeaderText="Cost Center Name" SortExpression="OrigCostCenterName" UniqueName="OrigCostCenterName"><ItemStyle Width="300px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridTemplateColumn DataField="CostCenterName" HeaderText="Adj Cost Center Name" UniqueName="CostCenterName">

 

 

 

 

 

<ItemTemplate>

 

 

 

 

<%

#DataBinder.Eval(Container.DataItem, "CostCenterName")%>

 

 

</ItemTemplate>

 

 

 

 

 

<ItemStyle Width="300px" />

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

<telerik:RadComboBox DataTextField="CostCenterName"

 

 

DataValueField="AdjustedCC"

 

 

EnableLoadOnDemand="True"

 

 

ID="RadComboBoxAdjustedCC"

 

 

SelectedValue='<%#DataBinder.Eval(Container.DataItem, "AdjustedCC")%>'

 

 

 

 

 

SelectedText='<%#DataBinder.Eval(Container.DataItem, "CostCenterName")%>'

 

 

 

 

 

runat="server"

 

 

Height="140px"

 

 

Width="220px"

 

 

 

 

 

DataSourceID="ObjectDataSourceGetCostCenters">

 

 

 

 

 

</telerik:RadComboBox>

 

 

 

 

 

</EditItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

<telerik:GridTemplateColumn DataField="Site" HeaderText="Site" UniqueName="Site">

 

 

 

 

 

<ItemTemplate>

 

 

 

 

<%

#DataBinder.Eval(Container.DataItem, "Site")%>

 

 

</ItemTemplate>

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

<asp:DropDownList ID="DropDownListSite" runat="server"

 

 

 

 

 

SelectedValue = '<%#DataBinder.Eval(Container.DataItem, "Site")%>'>

 

 

 

 

 

<asp:ListItem Value=""></asp:ListItem>

 

 

 

 

 

<asp:ListItem Value="C">BAH</asp:ListItem>

 

 

 

 

 

<asp:ListItem Value="G">Govt.</asp:ListItem>

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

<telerik:GridTemplateColumn DataField="LaborSchedule" HeaderText="Labor Schedule" UniqueName="LaborSchedule">

 

 

 

 

 

<ItemTemplate >

 

 

 

 

 

<asp:Label id="LabelLaborSchedule" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "LaborSchedule")%>'

 

 

 

 

 

></asp:Label>

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

<ItemStyle Width="500px" />

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

<telerik:RadComboBox DataTextField="LaborSchedule"

 

 

 

 

 

DataValueField="LaborSchedule"

 

 

 

 

 

AutoPostBack="true"

 

 

 

 

 

EnableLoadOnDemand="True"

 

 

ID="RadComboBoxLaborschedule"

 

 

runat="server"

 

 

Height="140px"

 

 

Width="100px"

 

 

 

 

 

SelectedValue = '<%#DataBinder.Eval(Container.DataItem, "LaborSchedule")%>'

 

 

 

 

 

SelectedText = '<%#DataBinder.Eval(Container.DataItem, "LaborSchedule")%>'

 

 

 

 

 

DataSourceId = "ObjectDataSourceGetSchedules"

 

 

 

 

 

OnSelectedIndexChanged="RadComboBoxLaborschedule_SelectedIndexChanged"

 

 

>

 

 

 

 

 

</telerik:RadComboBox>

 

 

 

 

 

</EditItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

<telerik:GridTemplateColumn DataField="LaborCategoryDesc" HeaderText="LaborCategoryDesc" UniqueName="LaborCategoryDesc">

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<asp:Label id="LabelLaborCategoryDesc" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "LaborCategoryDesc")%>'

 

 

 

 

 

></asp:Label>

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

<telerik:RadComboBox ID="RadComboBoxLaborCatDesc" runat="server"

 

 

DataTextField="LaborCategoryDesc"

 

 

 

 

 

DataValueField="LaborCategoryCode"

 

 

 

 

 

SelectedValue = '<%#DataBinder.Eval(Container.DataItem, "LaborCategoryCode")%>'

 

 

 

 

 

SelectedText = '<%#DataBinder.Eval(Container.DataItem, "LaborCategoryDesc")%>'

 

 

 

 

 

DataSourceId = "ObjectDataSourceLabelCategory"

 

 

 

 

 

>

 

 

 

 

 

</telerik:RadComboBox>

 

 

 

 

 

</EditItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" AllowFiltering="False" DataField="BillRate" DataType="System.Decimal" HeaderText="BillRate" SortExpression="BillRate" UniqueName="BillRate"><ItemStyle Width="120px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" AllowFiltering="False" DataField="BurdenRate" DataType="System.Decimal" HeaderText="BurdenRate" SortExpression="BurdenRate" UniqueName="BurdenRate"><ItemStyle Width="120px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" AllowFiltering="False" DataField="Profit" DataType="System.Decimal" HeaderText="Profit" SortExpression="Profit" UniqueName="Profit"><ItemStyle Width="120px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" AllowFiltering="False" DataField="CostRate" DataType="System.Decimal" HeaderText="CostRate" SortExpression="CostRate" UniqueName="CostRate"><ItemStyle Width="120px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" AllowFiltering="False" DataField="AssessmentDate" DataType="System.DateTime" DataFormatString="{0:d}" HeaderText="AssessmentDate" SortExpression="AssessmentDate" UniqueName="AssessmentDate"><ItemStyle Width="120px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" AllowFiltering="False" DataField="LaborCategoryCode" HeaderText="LaborCategoryCode" SortExpression="LaborCategoryCode" UniqueName="LaborCategoryCode"><ItemStyle Width="120px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" AllowFiltering="False" DataField="ChangedUserId" HeaderText="ChangedUserId" SortExpression="ChangedUserId" UniqueName="ChangedUserId"><ItemStyle Width="120px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" AllowFiltering="False" DataField="EnteredBy" HeaderText="EnteredBy" SortExpression="EnteredBy" UniqueName="EnteredBy"><ItemStyle Width="120px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" AllowFiltering="False" DataField="Notes" HeaderText="Notes" SortExpression="Notes" UniqueName="Notes"><ItemStyle Width="120px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" AllowFiltering="False" DataField="Education" HeaderText="Education" SortExpression="Education" UniqueName="Education"><ItemStyle Width="120px" /></telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn ReadOnly="True" AllowFiltering="False" DataField="Experience" HeaderText="Experience" SortExpression="Experience" UniqueName="Experience"><ItemStyle Width="120px" /></telerik:GridBoundColumn>

 

 

 

 

 

</columns>

 

 

 

 

 

<EditFormSettings>

 

 

 

 

 

<EditColumn UniqueName="EditCommandColumn1">

 

 

 

 

 

</EditColumn>

 

 

 

 

 

</EditFormSettings>

 

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

<ClientSettings>

 

 

 

 

 

<ClientEvents OnRowClick="RowClick" OnRowDblClick="RowDblClick"

 

 

 

 

 

OnGridCreated="GridCreated" OnCommand="GridCommand" />

 

 

 

 

 

<Scrolling FrozenColumnsCount="2" />

 

 

 

 

 

</ClientSettings>

 

 

 

 

 

<SelectedItemStyle BackColor="#FFE0C0" />

 

 

 

 

 

<EditItemStyle BackColor="#C0C0FF" />

 

 

 

 

 

</telerik:RadGrid>

 

 

 

 

 

&nbsp;

 

 

 

 

 

<asp:ObjectDataSource ID="ObjectDataSourceGetCostCenters" runat="server" SelectMethod="GetCostCenters"

 

 

 

 

 

TypeName="BAH.ePricing.BusinessLayer.ProposalEmployee"></asp:ObjectDataSource>

 

 

 

 

 

<asp:ObjectDataSource ID="ObjectDataSourceLabelCategory" runat="server" SelectMethod="GetlabourCategoriesForSchedule"

 

 

 

 

 

TypeName="BAH.ePricing.BusinessLayer.ProposalEmployee">

 

 

 

 

 

<SelectParameters>

 

 

 

 

 

<asp:SessionParameter Name="LaborSchedule" SessionField="LaborSchedule" Type="String" />

 

 

 

 

 

</SelectParameters>

 

 

 

 

 

</asp:ObjectDataSource>

 

 

 

 

 

<asp:ObjectDataSource ID="ObjectDataSourceGetSchedules" runat="server" SelectMethod="GetlaborSchedules"

 

 

 

 

 

TypeName="BAH.ePricing.BusinessLayer.ProposalEmployee"></asp:ObjectDataSource>

 

 

 

 

 

</ContentTemplate>

 

 

 

 

 

</asp:UpdatePanel>

 

 

 

 

 

&nbsp; &nbsp;

 

 

 

 

 

&nbsp;

 

 

 

 

 

&nbsp;

 

 

 

 

 

<telerik:RadGrid ID="RadGridEmpData2" runat="server" Visible="False">

 

 

 

 

 

<MasterTableView>

 

 

 

 

 

<ExpandCollapseColumn>

 

 

 

 

 

<HeaderStyle Width="20px" />

 

 

 

 

 

</ExpandCollapseColumn>

 

 

 

 

 

<RowIndicatorColumn>

 

 

 

 

 

<HeaderStyle Width="20px" />

 

 

 

 

 

</RowIndicatorColumn>

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

</telerik:RadGrid></td>

 

 

 

 

 

</tr>

 

 

 

 

 

</table>

 

<

 

br />

 

 

 

 

</FIELDSET>

 

 

 

 

 

 

 

 

<FIELDSET ID="tbl_EmpDetails" runat="server" width="100%" >

 

 

 

 

 

 

<LEGEND style="FONT-WEIGHT: bold; color: #474575; font-size: 12px; font-style: normal; font-family: Arial; font-variant: normal;">

 

 

 

<a href="#" onclick="collapseFieldset(this)">Proposal Employee Details</a>

 

 

 

 

 

</LEGEND>

 

 

 

 

 

<br />

 

 

 

 

 

<table id=tbl_EmpDetails1 runat=server width="1000" border="0" cellpadding="0" cellspacing="0" class="TGrid" align="left" >

 

 

 

 

 

 

<tr class="DGridItem" valign="middle" runat=server id="trwEmpControlButtons">

 

 

 

 

 

<td colspan=6 >

 

 

 

 

 

<table width="98%" border="0" cellpadding="0" cellspacing="0" >

 

 

 

 

 

 

 

<tr class="DGridItem" >

 

<

 

TD class="LabelCol" vAlign="top" align="left" colSpan="2" width="80%">

 

 

 

 

 

<asp:Label ID="lblResult1" runat="server" CssClass="ResultMsg"></asp:Label>

 

 

 

 

 

<asp:label id="lblErrorMsg1" CssClass="errmsg" runat="server"></asp:label></td>

 

 

 

 

 

 

<TD class="LabelCol" style="height: 4px;" vAlign="top" align="right" id="tdApprove" runat="server" width="50" >

 

 

 

 

 

<div class="text_button" id="Div2" runat="server">

 

 

 

 

 

<asp:LinkButton ID="lnkBtnApprove" runat="server" ToolTip="Approve">Approve</asp:LinkButton></div>

 

 

 

 

 

</td>

 

 

 

 

 

<TD class="LabelCol" style="height: 4px;" vAlign="top" align="left" width="50" id="tdReject" runat="server">

 

 

 

 

 

<div class="text_button" id="divResetTop" runat="server">

 

 

 

 

 

<asp:LinkButton ID="lnkBtnReject" runat="server" ToolTip="Reject">Reject</asp:LinkButton></div>

 

 

 

 

 

</td>

 

 

 

 

 

<TD class="LabelCol" style="height: 4px;" vAlign="top" align="right" id="tdSave" runat="server" width="50">

 

 

 

 

 

<div class="text_button" id="divSaveTop" runat="server">

 

 

 

 

 

<asp:LinkButton ID="lnkBtnSaveDetailsTop" runat="server" ToolTip="Update Employee Data" Width="80px">Save & Close </asp:LinkButton></div>

 

 

 

 

 

</td>

 

 

 

 

 

<TD class="LabelCol" style="height: 4px;" vAlign="top" align="left" width="50" id="tdDelete" runat="server">

 

 

 

 

 

<div class="text_button" id="divReset" runat="server" visible=false>

 

 

 

 

 

<asp:LinkButton ID="lnkBtnDelete" runat="server" ToolTip="Delete">Delete</asp:LinkButton></div>

 

 

 

 

 

</td>

 

 

 

 

 

<td align="left" class="LabelCol" style="height: 4px" valign="top" width="50" id="tdCancel" runat="server">

 

 

 

 

 

<div class="text_button" id="Div3" runat="server">

 

 

 

 

 

<asp:LinkButton ID="lnkBtnCancel" runat="server" ToolTip="Close">Cancel</asp:LinkButton></div>

 

 

 

 

 

</td>

 

 

 

 

 

 

 

</tr></table>

 

 

 

 

 

</td></tr>

 

 

 

 

 

<tr class="DGridItem" valign="middle">

 

 

 

 

 

<Th class="LabelCol" align="left" valign="top" style="height: 38px" width="120">

 

 

 

 

 

<asp:Label ID="Label32" runat="server" Width="88px">Employee No.</asp:Label></th>

 

 

 

 

 

<TD style="height: 38px;" width="180" align="left" valign="top">

 

 

 

 

 

<asp:Label ID="lblEmployeeNo" runat="server" Width="83px"></asp:Label></td>

 

 

 

 

 

<Th class="LabelCol" align="left" valign="top" style="height: 38px" width="120">

 

 

 

 

 

<asp:Label ID="Label4" runat="server" Width="98px">Employee Name</asp:Label></th>

 

 

 

 

 

<TD style="height: 38px;" width="120" align="left" valign="top">

 

 

 

 

 

<asp:Label ID="lblEmployeeName" runat="server" Width="120px"></asp:Label>

 

 

 

 

 

<asp:TextBox ID="txtTBDEmployeeName" runat="server" CssClass="MandatoryField" Width="120px"></asp:TextBox></td>

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 38px; width: 72px;" valign="top">

 

 

 

 

 

<asp:Label ID="Label3" runat="server" Width="62px">Title</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 38px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="lblTitle" runat="server" Width="152px"></asp:Label>

 

 

 

 

 

<asp:DropDownList ID="drpTBDTitle" runat="server" CssClass="MandatoryField" Width="180px">

 

 

 

 

 

</asp:DropDownList></td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr class="DGridItem" valign="middle">

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label5" runat="server" Width="83px">Adjusted CC</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="180">

 

 

 

 

 

<asp:DropDownList ID="drpCostCenterForEmployee" runat="server" CssClass="MandatoryField" Width="120px" AutoPostBack="True">

 

 

 

 

 

</asp:DropDownList></td>

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label14" runat="server" Width="83px">Original CC</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="lblOriginalCC" runat="server" Width="83px"></asp:Label></td>

 

 

 

 

 

<th align="left" class="LabelCol" style="width: 72px; height: 30px" valign="top">

 

 

 

 

 

<asp:Label ID="Label6" runat="server" Width="91px">Site</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="120">

 

 

 

 

 

 

<asp:DropDownList ID="drpSite" runat="server" CssClass="MandatoryField" Width="120px" AutoPostBack="True">

 

 

 

 

 

<asp:ListItem Selected="True" Value="C">BAH</asp:ListItem>

 

 

 

 

 

<asp:ListItem Value="G">Govt</asp:ListItem>

 

 

 

 

 

</asp:DropDownList></td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr class="DGridItem" valign="middle" ID="trwAnnualSalary" runat="server">

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label22" runat="server" CssClass="ReadOnly" Width="106px">Annual Salary</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="180">

 

 

 

 

 

<asp:TextBox ID="txtAnnualSalary" runat="server" CssClass="MandatoryField" Width="120px" AutoPostBack="True"></asp:TextBox></td>

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label23" runat="server" CssClass="ReadOnly" Width="106px">40 Hrs Wage Rate</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="120">

 

 

 

 

 

 

<asp:TextBox ID="txtTBDWageRate" runat="server" AutoPostBack="True" CssClass="MandatoryField"

 

 

 

 

 

Width="120px"></asp:TextBox></td>

 

 

 

 

 

<th align="left" class="LabelCol" style="width: 72px; height: 30px" valign="top">

 

 

 

 

 

</th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="120">

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr class="DGridItem" valign="middle">

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label10" runat="server" Width="101px">Labor Rate Table</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="180">

 

 

 

 

 

<asp:DropDownList ID="drpContractVehicle" runat="server" CssClass="hidden" Width="120px" AutoPostBack="True" Visible="False">

 

 

 

 

 

<asp:ListItem Selected="True" Value="IT">IT</asp:ListItem>

 

 

 

 

 

<asp:ListItem Value="Mobis">Mobis</asp:ListItem>

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

<asp:Label ID="lblContractVehicle" runat="server" Width="83px"></asp:Label></td>

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label8" runat="server" Width="91px">Labor Category</asp:Label></th>

 

 

 

 

 

<td align="left" colspan="3" style="height: 30px" valign="top">

 

 

 

 

 

<asp:DropDownList ID="drpLaborCategory" runat="server" CssClass="MandatoryField" Width="350px" AutoPostBack="True">

 

 

 

 

 

</asp:DropDownList></td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr class="DGridItem" valign="middle">

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label16" runat="server" Width="83px">Education</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="180">

 

 

 

 

 

<asp:Label ID="lblEducation" runat="server" Width="180px"></asp:Label></td>

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label18" runat="server" Width="83px">Experience</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="lblExperience" runat="server" Width="150px"></asp:Label></td>

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="label123" runat="server" Width="104px">Assessment Date</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="120">

 

 

 

 

 

 

 

<asp:Label ID="lblAssmtDate" runat="server" Width="120px"></asp:Label></td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr class="DGridItem" valign="middle">

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label11" runat="server" CssClass="ReadOnly" Width="106px">Burdened Rate</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="180">

 

 

 

 

 

<asp:Label ID="lblBurdenedRate" runat="server" Width="83px"></asp:Label>

 

 

 

 

 

<asp:Label ID="txtDummyBurdenValue" runat="server" Width="83px"></asp:Label></td>

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label9" runat="server" CssClass="ReadOnly">Bill Rate</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="lblBillRate" runat="server" Width="83px"></asp:Label></td>

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label15" runat="server" CssClass="ReadOnly" ToolTip="(BillRate-CostRate)/BillRate">Approx.Profit</asp:Label></th>

 

 

 

 

 

<td align="left" style="height: 30px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="lblProfit" runat="server" Width="83px" ToolTip="(BillRate-CostRate)/BillRate"></asp:Label>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 17px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="Label13" runat="server" Width="83px">New Notes</asp:Label></th>

 

 

 

 

 

<td align="left" colspan="2" style="height: 17px" valign="top" width="180">

 

 

 

 

 

<asp:TextBox ID="txtNewNotes" runat="server" Columns="5" Rows="4" TextMode="MultiLine"

 

 

 

 

 

width="300px"></asp:TextBox></td>

 

 

 

 

 

<th align="left" class="LabelCol" style="height: 17px" valign="top" width="120">

 

 

 

 

 

<asp:Label ID="LabeprevNotes" runat="server" Width="136px">Previous Notes</asp:Label></th>

 

 

 

 

 

<td align="left" colspan="2" style="height: 17px" valign="top" >

 

 

 

 

 

<asp:TextBox ID="txtPrevNotes" runat="server" Columns="5" ReadOnly="True"

 

 

 

 

 

Rows="4" TextMode="MultiLine" width="300px" Enabled="False"></asp:TextBox></td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<th class="LabelCol" width="120" align="left" valign="top" style="height: 71px">

 

 

 

 

 

<asp:Label ID="lblTipCreatedBy" runat="server" CssClass="LabelCol">Created UserId</asp:Label></th>

 

 

 

 

 

<td width="180" align="left" valign="top" style="height: 71px">

 

 

 

 

 

<asp:Label ID="lblCreatedBy" runat="server" CssClass="ReadOnly" Width="110px">805465</asp:Label></td>

 

 

 

 

 

<th class="LabelCol" align="left" valign="top" width="120" style="height: 71px">

 

 

 

 

 

<asp:Label ID="lblTipCreatedDate" runat="server" CssClass="LabelCol">Created Date</asp:Label></th>

 

 

 

 

 

<td align="left" valign="top" width="120" style="height: 71px">

 

 

 

 

 

<asp:Label ID="lblCreatedDate" runat="server" CssClass="ReadOnly">12/09/2008</asp:Label></td>

 

 

 

 

 

<th class="LabelCol" align="left" valign="top" style="height: 71px;">

 

 

 

 

 

<asp:Label ID="ReferenceID" runat="server" CssClass="ReadOnly"></asp:Label></th>

 

 

 

 

 

<td align="left" valign="top" width="120" style="height: 71px">

 

 

 

 

 

<asp:Label ID="lblRefId" runat="server" CssClass="ReadOnly" Width="110px">10001</asp:Label></td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr class="DGridItem" valign="middle">

 

 

 

 

 

<th class="LabelCol" width="120" align="left" valign="top" style="height: 39px">

 

 

 

 

 

<asp:Label ID="lblTipChangedBy" runat="server" CssClass="LabelCol">Modified UserId</asp:Label></th>

 

 

 

 

 

<td width="180" align="left" valign="top" style="height: 39px">

 

 

 

 

 

<asp:Label ID="lblChangedBy" runat="server" CssClass="ReadOnly" Width="110px"></asp:Label></td>

 

 

 

 

 

<th class="LabelCol" align="left" valign="top" width="120" style="height: 39px">

 

 

 

 

 

<asp:Label ID="lblTipChangedDate" runat="server" CssClass="LabelCol">Modified Date</asp:Label></th>

 

 

 

 

 

<td align="left" valign="top" width="120" style="height: 39px">

 

 

 

 

 

<asp:Label ID="lblChangedDate" runat="server" CssClass="ReadOnly"></asp:Label></td>

 

 

 

 

 

<th class="LabelCol" align="left" valign="top" style="height: 39px;">

 

 

 

 

 

</th>

 

 

 

 

 

<td align="left" valign="top" width="120" style="height: 39px">

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

</

 

tr>

 

 

 

 

 

</table><br />

 

 

 

 

 

 

 

</FIELDSET >

 

 

 

 

 

 

 

 

 

 

<asp:TextBox ID="txtEmpSchSortOrder" runat="server" Visible=false></asp:TextBox>

 

 

 

 

 

<asp:TextBox ID="txtEmployeeModule" runat="server" Visible=false></asp:TextBox>

 

 

 

 

 

<asp:TextBox ID="txtEmployeeTaskGroupID" runat="server" Visible=false></asp:TextBox>

 

 

 

 

 

<asp:TextBox ID="txtEmpDataSortOrder" runat="server" Visible=false></asp:TextBox>

 

 

 

 

 

<asp:Button ID="ButtonSave" runat="server" Text="Button" Width="22px" />

 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 16 Sep 2009, 02:29 PM
Hi Suresh,

Unfortunately I was not able to run your code. Could you please open a new support ticket and send a runnable project (including the datasource) that reproduces the error. I will debug it and do my best to provide a working solution.

Sincerely yours,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Suresh Mishra
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or