Welcome Guest Search | Active Topics | Sign In | Register

Context Menu disappear after Postback Options
hunpirate
Posted: Monday, October 22, 2012 3:17:33 PM
Rank: Advanced Member
Groups: Member

Joined: 6/14/2007
Posts: 83
Hi,

I'm using the context menu object the first time. The menu item declared on the aspx page, but the items are added during load.

The menu perfectly working when the page loads the first time, but replaced by the standard system right click menu after postback.

I tried to rebuild the menu on all load events, even reassign the "ContextControlID" values but no preveil. I just can not make the menu appear upon right click on the object it is assign to.

Am I missing something?


Thanks

Steve Komaromi

Computer Systems Manager, Lead Developer
Business Risk Partners, Inc.
Tel: 1-(860)-903-0039
eo_support
Posted: Monday, October 22, 2012 4:37:47 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

You can post a test page that demonstrates the problem and we will be happy to take a look.

Thanks!
hunpirate
Posted: Tuesday, October 23, 2012 9:05:22 AM
Rank: Advanced Member
Groups: Member

Joined: 6/14/2007
Posts: 83
Hi,

Function PopulateContextMenuValues() currently is being call from "Page_PreRenderComplete" event, but it failed being called from the Load_Page event as well.


<%@ Page SmartNavigation="true" Language="vb" AutoEventWireup="false" CodeBehind="folder_uwwork.aspx.vb" Inherits="BRP.SubmissionTracker.folder_uwwork" %>

<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Submission Tracker - Folder View</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR" />
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE" />
<meta content="JavaScript" name="vs_defaultClientScript" />
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" />
<link rel="stylesheet" href="../StyleSheet1.css" type="text/css" />
<script language="JavaScript" type="text/javascript">

function OpenPrintWindow(strURLPairs, blnSetFocus) {
var winTargetPrint
var strUrlPrint
strUrlPrint = "print_uwwork.aspx?" + strURLPairs
winTargetPrint = window.open(strUrlPrint, 'PrintWorksheet', "HEIGHT=650,WIDTH=700,status=yes,scrollbars=yes");
if (blnSetFocus) {
winTargetPrint.focus();
}
}

function OpenInWindow(strURLPairs, strAppType, strWinName, blnSetFocus) {
var winTarget
var strUrl
if (strAppType == "HI") {
strUrl = "RatingFactorsHI.aspx?" + strURLPairs
}
if (strAppType == "AE") {
strUrl = "RatingFactorsAE.aspx?" + strURLPairs
}
if (strAppType == "MPL") {
strUrl = "RatingFactorsMPL.aspx?" + strURLPairs
}

winTarget = window.open(strUrl, strWinName, "HEIGHT=650,WIDTH=700,status=no,scrollbars=yes");
if (blnSetFocus) {
winTarget.focus();
}
}

function ViewEnd(strUrl, strEnd) {
var winTargetEnd
winTargetEnd = window.open(strUrl, strEnd, 'LEFT=10,TOP=10,HEIGHT=650,WIDTH=1000,status=yes,scrollbars=no');
winTargetEnd.focus();
}

function ViewEndSpecial(strUrl, strEnd) {
var winTargetEnd
winTargetEnd = window.open(strUrl, strEnd, 'LEFT=10,TOP=10,HEIGHT=650,WIDTH=1000,status=yes,scrollbars=no');
winTargetEnd.focus();
}

function EditEndSpecial(strURL) {
var winTargetEnd;
winTargetEnd = window.open(strURL, 'EndSpec', 'LEFT=50,TOP=50,WIDTH=658,HEIGHT=415,status=yes,titlebar=no,scrollbars=no,resizable=no', 'true');
winTargetEnd.focus();
}

function AssignContextMenuValue(ProposalID, LimitPerClaim, AggLimit) {

if (ProposalID == "1") {
document.getElementById("txtPerClaimLimit1").value = LimitPerClaim;
document.getElementById("txtAggClaimLimit1").value = AggLimit;
if (LimitPerClaim < AggLimit) {
document.getElementById("chkSplitLimit1").checked = true;}
else {
document.getElementById("chkSplitLimit1").checked = false;}
}
else if (ProposalID == "2") {
document.getElementById("txtPerClaimLimit2").value = LimitPerClaim;
document.getElementById("txtAggClaimLimit2").value = AggLimit;
if (LimitPerClaim < AggLimit) {
document.getElementById("chkSplitLimit2").checked = true;}
else {
document.getElementById("chkSplitLimit2").checked = false;}
}
else if (ProposalID == "3") {
document.getElementById("txtPerClaimLimit3").value = LimitPerClaim;
document.getElementById("txtAggClaimLimit3").value = AggLimit;
if (LimitPerClaim < AggLimit) {
document.getElementById("chkSplitLimit3").checked = true;}
else {
document.getElementById("chkSplitLimit3").checked = false;}
}
else if (ProposalID == "4") {
document.getElementById("txtPerClaimLimit4").value = LimitPerClaim;
document.getElementById("txtAggClaimLimit4").value = AggLimit;
if (LimitPerClaim < AggLimit) {
document.getElementById("chkSplitLimit4").checked = true;}
else {
document.getElementById("chkSplitLimit4").checked = false;}
}
else {alert("unknown Proposal ID");}
}
</script>

</head>
<body>
<form id="WorksheetMPL" method="post" runat="server">
<table border="0" cellspacing="0" cellpadding="0" style="left: 0px; position: absolute; top: 0px">
<tr>
<td id="tdHead" colspan="2" runat="server"></td>
</tr>
<tr>
<!---------------------------- Start Folder Navigation ------------------------------->
<td id="tdTree" runat="server" width="174" height="600" valign="top" bgcolor="white"></td>
<td width="812" valign="top">
<!-- Start UW Worksheet Here --------------------------------------------------->
<div style="border-right: white 1px solid; border-top: white 1px solid; z-index: 103;
left: 0px; border-left: black 1px solid; width: 812px; border-bottom: white 1px solid;
position: relative; top: 3px; height: 2000px">
<div id="divOverlay" runat="server"></div>
<table width="812" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15">&nbsp;</td>
<td width="790">
<!-- Reviewer ------------------------------------------------------------>
<table width="790" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top">
<asp:Label ID="lblReviewStatus" runat="server" CssClass="Field_Label"></asp:Label>&nbsp;&nbsp;
<asp:Label ID="lblReviewer" runat="server" CssClass="Regular_Text"></asp:Label>&nbsp;&nbsp;
<asp:Button ID="btnChangeProposal" runat="Server" Text="Change Proposal" CssClass="Btn_Small">
</asp:Button>
<asp:Button ID="btnSignReview" runat="Server" Text="Sign Review" CssClass="Btn_Small">
</asp:Button>&nbsp;&nbsp; </td>
<td align="right" valign="top">
<a runat="server" id="UWManualClass" class="Field_Label">Class Help</a> </td>
</tr>
<tr>
<td align="center" valign="top" colspan="2" height="0">
<asp:Label ID="lblReviewError" runat="server" CssClass="Regular_Text_Red"></asp:Label>
<asp:Label ID="lblLoadError" runat="server" CssClass="errors_field"></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="Head_Label" width="812" height="15" valign="top" colspan="2">
<asp:LinkButton ID="lnkStatistics" CssClass="HideShow_Label" ForeColor="#9b0901"
CommandName="lnkStatistics" Text="" OnClick="LinkButton_Click" runat="Server"></asp:LinkButton>
</td>
</tr>
<tr>
<td colspan="2">
<asp:Panel ID="pnlAS" runat="server" Visible="true">
<table>
<tr>
<td width="15">
&nbsp;</td>
<td valign="top" width="790">
<fieldset id="fs2" title="" style="background-color: #f6e7e6">
<table class="Field_Label" cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td valign="top">
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td class="Field_Label" width="130">&nbsp;</td>
<td class="Field_Label" width="70">Year</td>
<td class="Field_Label" align="center" width="65">Gross Hit Ratio</td>
<td class="Field_Label" width="15"></td>
<td class="Field_Label" align="center" width="65">Premium Retention</td>
<td class="Field_Label" width="15"></td>
<td class="Field_Label" width="80">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Premium</td>
<td width="350"></td>
</tr>
<asp:Repeater ID="rptStatsPrevYr" runat="Server" EnableViewState="True">
<ItemTemplate>
<tr>
<td class="Field_Label">
<%# Databinder.eval(Container.DataItem, ("RowLabel"))%></td>
<td class="Field_Label">
<%# Databinder.eval(Container.DataItem, ("StatYear"))%></td>
<td class="Regular_Text" align="right">
<%# IIF(Databinder.eval(Container.DataItem, ("GrossHitRatio")) = -1.0, "[div by 0]", Convert.ToDecimal(Databinder.eval(Container.DataItem, ("GrossHitRatio"))).ToString("##0.0") + "%") %>
&nbsp;&nbsp;&nbsp;</td>
<td></td>
<td class="Regular_Text" align="right">
<%# IIF(Databinder.eval(Container.DataItem, ("PremiumRetention")) = -1.0, "[div by 0]", Convert.ToDecimal(Databinder.eval(Container.DataItem, ("PremiumRetention"))).ToString("##0.0") + "%") %>
&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td></td>
<td class="Regular_Text" align="right">
<%# Convert.ToInt32(Databinder.eval(Container.DataItem, ("Premium"))).ToString("$###,###,##0")%></td>
<td></td>
</tr>
</ItemTemplate>
<FooterTemplate>
<tr>
<td colspan="8" height="7"></td>
</tr>
</FooterTemplate>
</asp:Repeater>
<asp:Repeater ID="rptStatsCurrYr" runat="Server" EnableViewState="True">
<ItemTemplate>
<tr>
<td class="Field_Label">
<%# Databinder.eval(Container.DataItem, ("RowLabel"))%></td>
<td class="Field_Label">
<%# Databinder.eval(Container.DataItem, ("StatYear"))%></td>
<td class="Regular_Text" align="right">
<%# IIF(Databinder.eval(Container.DataItem, ("GrossHitRatio")) = -1.0, "[div by 0]", Convert.ToDecimal(Databinder.eval(Container.DataItem, ("GrossHitRatio"))).ToString("##0.0") + "%") %>
&nbsp;&nbsp;&nbsp;</td>
<td></td>
<td class="Regular_Text" align="right">
<%# IIF(Databinder.eval(Container.DataItem, ("PremiumRetention")) = -1.0, "[div by 0]", Convert.ToDecimal(Databinder.eval(Container.DataItem, ("PremiumRetention"))).ToString("##0.0") + "%") %>
&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td></td>
<td class="Regular_Text" align="right">
<%# Convert.ToInt32(Databinder.eval(Container.DataItem, ("Premium"))).ToString("$###,###,##0")%></td>
<td></td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
</td>
</tr>
<tr>
<td height="5"></td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
<tr>
<td class="Head_Label" width="812" height="15" valign="top" colspan="2">
<asp:LinkButton CssClass="HideShow_Label" ForeColor="#b46800" CommandName="lnkRisk"
ID="lnkRisk" Text="" OnClick="LinkButton_Click" runat="Server"></asp:LinkButton>
</td>
</tr>
<tr>
<td colspan="2">
<asp:Panel ID="pnlRR" runat="server" Visible="true">
<table>
<tr>
<td width="15">
&nbsp;</td>
<td width="790">
<fieldset id="fs1" title="" style="background-color: #fff0cc">
<!-- put new table layout of risk related here -->
<table class="Field_Label" cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td>
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td valign="top" width="430">
<table cellspacing="0" cellpadding="0" width="400" border="0">
<tr>
<td class="Field_Label" width="60">
Class 1</td>
<td width="330">
<asp:Label ID="lblClass1" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td align="right">
<asp:Label ID="lblRevPercent1" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
<tr>
<td class="Field_Label">
Class 2</td>
<td>
<asp:Label ID="lblClass2" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td align="right">
<asp:Label ID="lblRevPercent2" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
<tr>
<td class="Field_Label">
Class 3</td>
<td>
<asp:Label ID="lblClass3" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td align="right">
<asp:Label ID="lblRevPercent3" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
<tr>
<td class="Field_Label" colspan="3" height="8">
</td>
</tr>
</table>
</td>
<td width="1">
&nbsp; </td>
<td class="Field_Label" valign="top" align="left" width="299">
Hazard Rating&nbsp;&nbsp;&nbsp;
<asp:Label ID="lblHazrat" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
<tr>
<td class="Field_Label" colspan="3">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td width="45%">
<span class="Field_Label">Applicant's Description of Risk - Current</span><br />
<div style="overflow: auto; height: 47px">
<asp:Label ID="lblDescRisk" runat="server" CssClass="Regular_Text"></asp:Label></div>
</td>
<td width="10%">
</td>
<td width="45%">
<span class="Field_Label">Applicant's Description of Risk - Last Yr</span><br />
<div style="overflow: auto; height: 47px">
<asp:Label ID="lblDescRiskLastYr" runat="server" CssClass="Regular_Text"></asp:Label></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="4">
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td class="Field_Label" width="80">&nbsp;</td>
<td class="Field_Label" width="60">Curr Rev</td>
<td class="Field_Label" width="60">Proj Rev</td>
<td class="Field_Label" width="60">Employees</td>
<td class="Field_Label" width="110">Prof Employees</td>
<td class="Field_Label" width="80">Bus Length</td>
</tr>
<tr>
<td class="Field_Label">Last Yr</td>
<td><asp:Label ID="lblExpRevenue" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td><asp:Label ID="lblExpNextYrRevenue" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td><asp:Label ID="lblExpNumEmp" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td><asp:Label ID="lblExpNumProfEmp" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td><asp:Label ID="lblExpBuslength" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
<tr>
<td class="Field_Label">Current Yr</td>
<td><asp:Label ID="lblRevenue" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td><asp:Label ID="lblNextYrRevenue" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td><asp:Label ID="lblNumEmp" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td><asp:Label ID="lblNumProfEmp" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td><asp:Label ID="lblBuslength" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td>
<!-- MPL -->
<asp:Panel ID="pnlMPLRisk" runat="server" Visible="true">
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td class="Field_Label" width="165">
Independent Contractor</td>
<td width="130">
<asp:Label ID="lblIndContractors" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td class="Field_Label" width="20">
</td>
<td class="Field_Label" width="110">
Contracts Used</td>
<td width="365">
<asp:Label ID="lblHaveContract" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
</table>
</asp:Panel>
<!-- End MPL -->
<!-- HI -->
<asp:Panel ID="pnlHI" runat="server" Visible="true">
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td class="Field_Label" width="170">
Annual Inspections &nbsp;
<asp:Label ID="lblInspections" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td class="Field_Label" width="170">
Residential % &nbsp;
<asp:Label ID="lblResInspectPercent" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td class="Field_Label" width="195">
Commercial % &nbsp;
<asp:Label ID="lblComInspectPercent" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td class="Field_Label" width="255">
Include Commercial Cov &nbsp;
<asp:Label ID="lblComCoverage" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td class="Field_Label" width="170">
Num of Inspectors &nbsp;
<asp:Label ID="lblNumHIProfEmp" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td class="Field_Label" width="170">
Num of Contactors &nbsp;
<asp:Label ID="lblNumContractors" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td class="Field_Label" width="195">
Include Contractor Cov &nbsp;
<asp:Label ID="lblContractorCov" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td class="Field_Label" width="255">
Contractors req to have E&amp;O? &nbsp;
<asp:Label ID="lblContractorEOReq" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td class="Field_Label" width="290">
Signed Agreements? &nbsp;
<asp:Label ID="lblHaveHIContract" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td class="Field_Label" width="500">
LOL Provision &nbsp;
<asp:Label ID="lblHaveLimitOfLiabilityProv" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
<tr>
<td width="290" colspan="2">
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td class="Field_Label" valign="top" width="250">
Engaged in other business &nbsp;
<asp:Label ID="lblOtherProfession" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td class="Field_Label" valign="top" nowrap width="150">
Other business desc </td>
<td class="Field_Label" valign="top" nowrap width="390">
<div style="overflow: auto; width: 390px; height: 47px">
<asp:Label ID="lblOtherProfessionDesc" runat="server" CssClass="Regular_Text"></asp:Label></div>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td class="Field_Label" width="250">
ASHI membership &nbsp;
<asp:Label ID="lblASHIMember" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td class="Field_Label" width="540">
ASHI Number &nbsp;
<asp:Label ID="lblMemberNum" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
</table>
</asp:Panel>
<!-- End HI -->
</td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td class="Field_Label" width="252">
Disciplined?&nbsp;
<asp:Label ID="lblDiscipline" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td width="17">
&nbsp;</td>
<td class="Field_Label" width="252">
Prior Claims?&nbsp;
<asp:Label ID="lblPriorClaims" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td width="17">
&nbsp;</td>
<td class="Field_Label" width="252">
Prior Knowledge?&nbsp;
<asp:Label ID="lblPriorKnowledge" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
<tr valign="top">
<td valign="top">
<div style="overflow: auto; height: 47px">
<asp:Label ID="lblDescDiscipline" runat="server" CssClass="Regular_Text"></asp:Label></div>
</td>
<td valign="top">
&nbsp;</td>
<td valign="top">
<div style="overflow: auto; height: 47px">
<asp:Label ID="lblDescPriorClaims" runat="server" CssClass="Regular_Text"></asp:Label></div>
</td>
<td valign="top">
&nbsp;</td>
<td valign="top">
<div style="overflow: auto; height: 47px">
<asp:Label ID="lblDescPriorKnowledge" runat="server" CssClass="Regular_Text"></asp:Label></div>
</td>
</tr>
<tr>
<td colspan="5">
&nbsp;</td>
</tr>
<tr>
<td class="Field_Label" valign="top" width="252">
List of Prior Premiums&nbsp;
<asp:Label ID="lblPriorPremiums" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td>&nbsp;</td>
<td valign="top">
<div style="overflow: auto; width: 150px; height: 47px">
<asp:Label ID="txtPriorPremiums" runat="server" CssClass="Regular_Text"></asp:Label></div>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="Field_Label" valign="bottom" width="252">
Total of Prior Premiums&nbsp;
<asp:Label ID="lblTotalOfPremiums" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td>&nbsp;</td>
<td valign="bottom">
<asp:Label ID="txtTotalOfPremiums" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
<tr>
<td class="Head_Label" width="812" height="20" valign="top" colspan="2">
<asp:LinkButton CssClass="HideShow_Label" ForeColor="#004184" CommandName="lnkProp"
ID="lnkProp" Text="" OnClick="LinkButton_Click" runat="Server"></asp:LinkButton>
</td>
</tr>
<tr>
<td colspan="2">
<table>
<tr>
<td>
<asp:Panel ID="pnlPR" runat="server" Visible="true" CssClass="Regular_Text">
<table>
<tr>
<td width="15">&nbsp;</td>
<td width="790">
<table width="790" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<!-- Quotes -->
<tr>
<td>
<fieldset>
<table cellspacing="0" cellpadding="0" width="790" bgcolor="#dae7eb" border="0">
<tr>
<td width="10"></td>
<td valign="top" width="250">
<asp:Label ID="lblExpCo" runat="server" CssClass="Field_Label"></asp:Label></td>
<td class="Field_Label" width="70">Prior Acts</td>
<td width="80"><asp:Label ID="lblExpPolicyPriorActs" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td class="Field_Label" width="75">Retro Date</td>
<td width="80"><asp:Label ID="lblExpPolicyRetroDate" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="790" bgcolor="#dae7eb" border="0">
<tr>
<td width="10"></td>
<td width="138"></td>
<td class="Field_Label" align="right" width="100">Per Claim Limit</td>
<td width="27"></td>
<td class="Field_Label" align="right" width="100">Agg. Limit</td>
<td class="Field_Label" align="right" width="81">Retention</td>
<td width="40"></td>
<td class="Field_Label" align="right" width="78">Premium</td>
<td width="52"></td>
<td class="Field_Label" align="center" width="79">+/- Loss<br />Experience</td>
<td class="Field_Label" align="center" width="73">+/- Subj.<br />Exposure</td>
<td width="7"></td>
</tr>
<tr>
<td width="10"></td>
<td class="Field_Label" width="138">Expiring</td>
<td align="right" width="100">
<asp:Label ID="lblExpPerClaimLimit" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td width="27"></td>
<td align="right" width="100">
<asp:Label ID="lblExpAggLimit" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td align="right" width="81">
<asp:Label ID="lblExpRetention" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td width="40"></td>
<td align="right" width="78">
<asp:Label ID="lblExpPremium" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td width="52"></td>
<td align="right" width="79">
<asp:Label ID="lblExpPlusMinusLossExperience" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td align="right" width="73">
<asp:Label ID="lblExpPlusMinusSubjectiveExposure" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td width="7"></td>
</tr>
<tr>
<td colspan="12"></td>
</tr>
<tr>
<td width="10"></td>
<td class="Field_Label" width="138">Quote Request 1</td>
<td align="right" width="100">
<asp:Label ID="lblReqPerClaimLimit1" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td width="27"></td>
<td align="right" width="100">
<asp:Label ID="lblReqAggLimit1" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td align="right" width="81">
<asp:Label ID="lblReqRetention1" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
</tr>
<tr>
<td colspan="5"></td>
</tr>
<tr>
<td width="10"></td>
<td class="Field_Label" width="138">Quote Request 2</td>
<td align="right" width="100">
<asp:Label ID="lblReqPerClaimLimit2" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td width="27"></td>
<td align="right" width="100">
<asp:Label ID="lblReqAggLimit2" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td align="right" width="81">
<asp:Label ID="lblReqRetention2" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td colspan="6"></td>
</tr>
<tr>
<td width="10"></td>
<td class="Field_Label" width="138">Quote Request 3</td>
<td align="right" width="100">
<asp:Label ID="lblReqPerClaimLimit3" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td width="27"></td>
<td align="right" width="100">
<asp:Label ID="lblReqAggLimit3" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td align="right" width="81">
<asp:Label ID="lblReqRetention3" runat="server" CssClass="Regular_Text"></asp:Label>
</td>
<td colspan="6"></td>
</tr>
</table>
<!-- Document/Carrier ------------------------------------>
<table cellspacing="0" cellpadding="0" border="0" width="790">
<tr>
<td height="35" bgcolor="#F4F8FB">
<hr style="border:1px solid #004184; height: 3px; background-color: #004184" noshade="noshade" size="4" />
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><asp:PlaceHolder ID="phDocumentSelector" runat="server"></asp:PlaceHolder></td>
</tr>
<tr>
<td><asp:PlaceHolder ID="phCarrierCoverageSelector" runat="server"></asp:PlaceHolder></td>
</tr>
</table>
<hr style="border:1px solid #004184; height: 3px; background-color: #004184" noshade="noshade" size="4" />
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td width="10"></td>
<td width="73"></td>
<td width="65"></td>
<td width="100"></td>
<td class="Field_Label" align="center" width="27">Split</td>
<td width="100"></td>
<td width="81"></td>
<td class="Field_Label" align="center" width="40">Partial</td>
<td width="78"></td>
<td class="Field_Label" align="center" width="52">Reverse</td>
<td class="Field_Label" align="center" width="79">+/- Loss<br />Experience</td>
<td class="Field_Label" align="center" width="73">+/- Subj.<br />Exposure</td>
</tr>
<tr>
<td width="10"></td>
<td colspan="11">
<asp:Label ID="lblRatingMsg" runat="server" CssClass="Regular_Text_Red" EnableViewState="False"></asp:Label>
</td>
</tr>
<!-- ENTER PROPOSALS ------------------------------------------------->
<tr>
<td width="10"></td>
<td class="Field_Label" width="73">Proposal 1</td>
<td width="65" align="center">
<asp:Label ID="lblRated1" CssClass="Regular_Text_Red" runat="server"></asp:Label>
</td>
<td align="right" width="100">
<asp:TextBox ID="txtPerClaimLimit1" runat="Server" Columns="12" MaxLength="11" CssClass="Regular_TextBox_Right"></asp:TextBox>
<eo:ContextMenu ID="LimitsCtxMenu1" runat="server" Width="120px" ContextControlID="txtPerClaimLimit1" ControlSkinID="None" SubMenuIconUrl="Blank">
<LookItems>
<eo:MenuItem ItemID="_Default" LeftIcon-HoverUrl="Triangle1" LeftIcon-SelectedUrl="Blank" LeftIcon-Url="Blank"
NormalStyle-CssText="BORDER-RIGHT: #7F9DB9 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #7F9DB9 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #7F9DB9 1px solid; COLOR: #003000; PADDING-TOP: 2px; BORDER-BOTTOM: #7F9DB9 1px solid; BACKGROUND-COLOR: #efefef"
HoverStyle-CssText="BORDER-RIGHT: #7F9DB9 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #7F9DB9 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #7F9DB9 1px solid; COLOR: #9c6500; PADDING-TOP: 2px; BORDER-BOTTOM: #7F9DB9 1px solid; BACKGROUND-COLOR: #efefef"
SelectedStyle-CssText="BORDER-RIGHT: #003000 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #003000 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #003000 1px solid; COLOR: white; PADDING-TOP: 2px; BORDER-BOTTOM: #003000 1px solid; BACKGROUND-COLOR: #316531">
<SubMenu ItemSpacing="0" LeftIconCellWidth="7" ShadowDepth="0" Style-CssClass="Regular_TextBox_Middle"
Style-CssText="PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; CURSOR: hand; COLOR: #003000; BORDER-TOP-STYLE: none; PADDING-TOP: 2px; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: transparent; BORDER-BOTTOM-STYLE: none">
</SubMenu>
</eo:MenuItem>
</LookItems>
<TopGroup Orientation="Vertical">
<Items></Items>
</TopGroup>
</eo:ContextMenu>
</td>
<td align="center" width="27">
<asp:CheckBox ID="chkSplitLimit1" runat="server" CssClass="Regular_Text"></asp:CheckBox></td>
<td align="right" width="100">
<asp:TextBox ID="txtAggClaimLimit1" runat="Server" Columns="12" MaxLength="14" CssClass="Regular_TextBox_Right"></asp:TextBox>
</td>
<td align="right" width="81">
<asp:TextBox ID="txtRetention1" runat="Server" Columns="8" MaxLength="9" CssClass="Regular_TextBox_Right"></asp:TextBox>
</td>
<td align="center" width="40">
<asp:CheckBox ID="chkPartial1" runat="server" AutoPostBack="false"
CssClass="Regular_Text"></asp:CheckBox>
</td>
<td align="right" width="78">
<asp:TextBox ID="txtPremium1" runat="Server" Columns="8" MaxLength="9" CssClass="Regular_TextBox_Right"></asp:TextBox>
</td>
<td align="center" width="52">
<asp:CheckBox ID="chkReverseQuote1" runat="server" CssClass="Regular_Text"></asp:CheckBox></td>
<td align="center" width="79">
<asp:TextBox ID="txtPlusMinusLossExperience1" runat="Server" Columns="6" MaxLength="7"
CssClass="Regular_TextBox_Right"></asp:TextBox></td>
<td width="73" align="center">
<asp:TextBox ID="txtPlusMinusSubjectiveExposure1" runat="server" Columns="6" MaxLength="7"
CssClass="Regular_TextBox_Right"></asp:TextBox></td>
</tr>
<tr>
<td width="10"></td>
<td class="Field_Label" width="73">Proposal 2</td>
<td width="65" align="center">
<asp:Label ID="lblRated2" CssClass="Regular_Text_Red" runat="server"></asp:Label>
</td>
<td align="right" width="100">
<asp:TextBox ID="txtPerClaimLimit2" runat="Server" Columns="12" MaxLength="11" CssClass="Regular_TextBox_Right"></asp:TextBox>
<eo:ContextMenu ID="LimitsCtxMenu2" runat="server" Width="120px" ContextControlID="txtPerClaimLimit2" ControlSkinID="None" SubMenuIconUrl="Blank">
<LookItems>
<eo:MenuItem ItemID="_Default" LeftIcon-HoverUrl="Triangle1" LeftIcon-SelectedUrl="Blank" LeftIcon-Url="Blank"
NormalStyle-CssText="BORDER-RIGHT: #7F9DB9 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #7F9DB9 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #7F9DB9 1px solid; COLOR: #003000; PADDING-TOP: 2px; BORDER-BOTTOM: #7F9DB9 1px solid; BACKGROUND-COLOR: #efefef"
HoverStyle-CssText="BORDER-RIGHT: #7F9DB9 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #7F9DB9 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #7F9DB9 1px solid; COLOR: #9c6500; PADDING-TOP: 2px; BORDER-BOTTOM: #7F9DB9 1px solid; BACKGROUND-COLOR: #efefef"
SelectedStyle-CssText="BORDER-RIGHT: #003000 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #003000 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #003000 1px solid; COLOR: white; PADDING-TOP: 2px; BORDER-BOTTOM: #003000 1px solid; BACKGROUND-COLOR: #316531">
<SubMenu ItemSpacing="0" LeftIconCellWidth="7" ShadowDepth="0" Style-CssClass="Regular_TextBox_Middle"
Style-CssText="PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; CURSOR: hand; COLOR: #003000; BORDER-TOP-STYLE: none; PADDING-TOP: 2px; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: transparent; BORDER-BOTTOM-STYLE: none">
</SubMenu>
</eo:MenuItem>
</LookItems>
<TopGroup Orientation="Vertical">
<Items></Items>
</TopGroup>
</eo:ContextMenu>
</td>
<td align="center" width="27">
<asp:CheckBox ID="chkSplitLimit2" runat="server" CssClass="Regular_Text"></asp:CheckBox></td>
<td align="right" width="100">
<asp:TextBox ID="txtAggClaimLimit2" runat="Server" Columns="12" MaxLength="14" CssClass="Regular_TextBox_Right"></asp:TextBox>
</td>
<td align="right" width="81">
<asp:TextBox ID="txtRetention2" runat="Server" Columns="8" MaxLength="9" CssClass="Regular_TextBox_Right"></asp:TextBox>
</td>
<td align="center" width="40">
<asp:CheckBox ID="chkPartial2" runat="server" AutoPostBack="false"
CssClass="Regular_Text"></asp:CheckBox>
</td>
<td align="right" width="78">
<asp:TextBox ID="txtPremium2" runat="Server" Columns="8" MaxLength="9" CssClass="Regular_TextBox_Right"></asp:TextBox>
</td>
<td align="center" width="52">
<asp:CheckBox ID="chkReverseQuote2" runat="server" CssClass="Regular_Text"></asp:CheckBox></td>
<td align="center" width="79">
<asp:TextBox ID="txtPlusMinusLossExperience2" runat="Server" Columns="6" MaxLength="7"
CssClass="Regular_TextBox_Right"></asp:TextBox></td>
<td width="73" align="center">
<asp:TextBox ID="txtPlusMinusSubjectiveExposure2" runat="server" Columns="6" MaxLength="7"
CssClass="Regular_TextBox_Right"></asp:TextBox></td>
</tr>
<tr>
<td width="10"></td>
<td class="Field_Label" width="73">Proposal 3</td>
<td width="65" align="center">
<asp:Label ID="lblRated3" CssClass="Regular_Text_Red" runat="server"></asp:Label>
</td>
<td align="right" width="100">
<asp:TextBox ID="txtPerClaimLimit3" runat="Server" Columns="12" MaxLength="11" CssClass="Regular_TextBox_Right"></asp:TextBox>
<eo:ContextMenu ID="LimitsCtxMenu3" runat="server" Width="120px" ContextControlID="txtPerClaimLimit3" ControlSkinID="None" SubMenuIconUrl="Blank">
<LookItems>
<eo:MenuItem ItemID="_Default" LeftIcon-HoverUrl="Triangle1" LeftIcon-SelectedUrl="Blank" LeftIcon-Url="Blank"
NormalStyle-CssText="BORDER-RIGHT: #7F9DB9 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #7F9DB9 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #7F9DB9 1px solid; COLOR: #003000; PADDING-TOP: 2px; BORDER-BOTTOM: #7F9DB9 1px solid; BACKGROUND-COLOR: #efefef"
HoverStyle-CssText="BORDER-RIGHT: #7F9DB9 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #7F9DB9 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #7F9DB9 1px solid; COLOR: #9c6500; PADDING-TOP: 2px; BORDER-BOTTOM: #7F9DB9 1px solid; BACKGROUND-COLOR: #efefef"
SelectedStyle-CssText="BORDER-RIGHT: #003000 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #003000 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #003000 1px solid; COLOR: white; PADDING-TOP: 2px; BORDER-BOTTOM: #003000 1px solid; BACKGROUND-COLOR: #316531">
<SubMenu ItemSpacing="0" LeftIconCellWidth="7" ShadowDepth="0" Style-CssClass="Regular_TextBox_Middle"
Style-CssText="PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; CURSOR: hand; COLOR: #003000; BORDER-TOP-STYLE: none; PADDING-TOP: 2px; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: transparent; BORDER-BOTTOM-STYLE: none">
</SubMenu>
</eo:MenuItem>
</LookItems>
<TopGroup Orientation="Vertical">
<Items></Items>
</TopGroup>
</eo:ContextMenu>
</td>
<td align="center" width="27">
<asp:CheckBox ID="chkSplitLimit3" runat="server" CssClass="Regular_Text"></asp:CheckBox></td>
<td align="right" width="100">
<asp:TextBox ID="txtAggClaimLimit3" runat="Server" Columns="12" MaxLength="14" CssClass="Regular_TextBox_Right"></asp:TextBox>
</td>
<td align="right" width="81">
<asp:TextBox ID="txtRetention3" runat="Server" CssClass="Regular_TextBox_Right" MaxLength="9"
Columns="8"></asp:TextBox></td>
<td align="center" width="40">
<asp:CheckBox ID="chkPartial3" runat="server" AutoPostBack="false"
CssClass="Regular_Text" /></td>
<td align="right" width="78">
<asp:TextBox ID="txtPremium3" runat="Server" CssClass="Regular_TextBox_Right" MaxLength="9"
Columns="8"></asp:TextBox></td>
<td align="center" width="52">
<asp:CheckBox ID="chkReverseQuote3" runat="server" CssClass="Regular_Text" /></td>
<td align="center" width="79">
<asp:TextBox ID="txtPlusMinusLossExperience3" runat="Server" Columns="6" MaxLength="7"
CssClass="Regular_TextBox_Right"></asp:TextBox></td>
<td width="73" align="center">
<asp:TextBox ID="txtPlusMinusSubjectiveExposure3" runat="server" CssClass="Regular_TextBox_Right"
MaxLength="7" Columns="6"></asp:TextBox></td>
</tr>
<tr>
<td width="10"></td>
<td class="Field_Label" width="73">Proposal 4</td>
<td width="65" align="center">
<asp:Label ID="lblRated4" runat="server" CssClass="Regular_Text_Red"></asp:Label>
</td>
<td align="right" width="100">
<asp:TextBox ID="txtPerClaimLimit4" runat="Server" CssClass="Regular_TextBox_Right" MaxLength="11" Columns="12"></asp:TextBox>
<eo:ContextMenu ID="LimitsCtxMenu4" runat="server" Width="120px" ContextControlID="txtPerClaimLimit4" ControlSkinID="None" SubMenuIconUrl="Blank">
<LookItems>
<eo:MenuItem ItemID="_Default" LeftIcon-HoverUrl="Triangle1" LeftIcon-SelectedUrl="Blank" LeftIcon-Url="Blank"
NormalStyle-CssText="BORDER-RIGHT: #7F9DB9 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #7F9DB9 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #7F9DB9 1px solid; COLOR: #003000; PADDING-TOP: 2px; BORDER-BOTTOM: #7F9DB9 1px solid; BACKGROUND-COLOR: #efefef"
HoverStyle-CssText="BORDER-RIGHT: #7F9DB9 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #7F9DB9 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #7F9DB9 1px solid; COLOR: #9c6500; PADDING-TOP: 2px; BORDER-BOTTOM: #7F9DB9 1px solid; BACKGROUND-COLOR: #efefef"
SelectedStyle-CssText="BORDER-RIGHT: #003000 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #003000 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #003000 1px solid; COLOR: white; PADDING-TOP: 2px; BORDER-BOTTOM: #003000 1px solid; BACKGROUND-COLOR: #316531">
<SubMenu ItemSpacing="0" LeftIconCellWidth="7" ShadowDepth="0" Style-CssClass="Regular_TextBox_Middle"
Style-CssText="PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; CURSOR: hand; COLOR: #003000; BORDER-TOP-STYLE: none; PADDING-TOP: 2px; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: transparent; BORDER-BOTTOM-STYLE: none">
</SubMenu>
</eo:MenuItem>
</LookItems>
<TopGroup Orientation="Vertical">
<Items></Items>
</TopGroup>
</eo:ContextMenu>
</td>
<td align="center" width="27">
<asp:CheckBox ID="chkSplitLimit4" runat="server" CssClass="Regular_Text" /></td>
<td align="right" width="100">
<asp:TextBox ID="txtAggClaimLimit4" runat="Server" CssClass="Regular_TextBox_Right"
MaxLength="14" Columns="12"></asp:TextBox></td>
<td align="right" width="81">
<asp:TextBox ID="txtRetention4" runat="Server" CssClass="Regular_TextBox_Right" MaxLength="9"
Columns="8"></asp:TextBox></td>
<td align="center" width="40">
<asp:CheckBox ID="chkPartial4" runat="server" AutoPostBack="false"
CssClass="Regular_Text" /></td>
<td align="right" width="78">
<asp:TextBox ID="txtPremium4" runat="Server" Columns="8" MaxLength="9" CssClass="Regular_TextBox_Right"></asp:TextBox>
</td>
<td align="center" width="52">
<asp:CheckBox ID="chkReverseQuote4" runat="server" CssClass="Regular_Text"></asp:CheckBox></td>
<td align="center" width="79">
<asp:TextBox ID="txtPlusMinusLossExperience4" runat="Server" Columns="6" MaxLength="7"
CssClass="Regular_TextBox_Right"></asp:TextBox></td>
<td width="73" align="center">
<asp:TextBox ID="txtPlusMinusSubjectiveExposure4" runat="server" Columns="6" MaxLength="7"
CssClass="Regular_TextBox_Right"></asp:TextBox></td>
</tr>
<tr>
<td colspan="12" height="10">
</td>
</tr>
</table>
<!--************************** START PRIOR ACTS, EXCESS, RETRODATE *****************************************************************************-->
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr valign="top">
<td width="10">
</td>
<td width="780">
<table cellspacing="0" cellpadding="0" width="780" border="0">
<tr height="30">
<td class="Field_Label" width="90"> Prior Acts</td>
<td class="Regular_Text" width="5">
</td>
<td class="Regular_Text" width="300">
<asp:DropDownList ID="dropPriorActs" runat="Server" CssClass="Regular_Text" Width="230">
<asp:ListItem Value="Date" Text="Date" />
<asp:ListItem Value="Full Prior Acts" Text="Full Prior Acts" />
<asp:ListItem Value="As per the Retroactive Date Endorsement" Text="As per the Retroactive Date Endorsement" />
<asp:ListItem Value="As per the Primary" Text="As per the Primary" />
<asp:ListItem Value="As per Current Policy" Text="As per Current Policy" />
<asp:ListItem Value="Inception" Text="Inception" />
</asp:DropDownList>
</td>
<td class="Field_Label" width="385">
<asp:Panel ID="pnlPartial" runat="server" Visible="true">
Partial Start&nbsp;&nbsp;
<asp:TextBox ID="txtPartialStart" runat="Server" CssClass="Regular_Text" MaxLength="10"
Width="80"></asp:TextBox>&nbsp;&nbsp;Partial End&nbsp;&nbsp;
<asp:TextBox ID="txtPartialEnd" runat="Server" CssClass="Regular_Text" MaxLength="10"
Width="80"></asp:TextBox>
</asp:Panel>
</td>
</tr>
<tr>
<td class="Field_Label" width="90">
<asp:Label ID="lblPriorActs" runat="server" CssClass="Field_Label">Retro Date</asp:Label>
</td>
<td class="Regular_Text" width="5">
</td>
<td class="Regular_Text" width="300">
<asp:TextBox ID="txtRetroDate" runat="Server" CssClass="Regular_Text" MaxLength="10" Width="80"></asp:TextBox>&nbsp;&nbsp;</td>
<td width="385"></td>
</tr>
</table>
</td>
</tr>
</table>
</fieldset>
<!-- prof serv -->
</td>
</tr>
</table>
<!--************************** END PRIOR ACTS, EXCESS, RETRODATE ******************************************************************************-->
<!--************************** START RATING BUTTONS **************************************************************************************************-->
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<td width="10" height="24"></td>
<td class="Field_Label" width="780">
<asp:Button ID="btnRateProposals" runat="Server" Text="Rate Proposals" CssClass="Btn_Small"></asp:Button>
<asp:Button ID="btnSaveProposals" runat="Server" Text="Save Proposals" CssClass="Btn_Small"></asp:Button>&nbsp;
<input class="Btn_Small" type="button" onclick="OpenInWindow('a=<%=appid()%>&amp;s=<%=suffix()%>&amp;t=<%=apptype()%>','<%=apptype()%>','FACTORS','YES')"
value="View Quote Factors" name="cmdEdit" />&nbsp;
<input class="Btn_Small" type="button" onclick="OpenPrintWindow('appid=<%=appid()%>&amp;suffix=<%=suffix()%>','YES')"
value="Print Worksheet" name="cmdPrint" />
</td>
</tr>
<tr>
<td width="10" height="24">
</td>
<td class="Field_Label" width="780">
<asp:CheckBox ID="chkRounding" AutoPostBack="false" runat="server" Text="Use rounding"
Checked="true" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="5" colspan="2">&nbsp;</td>
</tr>
<tr>
<td width="15">&nbsp;</td>
<td>
<fieldset>
<!-- Desc and Comm------------------------------------------------------------------>
<table cellspacing="0" cellpadding="0" border="0" width="790">
<tr align="center">
<td class="Field_Label">
---------- QUOTE LETTER ENTRIES ----------</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0">
<tr height="15">
<td width="10">
</td>
<td>
<asp:Label ID="lblMsgQuote" runat="server" CssClass="errors_field"
EnableViewState="False"></asp:Label>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="790" border="0">
<tr>
<!-- Prof Services --------------------------------------------->
<td width="395">
<table cellspacing="0" cellpadding="0" border="0" width="395">
<tr>
<td width="2">
</td>
<td class="Field_Label" width="120" valign="top">
Prof Services</td>
<td class="Regular_Text" width="2" valign="top">
</td>
<td class="Regular_Text" valign="top">
<asp:TextBox ID="txtProfServices" runat="Server" CssClass="Regular_Text" MaxLength="500"
Width="261" TextMode="MultiLine" Rows="3"></asp:TextBox>
</td>
</tr>
</table>
</td>
<!-- Policy Period ------------------------------------>
<td width="395">
<table cellspacing="0" cellpadding="0" border="0" width="395">
<tr>
<td width="2">
</td>
<td class="Field_Label" width="120" valign="top">
Policy Period</td>
<td class="Regular_Text" width="2" valign="top">
</td>
<td class="Regular_Text" valign="top">
<asp:TextBox ID="txtPolicyPeriod" runat="Server" CssClass="Regular_Text" MaxLength="500"
Width="261"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<!-- Acct Specific Endorsements ------------------------------------>
<td width="395">
<table cellspacing="0" cellpadding="0" border="0" width="395">
<tr>
<td width="2">
</td>
<td class="Field_Label" width="120" valign="top">
Acct Specific Endorsements<br />
<small><i>enter as semicolon separated</i></small></td>
<td class="Regular_Text" width="2" valign="top">
</td>
<td class="Regular_Text" valign="top">
<asp:TextBox ID="txtAcctSpecEnds" runat="Server" CssClass="Regular_Text" MaxLength="500"
Width="261" TextMode="MultiLine" Rows="3"></asp:TextBox>
</td>
</tr>
</table>
</td>
<!-- Additional Quote Text ------------------------------------>
<td width="395">
<table cellspacing="0" cellpadding="0" border="0" width="395">
<tr>
<td width="2">
</td>
<td class="Field_Label" width="120" valign="top">
Additional Quote Text:</td>
<td class="Regular_Text" width="2" valign="top">
</td>
<td class="Regular_Text" valign="top">
<asp:TextBox ID="txtQuoteAdditionalTxt" runat="Server" CssClass="Regular_Text" MaxLength="500"
Width="261" TextMode="MultiLine" Rows="3"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<!-- Surplus Lines License ------------------------------------>
<td width="395">
<!-- Surplus Lines License ------------------------------------>
<asp:Panel ID="pnlSLL" runat="server" Visible="False">
<table width="100%">
<tr>
<td class="Field_Label" width="105" nowrap="nowrap">Surplus Lines<br />License:&nbsp;</td>
<td width="8"></td>
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="Regular_Text" valign="top">
<asp:DropDownList ID="dropLicenseNo" runat="Server" CssClass="Regular_Text" Width="261"></asp:DropDownList></td>
</tr>
<tr>
<td valign="top" align="left">
<asp:HyperLink ID="hlLicenseManagement" runat="server" Target="_blank" CssClass="Link_Text">License Management</asp:HyperLink>&nbsp;&nbsp;
<asp:Button ID="btnRefreshQL" runat="Server" CssClass="Btn_Small" Text="Refresh List"
CausesValidation="false"></asp:Button></td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Panel>
</td>
<!-- Commission ------------------------------------>
<td width="395">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="Regular_Text" width="2">&nbsp;</td>
<td class="Field_Label" width="140" valign="middle">Agent Commission</td>
<td class="Regular_Text" width="60" valign="middle" align="right">
<asp:Label ID="lblAgentCommission" runat="server" CssClass="Regular_Text"></asp:Label>&nbsp;</td>
<td class="Regular_Text" width="5">&nbsp;%</td>
<td></td>
</tr>
<tr>
<td colspan="5" height="6"></td>
</tr>
<tr>
<td class="Regular_Text" width="2">&nbsp;</td>
<td class="Field_Label" width="140" valign="middle">Policy Commission</td>
<td class="Regular_Text" valign="top" align="right">
<asp:TextBox ID="txtCommission" runat="Server" CssClass="Regular_TextBox_Right" MaxLength="5"
Width="50"></asp:TextBox></td>
<td class="Regular_Text" width="5">&nbsp;%</td>
<td>
<asp:RangeValidator ID="rvCommission" runat="server" CssClass="errors_field" Text="Please enter a value between 0 and 25 (decimals are allowed)<br />"
ControlToValidate="txtCommission" Display="Dynamic" MaximumValue="25" MinimumValue="0"
Type="Double">Please enter a value between 0 and 25 (decimals are allowed)<br /></asp:RangeValidator>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="790" colspan="2">
<table cellspacing="0" cellpadding="0" border="0" width="395">
<tr>
<td width="90" valign="top" align="right">
<asp:Button ID="btnSaveQuoteLetter" runat="Server" Text="&nbsp;&nbsp;Save&nbsp;&nbsp;"
CssClass="Btn_Small"></asp:Button></td>
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="5" colspan="2"></td>
</tr>
</table>
</fieldset>
<!-- Ends --------------------------------------------------------------------->
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<!-- Endorsements ------------------------------------------------- -->
<tr>
<td width="15">&nbsp;</td>
<td>
<fieldset>
<asp:Label ID="lblErrorEnd" runat="server" CssClass="errors_field"></asp:Label>
<table class="Field_Label" width="790" border="0" cellpadding="0">
<tr>
<td align="center">
----------&nbsp;&nbsp;&nbsp;SELECTED ENDORSEMENTS&nbsp;&nbsp;&nbsp;----------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Button ID="btnResetEndorsementsDefault" runat="server" Text="Reset Endorsements to Default"
CssClass="Btn_Small" CommandName="RESET"></asp:Button></td>
</tr>
</table>
<asp:Repeater ID="rptSelectEnds" runat="Server">
<HeaderTemplate>
<table width="790" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5"></td>
<td width="55"></td>
<td width="70"></td>
<td width="120"><asp:Label ID="Labelr14" runat="server" CssClass="Field_Label" Text="Category"></asp:Label></td>
<td width="115"><asp:Label ID="Labelc2" runat="server" CssClass="Field_Label" Text="End Num"></asp:Label></td>
<td width="420"><asp:Label ID="Label1tt4" runat="server" CssClass="Field_Label" Text="Endorsement Description"></asp:Label></td>
<td width="5"></td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td height="20"></td>
<td>
<input id="btnAction" class="Btn_Small" runat="Server" type="button" onclick='<%#setActionBtnLink(DataBinder.Eval(Container.DataItem, "special"), DataBinder.Eval(Container.DataItem, "EndNum"))%>'
value='<%#setActionBtnText(DataBinder.Eval(Container.DataItem, "special"))%>' /></td>
<td>
<asp:Button ID="btnRemoveEnd" runat="Server" CssClass="Btn_Small" Text="Remove" ToolTip="Click here to remove this endorsement from your proposal."
CommandName="REMOVE" CommandArgument='<%#DataBinder.Eval(Container.DataItem, "EndNum")%>'>
</asp:Button></td>
<td class="Regular_Text">
<%#DataBinder.Eval(Container.DataItem, "CategoryName")%></td>
<td id="tdEndNum" class="Regular_Text" runat="server">
<%#DataBinder.Eval(Container.DataItem, "EndNum")%> </td>
<td class="Regular_Text">
<%#DataBinder.Eval(Container.DataItem, "EndTitle")%></td>
<td></td>
</tr>
</ItemTemplate>
<FooterTemplate>
<tr>
<td align="center" class="Field_Label" colspan="7">&nbsp;</td>
</tr>
</table>
</FooterTemplate>
</asp:Repeater>
<table width="790" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<tr valign="middle">
<td>
<asp:LinkButton CssClass="HideShow_LabelSmall" CommandName="lnkEndPicker" ID="lnkEndPicker"
Text="" ToolTip="Use this tool to browse and select endorsements for your proposal."
OnClick="LinkButton_Click" runat="Server" />
</td>
</tr>
</table>
<asp:Panel ID="pnlEndPicker" runat="server" Visible="false">
<table width="790" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20">
</td>
<td width="750">
<fieldset id="fs22" title="" style="background-color: #dae7eb">
<table width="750" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<tr valign="middle">
<td width="130">
Choose Category</td>
<td width="200">
<asp:DropDownList ID="dropEndCategory" runat="Server" CssClass="Regular_Text" AutoPostBack="True">
<asp:ListItem Value="" Text="< Click to select >" />
<asp:ListItem Value="98" Text="** All **" />
<asp:ListItem Value="00" Text="** Non-Specific Industry **" />
<asp:ListItem Value="07" Text="Advertising/PR/Media" />
<asp:ListItem Value="14" Text="Architects and Engineers" />
<asp:ListItem Value="10" Text="Consultants" />
<asp:ListItem Value="04" Text="Employment" />
<asp:ListItem Value="05" Text="Financial" />
<asp:ListItem Value="11" Text="Healthcare" />
<asp:ListItem Value="09" Text="Home/Personal Services" />
<asp:ListItem Value="01" Text="Insurance" />
<asp:ListItem Value="02" Text="Legal" />
<asp:ListItem Value="12" Text="Miscellaneous" />
<asp:ListItem Value="13" Text="Other" />
<asp:ListItem Value="03" Text="Real Estate" />
<asp:ListItem Value="06" Text="Technology" />
<asp:ListItem Value="08" Text="Travel" />
<asp:ListItem Value="99" Text="**Standard**" />
<asp:ListItem Value="97" Text="**Excess**" />
<asp:ListItem Value="96" Text="**Illinois**" />
<asp:ListItem Value="95" Text="**Kentucky**" />
<asp:ListItem Value="94" Text="**Smart End.**" />
</asp:DropDownList>
</td>
<td width="105">
<asp:Label ID="lblDropClass" runat="server" CssClass="Field_Label" Text="Choose Class"></asp:Label>
</td>
<td width="200">
<asp:DropDownList ID="DropClass" runat="Server" CssClass="Regular_Text" AutoPostBack="True">
</asp:DropDownList>
</td>
<td width="115"></td>
</tr>
</table>
<table width="750" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="Field_Label">
<asp:Label ID="lblNotFound" runat="server" CssClass="Field_Label"></asp:Label>
</td>
</tr>
</table>
<asp:Repeater ID="rptEndPicker" runat="Server" EnableViewState="True" Visible="True">
<HeaderTemplate>
<table width="750" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5">&nbsp;</td>
<td width="55"></td>
<td width="50"></td>
<td width="115">
<asp:Label ID="Label14" runat="server" CssClass="Field_Label" Text="End Num"></asp:Label>
</td>
<td width="500">
<asp:Label ID="Label15" runat="server" CssClass="Field_Label" Text="Endorsement Name"></asp:Label>
</td>
<td width="5"></td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td width="5">
&nbsp;</td>
<td width="55" height="20px">
<input id="cmdViewEnd2" class="Btn_Small" runat="Server" type="button" onclick='<%# setViewEndorsementListItemLink(DataBinder.Eval(Container.DataItem, "special"), DataBinder.Eval(Container.DataItem, "endnum")) %>'
value='<%# IIF(DataBinder.Eval(Container.DataItem, "special"), "S-View", "View") %>' />
</td>
<td width="50">
<asp:Button ID="btnAddEnd" runat="Server" CssClass="Btn_Small" Enabled="True" Text=" Add "
CommandName="ADD" CommandArgument='<%#DataBinder.Eval(Container.DataItem, "EndNum")%>'>
</asp:Button></td>
<td width="115" class="Regular_Text">
<%#DataBinder.Eval(Container.DataItem, "EndNum")%>
</td>
<td width="500" class="Regular_Text">
<%#DataBinder.Eval(Container.DataItem, "EndTitle")%>
</td>
<td width="5">
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
<tr>
<td align="center" class="Field_Label" colspan="6">
&nbsp; </td>
</tr>
</table>
</FooterTemplate>
</asp:Repeater>
</fieldset>
</td>
</tr>
</table>
</asp:Panel>
<table width="790" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<tr valign="middle">
<td>
</td>
</tr>
</table>
</fieldset>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<!-- Subjectivities -->
<tr>
<td width="15">
&nbsp;</td>
<td>
<fieldset>
<!-- Subj --------------------------------------------------------------------->
<table width="790" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<tr valign="middle">
<td width="5" valign="top">
</td>
<td width="150">
Subjectivities </td>
<td>
<asp:Button ID="btnSaveSubj" runat="Server" Text="Save Selections" CssClass="Btn_Small"
ToolTip="Select or de-select subjectivities in the list below then click this button to save your changes.">
</asp:Button>
</td>
</tr>
<tr valign="middle">
<td width="5" valign="top">
</td>
<td colspan="2" valign="top">
<asp:Label ID="lblSubjMsg" runat="server" CssClass="Regular_Text_Red"></asp:Label>
</td>
</tr>
</table>
<table width="790" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<tr valign="middle">
<td width="5" valign="top">
</td>
<td>
<asp:ListBox ID="lstSubjectivities" runat="Server" CssClass="Regular_Text" Width="775px"
Rows="8" SelectionMode="Multiple" EnableViewState="True" />
</td>
</tr>
</table>
<table width="790" class="Field_Label" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3" align="right" height="10">
</td>
</tr>
<tr>
<td width="100" align="right">
<asp:Button ID="btnAddCustomSubj" runat="Server" Text="Save Custom" CssClass="Btn_Small"
ToolTip="Adds a custom subjectivity to the list (for this submission only)">
</asp:Button>
</td>
<td width="110" align="right">
<asp:Button ID="btnEditCustomSubj" runat="Server" Text="Select Custom" CssClass="Btn_Small"
ToolTip="Adds a custom subjectivity to the list (for this submission only)">
</asp:Button>
</td>
<td width="10">
<asp:TextBox ID="txtCustomSubj" runat="Server" CssClass="Regular_Text" MaxLength="350"
Width="560px"></asp:TextBox></td>
</tr>
</table>
</fieldset>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
<!-- Proposal Recommendation ends here -->
</table>
<!-- End UW Worksheet Here --------------------------------------------------->
</form>
</body>
</html>


Sub PopulateContextMenuValues()
Dim objData As New WipDataObject
Dim myreader As SqlClient.SqlDataReader = Nothing
Dim intCount As Integer = 1

Try
myreader = objData.selProposalContextMenuValues(Appid(), Suffix(), 1)

Dim strText As String = ""
Dim strValue As String = ""

If myreader.HasRows Then
While myreader.Read
BuildContextMenu(LimitsCtxMenu1, 1, myreader("limitperclaim"), myreader("agglimit"))
BuildContextMenu(LimitsCtxMenu2, 2, myreader("limitperclaim"), myreader("agglimit"))
BuildContextMenu(LimitsCtxMenu3, 3, myreader("limitperclaim"), myreader("agglimit"))
BuildContextMenu(LimitsCtxMenu4, 4, myreader("limitperclaim"), myreader("agglimit"))
End While
Else
Page.ClientScript.RegisterClientScriptBlock(GetType(Page), "InitError", "<script language='JavaScript'>" & _
" alert('Could not populate context menu list. No rows returned. Call support!')</script>")
End If

Catch ex As Exception
Page.ClientScript.RegisterClientScriptBlock(GetType(Page), "InitError", "<script language='JavaScript'>" & _
" alert('Could not populate context menu list. Error occured, call support!')</script>")
Finally
If Not IsNothing(myreader) Then myreader.Close()
End Try

End Sub

Sub BuildContextMenu(ByVal objMenu As EO.Web.Menu, ByVal btyID As Byte, ByVal strLimitPerClaim As String, ByVal strAggLimit As String)
'objMenu.Items.Clear()

objMenu.Items.Add(BuildMenuItem(btyID, strLimitPerClaim, strAggLimit))

End Sub

Function BuildMenuItem(ByVal btyID As Byte, ByVal strLimitPerClaim As String, ByVal strAggLimit As String) As EO.Web.MenuItem
Dim objItem As New EO.Web.MenuItem

objItem.Text = strLimitPerClaim & "/" & strAggLimit
objItem.OnClickScript = "AssignContextMenuValue(" & btyID & ", " & strLimitPerClaim & ", " & strAggLimit & ");"

BuildMenuItem = objItem

End Function


Thanks

Steve Komaromi

Computer Systems Manager, Lead Developer
Business Risk Partners, Inc.
Tel: 1-(860)-903-0039
hunpirate
Posted: Tuesday, October 23, 2012 3:17:23 PM
Rank: Advanced Member
Groups: Member

Joined: 6/14/2007
Posts: 83
Hi,

Wow, could it be this simple? It appears that if I remove the clause "SmartNavigation="true" from my page descriptor, the menu appears even after postback.

We kind of need the clause because of the lenght of the page. Could I have some solution how can I have both, using the menu and have the clause too, or just some reason why one wouldn't work with the other?


Thanks

Steve Komaromi

Computer Systems Manager, Lead Developer
Business Risk Partners, Inc.
Tel: 1-(860)-903-0039
eo_support
Posted: Tuesday, October 23, 2012 5:29:41 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

This makes sense. SmartNavigation was an ASP.NET feature that has long been deprecated. See here for more details:

http://support.microsoft.com/kb/913721

Even MS's product support no longer supports it. The reason is because it reloads the page by reloading the new page in a separate iframe and then updates the current window's HTML with that iframe's HTML. This breaks a lot of things and as a result, it should no longer be used.

There a number of ways to achieve what smart navigation can achieve. In addition to those discussed in the above MS support article, you may also want to look into AJAX.

Thanks!
hunpirate
Posted: Wednesday, October 24, 2012 9:52:30 AM
Rank: Advanced Member
Groups: Member

Joined: 6/14/2007
Posts: 83
Hi,

Thanks. I already replaced it with asp update panel. It works now. I just wanted to know why.


Thanks

Steve Komaromi

Computer Systems Manager, Lead Developer
Business Risk Partners, Inc.
Tel: 1-(860)-903-0039


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.