PDA

View Full Version : ASP form duplicating results


newseed
06-28-2006, 08:40 PM
I have a private (not public) site for a local police dept. that inputs data from police officers reports. The problem I am having is that in the upper right hand corner, the contents of the entry is duplicated. See image:

www.stellarcores.com/valpd.jpg

The words "UNIT 10 RESPONDING" was entered once along with a bunch of other text but as you can see, the other text do not show up.

The actually asp code in question is below:

<asp:label id="lblComments" style="Z-INDEX: 202; LEFT: 700px; POSITION: absolute; TOP: 62px" runat="server" Font-Size="X-Small" Height="95px" Width="324px"></asp:label>
<asp:label id="lblDispatchComments" style="Z-INDEX: 201; LEFT: 688px; POSITION: absolute; TOP: 37px" runat="server" Font-Size="X-Small" Height="15px" Width="111px">Dispatch Comments</asp:label>
<asp:button id="btnPrint" style="Z-INDEX: 200; LEFT: 580px; POSITION: absolute; TOP: 13px" runat="server" Width="92px" Text="Make Report"></asp:button><asp:button id="btnNewCall" style="Z-INDEX: 199; LEFT: 158px; POSITION: absolute; TOP: 12px" runat="server" Width="59px" Text="New Call"></asp:button><asp:label id="lblPastComment" style="Z-INDEX: 198; LEFT: 167px; POSITION: absolute; TOP: 677px" runat="server" Width="248px" Height="22px" Font-Bold="True" Visible="False" ForeColor="Gold" Font-Italic="True">No Previous Comments Were Found</asp:label><asp:datagrid id="dgPastComments" style="Z-INDEX: 197; LEFT: 80px; POSITION: absolute; TOP: 631px" runat="server" Width="446px" Height="128px" AutoGenerateColumns="False">

The source code for the results page:

<span id="lblComments" style="font-size:X-Small;height:95px;width:324px;Z-INDEX: 202; LEFT: 700px; POSITION: absolute; TOP: 62px"> UNIT 10 RESPONDING UNIT 10 RESPONDING UNIT 10 RESPONDING UNIT 10 RESPONDING UNIT 10 RESPONDING UNIT 10 RESPONDING UNIT 10 RESPONDING </span>
<span id="lblDispatchComments" style="font-size:X-Small;height:15px;width:111px;Z-INDEX: 201; LEFT: 688px; POSITION: absolute; TOP: 37px">Dispatch Comments</span>
<input type="submit" name="btnPrint" value="Make Report" id="btnPrint" style="width:92px;Z-INDEX: 200; LEFT: 580px; POSITION: absolute; TOP: 13px" /><input type="submit" name="btnNewCall" value="New Call" id="btnNewCall" style="width:59px;Z-INDEX: 199; LEFT: 158px; POSITION: absolute; TOP: 12px" /><table cellspacing="0" rules="all" border="1" id="dgPastComments" style="height:128px;width:446px;border-collapse:collapse;Z-INDEX: 197; LEFT: 80px; POSITION: absolute; TOP: 631px">

I don't have much background in ASP but it would see to me that has to do with the server side script that I am not seeing.

What is causing this duplication of the first line and not show the other text that is different from the first line?

If you need me to post the entire code, please let me know.

Please note that the duplication seems to happen only visually. This does not seem to happen if you print the results.

Any help would be greatly appreciated.

Thanks.

Brandoe85
06-28-2006, 08:52 PM
Post the code that generates the text for lblComments, please.

newseed
06-28-2006, 09:08 PM
This is all I have from the client's site that I am allowed to view. I have requested complete access of the entire source to no avail.

Here's what I have.

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="CarCad.aspx.vb" Inherits="CarCad.CarCad" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>CarCad - Car Computer Aided Dispatching</title>
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body bgColor="#669999" MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<script language="javascript">
document.getElementById("txtOfficerComment").focus();
</script>
<asp:label id="lblTitle1" style="Z-INDEX: 100; LEFT: 320px; POSITION: absolute; TOP: 13px" runat="server" Width="224px" Height="17px" Font-Size="Small" Font-Bold="True">Car Computer Aided Dispatching</asp:label><asp:label id="lblBadgeNum" style="Z-INDEX: 176; LEFT: 51px; POSITION: absolute; TOP: 368px" runat="server" Width="165px" Height="25px" Visible="False"></asp:label><asp:label id="lblDrivTitle" style="Z-INDEX: 172; LEFT: 683px; POSITION: absolute; TOP: 249px" runat="server" Width="121px" Height="16px" Font-Size="X-Small" Font-Bold="True" Visible="False" ForeColor="Gold">Driver Information</asp:label><asp:label id="Label35" style="Z-INDEX: 170; LEFT: 585px; POSITION: absolute; TOP: 461px" runat="server" Width="72px" Height="12px" Font-Size="X-Small" Font-Bold="True" ForeColor="Gold">Call History</asp:label><asp:textbox id="txtOfficerComment" style="Z-INDEX: 169; LEFT: 80px; POSITION: absolute; TOP: 486px" tabIndex="1" runat="server" Width="442px" Height="78px" TextMode="MultiLine" BorderColor="White" MaxLength="8"></asp:textbox><asp:label id="Label34" style="Z-INDEX: 168; LEFT: 82px; POSITION: absolute; TOP: 460px" runat="server" Width="103px" Height="17px" Font-Size="X-Small" Font-Bold="True" ForeColor="Gold">Officer Comments</asp:label><asp:label id="lblDrivSex" style="Z-INDEX: 167; LEFT: 820px; POSITION: absolute; TOP: 412px" runat="server" Width="16px" Height="22px" Font-Size="X-Small" Visible="False" DESIGNTIMEDRAGDROP="14">Sex</asp:label><asp:label id="lblDrivRace" style="Z-INDEX: 166; LEFT: 710px; POSITION: absolute; TOP: 412px" runat="server" Width="16px" Height="22px" Font-Size="X-Small" Visible="False">Race</asp:label><asp:dropdownlist id="ddlSex" style="Z-INDEX: 165; LEFT: 839px; POSITION: absolute; TOP: 412px" runat="server" Width="55px" Visible="False" Enabled="False"></asp:dropdownlist><asp:dropdownlist id="ddlRace" style="Z-INDEX: 164; LEFT: 736px; POSITION: absolute; TOP: 412px" runat="server" Width="55px" Visible="False" Enabled="False"></asp:dropdownlist><asp:textbox id="txtAge" style="Z-INDEX: 163; LEFT: 926px; POSITION: absolute; TOP: 376px" tabIndex="1" runat="server" Width="52px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblDrivAge" style="Z-INDEX: 162; LEFT: 902px; POSITION: absolute; TOP: 376px" runat="server" Width="16px" Height="22px" Font-Size="X-Small" Visible="False" DESIGNTIMEDRAGDROP="19">Age</asp:label><asp:textbox id="txtPID" style="Z-INDEX: 161; LEFT: 737px; POSITION: absolute; TOP: 376px" tabIndex="1" runat="server" Width="141px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblDrivPID" style="Z-INDEX: 160; LEFT: 717px; POSITION: absolute; TOP: 376px" runat="server" Width="16px" Height="22px" Font-Size="X-Small" Visible="False">PID</asp:label><asp:textbox id="txtName" style="Z-INDEX: 159; LEFT: 736px; POSITION: absolute; TOP: 348px" tabIndex="1" runat="server" Width="238px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblDrivName" style="Z-INDEX: 158; LEFT: 706px; POSITION: absolute; TOP: 348px" runat="server" Width="16px" Height="22px" Font-Size="X-Small" Visible="False">Name</asp:label><asp:textbox id="txtSSN" style="Z-INDEX: 157; LEFT: 736px; POSITION: absolute; TOP: 312px" tabIndex="1" runat="server" Width="141px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblDrivSSN" style="Z-INDEX: 156; LEFT: 713px; POSITION: absolute; TOP: 312px" runat="server" Width="16px" Height="22px" Font-Size="X-Small" Visible="False">SSN</asp:label><asp:dropdownlist id="ddlDrivLicState" style="Z-INDEX: 155; LEFT: 926px; POSITION: absolute; TOP: 277px" runat="server" Width="55px" Visible="False" Enabled="False"></asp:dropdownlist><asp:label id="lblDrivState" style="Z-INDEX: 154; LEFT: 897px; POSITION: absolute; TOP: 277px" runat="server" Width="24px" Height="22px" Font-Size="X-Small" Visible="False" DESIGNTIMEDRAGDROP="27">State</asp:label><asp:textbox id="txtDrivLicNum" style="Z-INDEX: 153; LEFT: 735px; POSITION: absolute; TOP: 277px" tabIndex="1" runat="server" Width="141px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblDrivDL" style="Z-INDEX: 152; LEFT: 717px; POSITION: absolute; TOP: 277px" runat="server" Width="16px" Height="22px" Font-Size="X-Small" Visible="False">DL</asp:label><asp:textbox id="txtVehVIN" style="Z-INDEX: 151; LEFT: 283px; POSITION: absolute; TOP: 412px" tabIndex="1" runat="server" Width="370px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblVehVIN" style="Z-INDEX: 150; LEFT: 260px; POSITION: absolute; TOP: 412px" runat="server" Width="21px" Height="22px" Font-Size="X-Small" Visible="False">VIN</asp:label><asp:textbox id="txtVehDesc" style="Z-INDEX: 149; LEFT: 328px; POSITION: absolute; TOP: 376px" tabIndex="1" runat="server" Width="325px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblVehDescription" style="Z-INDEX: 148; LEFT: 261px; POSITION: absolute; TOP: 376px" runat="server" Width="24px" Height="22px" Font-Size="X-Small" Visible="False">Description</asp:label><asp:textbox id="txtVehOnColor" style="Z-INDEX: 147; LEFT: 577px; POSITION: absolute; TOP: 348px" tabIndex="1" runat="server" Width="75px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblVehOnColor" style="Z-INDEX: 146; LEFT: 524px; POSITION: absolute; TOP: 348px" runat="server" Width="49px" Height="22px" Font-Size="X-Small" Visible="False">On Color</asp:label><asp:textbox id="txtVehColor" style="Z-INDEX: 145; LEFT: 423px; POSITION: absolute; TOP: 348px" tabIndex="1" runat="server" Width="75px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblVehColor" style="Z-INDEX: 144; LEFT: 391px; POSITION: absolute; TOP: 348px" runat="server" Width="24px" Height="22px" Font-Size="X-Small" Visible="False" Enabled="False">Color</asp:label><asp:textbox id="txtVehYear" style="Z-INDEX: 143; LEFT: 290px; POSITION: absolute; TOP: 348px" tabIndex="1" runat="server" Width="75px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblVehYear" style="Z-INDEX: 142; LEFT: 262px; POSITION: absolute; TOP: 348px" runat="server" Width="24px" Height="22px" Font-Size="X-Small" Visible="False">Year</asp:label><asp:textbox id="txtVehModel" style="Z-INDEX: 141; LEFT: 485px; POSITION: absolute; TOP: 312px" tabIndex="1" runat="server" Width="141px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblModel" style="Z-INDEX: 140; LEFT: 448px; POSITION: absolute; TOP: 306px" runat="server" Width="24px" Height="22px" Font-Size="X-Small" Visible="False">Model</asp:label><asp:textbox id="txtVehMake" style="Z-INDEX: 139; LEFT: 289px; POSITION: absolute; TOP: 312px" tabIndex="1" runat="server" Width="141px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblMake" style="Z-INDEX: 138; LEFT: 257px; POSITION: absolute; TOP: 312px" runat="server" Width="24px" Height="22px" Font-Size="X-Small" Visible="False">Make</asp:label><asp:dropdownlist id="ddlVehState" style="Z-INDEX: 137; LEFT: 476px; POSITION: absolute; TOP: 277px" runat="server" Width="55px" Visible="False" Enabled="False"></asp:dropdownlist><asp:label id="Label17" style="Z-INDEX: 136; LEFT: 447px; POSITION: absolute; TOP: 281px" runat="server" Width="24px" Height="22px" Font-Size="X-Small" Visible="False">State</asp:label><asp:textbox id="txtVehTag" style="Z-INDEX: 135; LEFT: 288px; POSITION: absolute; TOP: 277px" tabIndex="1" runat="server" Width="141px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblTag" style="Z-INDEX: 134; LEFT: 263px; POSITION: absolute; TOP: 277px" runat="server" Width="24px" Height="22px" Font-Size="X-Small" Visible="False">Tag</asp:label><asp:textbox id="txtPatrolArea" style="Z-INDEX: 133; LEFT: 798px; POSITION: absolute; TOP: 199px" tabIndex="1" runat="server" Width="97px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblDispPatrolArea" style="Z-INDEX: 132; LEFT: 735px; POSITION: absolute; TOP: 207px" runat="server" Width="60px" Height="22px" Font-Size="X-Small">Patrol Area</asp:label><asp:textbox id="txtDispZip" style="Z-INDEX: 131; LEFT: 655px; POSITION: absolute; TOP: 202px" tabIndex="1" runat="server" Width="69px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblDispZip" style="Z-INDEX: 130; LEFT: 634px; POSITION: absolute; TOP: 208px" runat="server" Width="21px" Height="22px" Font-Size="X-Small">Zip</asp:label><asp:label id="lblDispState" style="Z-INDEX: 128; LEFT: 520px; POSITION: absolute; TOP: 208px" runat="server" Width="24px" Height="22px" Font-Size="X-Small">State</asp:label><asp:textbox id="txtDispCity" style="Z-INDEX: 127; LEFT: 361px; POSITION: absolute; TOP: 201px" tabIndex="1" runat="server" Width="141px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblDispCity" style="Z-INDEX: 126; LEFT: 333px; POSITION: absolute; TOP: 207px" runat="server" Width="24px" Height="22px" Font-Size="X-Small">City</asp:label><asp:textbox id="txtDispLoc2" style="Z-INDEX: 125; LEFT: 630px; POSITION: absolute; TOP: 165px" tabIndex="1" runat="server" Width="244px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblSep" style="Z-INDEX: 124; LEFT: 613px; POSITION: absolute; TOP: 174px" runat="server" Width="8px" Height="17px" Font-Size="X-Small">/</asp:label><asp:textbox id="txtDispLoc1" style="Z-INDEX: 123; LEFT: 360px; POSITION: absolute; TOP: 167px" tabIndex="1" runat="server" Width="244px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblDispLoc" style="Z-INDEX: 122; LEFT: 257px; POSITION: absolute; TOP: 172px" runat="server" Width="102px" Height="22px" Font-Size="X-Small">Dispatch Location</asp:label><asp:textbox id="txtPriority" style="Z-INDEX: 121; LEFT: 357px; POSITION: absolute; TOP: 121px" tabIndex="1" runat="server" Width="111px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="Label9" style="Z-INDEX: 120; LEFT: 313px; POSITION: absolute; TOP: 126px" runat="server" Width="41px" Height="22px" Font-Size="X-Small">Priority</asp:label><asp:label id="Label8" style="Z-INDEX: 119; LEFT: 298px; POSITION: absolute; TOP: 63px" runat="server" Width="55px" Height="22px" Font-Size="X-Small">Complaint</asp:label><asp:label id="Label7" style="Z-INDEX: 117; LEFT: 7px; POSITION: absolute; TOP: 303px" runat="server" Width="126px" Height="22px" Font-Size="X-Small">Dispatch Wrecker Time</asp:label><asp:textbox id="txtWreckerTime" style="Z-INDEX: 116; LEFT: 134px; POSITION: absolute; TOP: 296px" tabIndex="1" runat="server" Width="61px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="Label6" style="Z-INDEX: 115; LEFT: 30px; POSITION: absolute; TOP: 263px" runat="server" Width="103px" Height="22px" Font-Size="X-Small">On 2nd Scene Time</asp:label><asp:textbox id="txtSecSceneTime" style="Z-INDEX: 114; LEFT: 134px; POSITION: absolute; TOP: 258px" tabIndex="1" runat="server" Width="61px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="Label5" style="Z-INDEX: 113; LEFT: 48px; POSITION: absolute; TOP: 229px" runat="server" Width="85px" Height="22px" Font-Size="X-Small">Left Scene Time</asp:label><asp:textbox id="txtLeftSceneTime" style="Z-INDEX: 112; LEFT: 134px; POSITION: absolute; TOP: 224px" tabIndex="1" runat="server" Width="61px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="Label4" style="Z-INDEX: 111; LEFT: 53px; POSITION: absolute; TOP: 195px" runat="server" Width="80px" Height="22px" Font-Size="X-Small">On Scene Time</asp:label><asp:textbox id="txtOnSceneTime" style="Z-INDEX: 110; LEFT: 134px; POSITION: absolute; TOP: 190px" tabIndex="1" runat="server" Width="61px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="Label3" style="Z-INDEX: 109; LEFT: 53px; POSITION: absolute; TOP: 161px" runat="server" Width="80px" Height="22px" Font-Size="X-Small">En Route Time</asp:label><asp:textbox id="txtEnRouteTime" style="Z-INDEX: 108; LEFT: 134px; POSITION: absolute; TOP: 156px" tabIndex="1" runat="server" Width="61px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="Label2" style="Z-INDEX: 107; LEFT: 56px; POSITION: absolute; TOP: 127px" runat="server" Width="78px" Height="22px" Font-Size="X-Small">Dispatch Time</asp:label><asp:textbox id="txtDispatchTime" style="Z-INDEX: 106; LEFT: 134px; POSITION: absolute; TOP: 122px" tabIndex="1" runat="server" Width="61px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:textbox id="txtComplDesc" style="Z-INDEX: 105; LEFT: 356px; POSITION: absolute; TOP: 60px" tabIndex="1" runat="server" Width="332px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="Label1" style="Z-INDEX: 104; LEFT: 46px; POSITION: absolute; TOP: 96px" runat="server" Width="88px" Height="22px" Font-Size="X-Small">Completed Time</asp:label><asp:textbox id="txtTimeRec" style="Z-INDEX: 101; LEFT: 134px; POSITION: absolute; TOP: 64px" tabIndex="1" runat="server" Width="61" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:dropdownlist id="ddlDispState" style="Z-INDEX: 129; LEFT: 552px; POSITION: absolute; TOP: 203px" runat="server" Width="55px" Enabled="False"></asp:dropdownlist><asp:label id="lblVehTitle" style="Z-INDEX: 171; LEFT: 224px; POSITION: absolute; TOP: 249px" runat="server" Width="121px" Height="16px" Font-Size="X-Small" Font-Bold="True" Visible="False" ForeColor="Gold">Vehicle Information</asp:label><asp:datagrid id="dgCallHistory" style="Z-INDEX: 173; LEFT: 588px; POSITION: absolute; TOP: 486px" runat="server" Width="434px" Height="128px" AutoGenerateColumns="False">
<AlternatingItemStyle BackColor="Silver"></AlternatingItemStyle>

== PART 2 of codes on next posting ===

newseed
06-28-2006, 09:10 PM
Part 2 of 2 code:

<Columns>
<asp:TemplateColumn>
<HeaderStyle Width="25%"></HeaderStyle>
<ItemStyle Width="25%"></ItemStyle>
<HeaderTemplate>
<b style="FONT-SIZE: 8pt; COLOR: black; TEXT-DECORATION: underline">Call Number</b>
</HeaderTemplate>
<ItemTemplate>
<a href='<%# DataBinder.Eval(Container.DataItem, _"Call", _"carcad.aspx?callno={0}" & "") %>' runat="server" ID="A1">
<%# DataBinder.Eval(Container.DataItem, "Call") %></a>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderStyle Width="28%"></HeaderStyle>
<ItemStyle Width="40%"></ItemStyle>
<HeaderTemplate>
<b style="FONT-SIZE: 8pt; COLOR: black; TEXT-DECORATION: underline">Complaint</b>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "Complaint") %>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderStyle Width="28%"></HeaderStyle>
<ItemStyle Width="40%"></ItemStyle>
<HeaderTemplate>
<b style="FONT-SIZE: 8pt; COLOR: black; TEXT-DECORATION: underline">Location</b>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "Location") %>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid><asp:button id="btnSave" style="Z-INDEX: 174; LEFT: 474px; POSITION: absolute; TOP: 579px" runat="server" Width="52px" Text="Save"></asp:button><asp:label id="lblCallNo" style="Z-INDEX: 175; LEFT: 48px; POSITION: absolute; TOP: 331px" runat="server" Width="165px" Height="25px" Visible="False"></asp:label>
<P><asp:button id="btnRefresh" style="Z-INDEX: 177; LEFT: 20px; POSITION: absolute; TOP: 12px" runat="server" Width="52px" Text="Refresh"></asp:button>
<asp:label id="lblPrint" style="Z-INDEX: 203; LEFT: 613px; POSITION: absolute; TOP: 39px" runat="server" Font-Bold="True" Font-Size="X-Small" Height="22px" Width="32px" ForeColor="Yellow" Visible="False">
<a href="http://quiklaw.q/quiklaw/users/print/simplecall.pdf"><font color="yellow">Print</font></a></asp:label>
<asp:label id="lblComments" style="Z-INDEX: 202; LEFT: 700px; POSITION: absolute; TOP: 62px" runat="server" Font-Size="X-Small" Height="95px" Width="324px"></asp:label>
<asp:label id="lblDispatchComments" style="Z-INDEX: 201; LEFT: 688px; POSITION: absolute; TOP: 37px" runat="server" Font-Size="X-Small" Height="15px" Width="111px">Dispatch Comments</asp:label>
<asp:button id="btnPrint" style="Z-INDEX: 200; LEFT: 580px; POSITION: absolute; TOP: 13px" runat="server" Width="92px" Text="Make Report"></asp:button><asp:button id="btnNewCall" style="Z-INDEX: 199; LEFT: 158px; POSITION: absolute; TOP: 12px" runat="server" Width="59px" Text="New Call"></asp:button><asp:label id="lblPastComment" style="Z-INDEX: 198; LEFT: 167px; POSITION: absolute; TOP: 677px" runat="server" Width="248px" Height="22px" Font-Bold="True" Visible="False" ForeColor="Gold" Font-Italic="True">No Previous Comments Were Found</asp:label><asp:datagrid id="dgPastComments" style="Z-INDEX: 197; LEFT: 80px; POSITION: absolute; TOP: 631px" runat="server" Width="446px" Height="128px" AutoGenerateColumns="False">
<AlternatingItemStyle BackColor="Silver"></AlternatingItemStyle>
<Columns>
<asp:TemplateColumn>
<HeaderStyle Width="28%"></HeaderStyle>
<ItemStyle Width="100%"></ItemStyle>
<HeaderTemplate>
<b style="FONT-SIZE: 8pt; COLOR: black; TEXT-DECORATION: underline">Past Comments</b>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "NOTES") %>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid><asp:textbox id="txtTimeCompl" style="Z-INDEX: 196; LEFT: 134px; POSITION: absolute; TOP: 93px" tabIndex="1" runat="server" Width="61" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:textbox id="txtDateCompl" style="Z-INDEX: 102; LEFT: 198px; POSITION: absolute; TOP: 92px" tabIndex="1" runat="server" Width="74px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="Label11" style="Z-INDEX: 103; LEFT: 53px; POSITION: absolute; TOP: 69px" runat="server" Width="80px" Height="22px" Font-Size="X-Small">Time Received</asp:label><asp:textbox id="txtDateRcvd" style="Z-INDEX: 195; LEFT: 197px; POSITION: absolute; TOP: 64px" tabIndex="1" runat="server" Width="75px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblSearch" style="Z-INDEX: 193; LEFT: 680px; POSITION: absolute; TOP: 527px" runat="server" Width="179px" Height="22px" Font-Bold="True" Visible="False" ForeColor="Gold" Font-Italic="True">No Records Were Found</asp:label><asp:button id="btnSearch" style="Z-INDEX: 192; LEFT: 235px; POSITION: absolute; TOP: 11px" runat="server" Width="52px" Text="Search"></asp:button><asp:textbox id="txtCallNum" style="Z-INDEX: 191; LEFT: 357px; POSITION: absolute; TOP: 91px" tabIndex="1" runat="server" Width="334px" Height="21px" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblCallNum" style="Z-INDEX: 190; LEFT: 288px; POSITION: absolute; TOP: 96px" runat="server" Width="75px" Height="22px" Font-Size="X-Small">Call Number</asp:label><asp:button id="btnLogOut" style="Z-INDEX: 189; LEFT: 89px; POSITION: absolute; TOP: 12px" runat="server" Width="52px" Text="Log Out"></asp:button><asp:label id="Label10" style="Z-INDEX: 188; LEFT: 242px; POSITION: absolute; TOP: 149px" runat="server" Width="121px" Height="16px" Font-Size="X-Small" Font-Bold="True" Visible="False" ForeColor="Gold">Dispatch Information</asp:label><asp:textbox id="txtCallZip" style="Z-INDEX: 187; LEFT: 561px; POSITION: absolute; TOP: 348px" tabIndex="1" runat="server" Width="79px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblCallZip" style="Z-INDEX: 186; LEFT: 540px; POSITION: absolute; TOP: 352px" runat="server" Width="16px" Height="14px" Font-Size="X-Small" Visible="False">Zip</asp:label><asp:label id="lblCallState" style="Z-INDEX: 184; LEFT: 439px; POSITION: absolute; TOP: 348px" runat="server" Width="16px" Height="22px" Font-Size="X-Small" Visible="False">State</asp:label><asp:textbox id="txtCallCity" style="Z-INDEX: 183; LEFT: 286px; POSITION: absolute; TOP: 348px" tabIndex="1" runat="server" Width="136px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblCallCity" style="Z-INDEX: 182; LEFT: 259px; POSITION: absolute; TOP: 348px" runat="server" Width="16px" Height="22px" Font-Size="X-Small" Visible="False">City</asp:label><asp:textbox id="txtCallAddress" style="Z-INDEX: 181; LEFT: 288px; POSITION: absolute; TOP: 312px" tabIndex="1" runat="server" Width="351px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:label id="lblCallAddress" style="Z-INDEX: 180; LEFT: 236px; POSITION: absolute; TOP: 312px" runat="server" Width="16px" Height="22px" Font-Size="X-Small" Visible="False">Address</asp:label><asp:label id="lblCallName" style="Z-INDEX: 179; LEFT: 251px; POSITION: absolute; TOP: 277px" runat="server" Width="16px" Height="22px" Font-Size="X-Small" Visible="False">Name</asp:label><asp:textbox id="txtCallName" style="Z-INDEX: 178; LEFT: 287px; POSITION: absolute; TOP: 276px" tabIndex="1" runat="server" Width="353px" Height="21px" Visible="False" BorderColor="White" MaxLength="8" Enabled="False"></asp:textbox><asp:dropdownlist id="ddlCallState" style="Z-INDEX: 185; LEFT: 470px; POSITION: absolute; TOP: 348px" runat="server" Width="53px" Height="20px" Visible="False" Enabled="False"></asp:dropdownlist><asp:label id="lblOfficerLog" style="Z-INDEX: 194; LEFT: 687px; POSITION: absolute; TOP: 10px" runat="server" Width="308px" Height="22px" Font-Size="X-Small">Officer Currently Logged In: </asp:label></P>
</form>
</body>
</HTML>

If there is something else that I need to look into, please let me know what it is so that I can request access to that source.

Thanks.

Brandoe85
06-28-2006, 09:32 PM
We need to see the code behind that generates this.
Also, when posting code, use [code] tags. Thanks.

newseed
06-28-2006, 09:50 PM
We need to see the code behind that generates this.
Also, when posting code, use [code] tags. Thanks.

My apologies about the code tags.

I will have to get with the client to allow me to access those files. Look for it to be posted here tomorrow.

I assume you only need the codes that has something to do with 'lblComments'...correct?

Brandoe85
06-28-2006, 10:06 PM
My apologies about the code tags.

I will have to get with the client to allow me to access those files. Look for it to be posted here tomorrow.

I assume you only need the codes that has something to do with 'lblComments'...correct?

No problem.
Yeah, if you know the field in which the text is stored...as in "UNIT 10 RESPONDING" wherever you're displaying that field...we need to see.