I have a web form that contains a repeater control that is designed to ask
like a check book register. Clicking on a certain transaction takes the user
to a different .aspx page where it can be edited and then saved. Currently,
after saving the edited transaction and returning to the check register, the
repeater control table returns to the bottom. I would like the edited
transaction to appear in the table instead. I know that a JavaScript
ScrollIntoView method on the check register .aspx page controls whether the
table scroll defaults to the top or bottom, but I don't know enough about
this method to know what I need to do to use it to scroll to a certain
transaction. Furthermore, I know I'd need to pass some type of parameter
indicating which transaction had been edited, which I imagine would have to
be done through the code-behind page, and I'm not certain how to do this.
Any advice? The code from the check register .aspx page is pasted below.
Thanks!
<%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="Tra nsactionLog.asp x.vb" Inherits="IAMVF O_DEV.Transacti onLog"
enableviewstate =true%>
<%@ Register TagPrefix="ici" Namespace="ICIV alidators"
Assembly="ICIVa lidators" %>
<%@ OutputCache Location="None" Duration="1" VaryByParam="No ne" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>Transact ionLog</title>
<meta content="Micros oft Visual Studio.NET 7.0" name="GENERATOR ">
<meta content="Visual Basic 7.0" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
<LINK href="Styles.cs s" type="text/css" rel="stylesheet ">
</HEAD>
<body onresize="retur n Height();" onload="return Height();"
class="backgrou nd" bottomMargin="0 " leftMargin="0" topMargin="0"
rightMargin="0" >
<form id="frmTransact ion" runat="server">
<input type="hidden" name="hTrueFals e">
<p><asp:validat ionsummary id="ValidSum" runat="server" HeaderText="The
following errors were found with your input:" Font-Size="X-Small"
ShowSummary="Tr ue"></asp:validations ummary></p>
<TABLE id="Table1" height="30" cellSpacing="0" cellPadding="0"
width="100%" border="0">
<TR>
<TD class="Account_ HeaderColor" style="FONT-WEIGHT: bold; FONT-SIZE:
12pt; HEIGHT: 30px">Bank
Register for
<asp:label id="lblAcctNm" Font-Size="Small"
Runat="server"> </asp:label></TD>
</TR>
</TABLE>
<table id="tblReconcil eHeader" width="100%" border="0" cellSpacing="1" >
<COLGROUP>
<COL id="colReconcil eHead1" align="middle">
<COL id="colReconcil eHead2" align="middle">
<COL id="colReconcil eHead3" align="middle">
<COL id="colReconcil eHead4" align="middle">
<COL id="colReconcil eHead5" align="middle">
<COL id="colReconcil eHead6" align="middle">
</COLGROUP>
<tr class="ShadeCol HeaderDark">
<td id="tblReconcil eHeader2_1" style="FONT-SIZE: 10pt"
class="TableHea ders">Bank
Reconciliation Due By:
<asp:label id="lblRecDueDa te" Font-Size="X-Small"
Runat="server"> </asp:label>
<asp:linkbutt on id="lnkOverdue " onclick="lnkOve rdue_Click"
Runat="server" text="Overdue" Enabled="false" Visible="False"
ForeColor="Red" >Overdue</asp:linkbutton> </td>
<td id="tblReconcil eHeader2_2" class="TableHea ders"><asp:butt on
id="btnFindTran s" Runat="server" Text="Find
Transaction"></asp:button><asp :button id="btnCorrectB al" Runat="server"
Text="Correct Balance"></asp:button></td>
</tr>
</table>
<asp:repeater id="rptTransact ion" runat="server">
<HeaderTemplate >
<div id="divTransHea der" style="VISIBILI TY: hidden">
<table id="tblTransHea der" cellspacing="0" border="0"
class="HeaderTa ble">
<colgroup class="ShadeCol HeaderDark">
<col id="colHeader1 " align="center">
<col id="colHeader2 " align="center">
<col id="colHeader3 " align="center">
<col id="colHeader4 " align="center">
<col id="colHeader5 " align="center">
<col id="colHeader6 " align="center">
<col id="colHeader7 " align="center">
<col id="colHeader8 " align="center">
<col id="colHeader9 " align="center">
<col width="*">
</colgroup>
<tr class="TableHea ders">
<td id="tblTransHea der1_0">
<asp:LinkButt on id="lnkSortDate " OnCommand="Sort Data"
CommandArgument ="date" text="Date" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_1">
<asp:LinkButt on id="lnkSortNumb er" OnCommand="Sort Data"
CommandArgument ="number" text="Number" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_2" colspan="2">
<asp:LinkButt on id="lnkSortDesc " OnCommand="Sort Data"
CommandArgument ="descriptio n" text="Descripti on" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_3">
<asp:LinkButt on id="lnkSortPayT ype" OnCommand="Sort Data"
CommandArgument ="pay_type" text="Payment Type" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_4">
<asp:LinkButt on id="lnkSortRece ipt" OnCommand="Sort Data"
CommandArgument ="receipt" text="Deposit" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_5">
<asp:LinkButt on id="lnkSortStat us" OnCommand="Sort Data"
CommandArgument ="Reconciled " text="R/C" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_6">
<asp:LinkButt on id="lnkSortDisb urse" OnCommand="Sort Data"
CommandArgument ="Disburseme nt" text="Disbursem ent" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_7">Balance </td>
</tr>
<tr class="TableHea ders">
<td id="tblTransHea der2_0"></td>
<td id="tblTransHea der2_1"></td>
<td id="tblTransHea der2_2" style="BORDER-TOP: white 2px solid">
<asp:LinkButt on id="lnkSortCat " OnCommand="Sort Data"
CommandArgument ="category" text="Category" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der2_3" style="BORDER-TOP: white 2px solid">
<asp:LinkButt on id="lnkSortSubC at" OnCommand="Sort Data"
CommandArgument ="sub_catego ry" text="Sub-Category" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der2_4"></td>
<td id="tblTransHea der2_5"></td>
<td id="tblTransHea der2_6"></td>
<td id="tblTransHea der2_7"></td>
<td id="tblTransHea der2_8"></td>
</tr>
</table>
</div>
<DIV id="divTransBod y" style="VISIBILI TY: hidden; OVERFLOW: auto;
WIDTH: 100%; HEIGHT: 130px">
<table border="0" cellspacing="0" id="tblTransBod y" border="0"
width="100%">
<colgroup class="ShadeCol HeaderDark">
<col width="66" id="tblTransBod y1" align="center">
<col width="80" id="tblTransBod y2" align="center">
<col width="115" id="tblTransBod y3" align="center">
<col width="115" id="tblTransBod y4" align="center">
<col width="60" id="tblTransBod y5" align="center">
<col width="65" id="tblTransBod y6" align="center">
<col width="64" id="tblTransBod y7" align="center">
<col width="79" id="tblTransBod y8" align="center">
<col width="51" id="tblTransBod y9" align="center">
<col width="51" id="tblTransBod y10" align="center">
</colgroup>
</HeaderTemplate>
<ItemTemplate >
<tr class="Shade_Tr ans_light" style="COLOR: black">
<td>
<asp:label ID="Label1" text='' runat="server" />
</td>
<td>
<asp:label text='<%# iif(len(trim(Co ntainer.DataIte m("number") & ""))[color=blue]
> 0, Container.DataI tem("pay_type") & " #" & Container.DataI tem("number"),[/color]
"")%>' runat="server" ID="Label2"/></td>
<td colspan="2">
<asp:Label ID="lblTransDes c" text='<%#
Container.DataI tem("descriptio n")%>' Runat=server ForeColor="#000 000">
</asp:Label>
<asp:LinkButt on ID="lnkTransDes c" text='<%#
Container.DataI tem("descriptio n")%>' OnCommand="lnkT ransDesc_Click"
CommandArgument ='<%# Container.DataI tem("id")%>' Runat="server"
ForeColor="#000 000">
</asp:LinkButton>
</td>
<td>
<asp:Label ID=lblPayType text='<%# Container.DataI tem("pay_type") %>'
Runat=server ForeColor="#000 000">
</asp:Label>
<asp:LinkButt on ID="lnkPayType " text='<%#
Container.DataI tem("pay_type") %>' OnCommand="lnkP ayType_Click"
CommandArgument ='<%# Container.DataI tem("id")%>' Runat="server"
ForeColor="#000 000">
</asp:LinkButton>
</td>
<td align="right">
<asp:label text='<%# iif(cstr(Contai ner.DataItem("r eceipt")) = "0",
"", format(Math.Abs (Container.Data Item("receipt") ), "0.00"))%>'
runat="server" ID="Label3"/></td>
<td>
<asp:label text='<%# Container.DataI tem("Reconciled ")%>'
runat="server" ID="Label4"/></td>
<td align="right">
<asp:label text='<%# iif(cstr(Contai ner.DataItem("D isbursement")) =
"0", "", Format(Containe r.DataItem("Dis bursement") * -1, "0.00"))%>'
runat="server" ID="Label5"/></td>
<td align="right">
<asp:label ID="lblBalance " text='<%#
iif(cstr(Contai ner.DataItem("B alance1")) = ".00", "0.00",
Format(Containe r.DataItem("Bal ance1"), "0.00;(0.00)")) %>'
runat="server"/></td>
</tr>
<tr class="Shade_Tr ans_dark" style="COLOR: black; BACKGROUND-COLOR:
gainsboro">
<td></td>
<td colspan="1">
<asp:label ID="lblPayroll " text="PAYROLL" Runat="server"
ForeColor="#000 0ff"></asp:label>
<asp:LinkButt on ID="lnkTransHis tory" text="" CommandArgument ='<%#
Container.DataI tem("id")%>' OnCommand="lnkT ransHistory_Cli ck" Runat="server"
ForeColor="Blac k">
</asp:LinkButton>
<asp:Label ID="lblTransHis tory" Runat="server"> </asp:Label>
</td>
<td>
<asp:label ID="lblCategory " text='<%#
Container.DataI tem("category") %>' runat="server" />
<asp:LinkButt on ID="lnkViewSpli t" text="Split"
OnCommand="lnkV iewSplit_Click" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor="#000 000">
</asp:LinkButton>
</td>
<td>
<asp:label ID="Label7" text='<%#
Container.DataI tem("sub_catego ry")%>' runat="server" /></td>
<td colspan="2" align="left">
<asp:label ID="lblFunction alCat" text='<%#
Container.DataI tem("functional _category")%>' runat="server" /></td>
<td colspan="2" align="left">
<asp:LinkButt on ID="lnkReturnTo Cash" text="Return To Cash"
OnCommand="lnkR eturnToCash_Cli ck" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkEditTran s" text="Edit"
OnCommand="lnkE ditTrans_Click" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkViewDeta ils" text="View Details"
OnCommand="lnkV iewDetails_Clic k" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkAdjustTr ans" text="Adjust"
OnCommand="lnkA djustTrans_Clic k" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkLodgeVoi d" text="Void"
OnCommand="lnkL odgeVoid_Click" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkLodgeUnV oid" text="Un-Void"
OnCommand="lnkL odgeUnVoid_Clic k" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkAuditorV oid" text="Void"
OnCommand="lnkA uditorVoid_Clic k" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkAuditorU nVoid" text="Un-Void"
OnCommand="lnkA uditorUnVoid_Cl ick" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
</td>
<td></td>
</tr>
</ItemTemplate>
<SeparatorTempl ate>
<tr>
<td colspan="10" height="2" bgcolor="#00000 0" style="BORDER-RIGHT:
white 1px solid; BORDER-LEFT: white 1px solid;"></td>
</tr>
</SeparatorTempla te>
<FooterTemplate >
</table> </div>
</FooterTemplate>
</asp:repeater>
<TABLE id="tblFooter" width="100%" border="0" cellSpacing="0"
cellPadding="1" >
<TR class="ShadeCol HeaderDark">
<TD align="middle" class="TableHea ders" style="HEIGHT: 2px">View:
<asp:dropdownli st id="ddlViewPrev ious"
Runat="server"> </asp:dropdownlis t>
Or Enter Date Range From:
<asp:textbox id="txtFromDate " Runat="server"> </asp:textbox> To:
<asp:textbox id="txtToDate" Runat="server"> </asp:textbox>
<asp:button id="btnGo" Runat="server" Text="Go"></asp:button></TD>
</TR>
<TR class="ShadeCol HeaderDark">
<TD align="right" class="Account_ HeaderColor" style="HEIGHT:
20px"><asp:link button id="lnkRecordsP revious" Runat="server" Visible="False"
ForeColor="Whit e" Font-Bold="True"></asp:linkbutton>
<asp:linkbutt on id="lnkRecordsN ext" Runat="server" Visible="False"
ForeColor="Whit e" Font-Bold="True"></asp:linkbutton> </TD>
</TR>
</TABLE>
<asp:label id="lblToday" Runat="server" Visible="False"
DESIGNTIMEDRAGD ROP="250"></asp:label><asp: label id="lblAcctBala nce"
Runat="server" Visible="False" ></asp:label><asp: label id="lblAcctNum "
Runat="server" Visible="False" ></asp:label><asp: label id="lblBankNm"
Runat="server" Visible="False" ></asp:label><asp: label id="lblAcctType "
Runat="server" Visible="False" ></asp:label><asp: label id="lblAcctStat us"
Runat="server" Visible="False" ></asp:label><ici: datevalidator
id="dtv_txtFrom Date" runat="server" Display="None" ErrorMessage="F rom Date"
ControlToValida te="txtFromDate "></ici:datevalidat or><ici:dateval idator
id="dtv_txtToDa te" runat="server" Display="None" ErrorMessage="T o Date"
ControlToValida te="txtToDate"> </ici:datevalidat or><asp:customv alidator
id="cuv_DateRan ge" runat="server" Display="None" ErrorMessage="T he From date
must be less than the To date"
EnableClientScr ipt="False"></asp:customvalid ator></form>
<SCRIPT language="javas cript" src="AlignGridH eaders.js"></SCRIPT>
<SCRIPT language="javas cript">
<!--
//AlignGridHeader s(tblHeaders,dg );
Resizecolumns(t blTransHeader, tblTransBody, divTransBody, 9);
divTransHeader. style.visibilit y = "visible";
divTransBody.st yle.visibility = "visible";
tblTransBody.sc rollIntoView(fa lse)
//-->
</SCRIPT>
<SCRIPT language="javas cript">
function fnGo(){
return confirm ('The results returned more than 1000 records. Do you
wish to continue?');
}
<% if viewstate("iCou nt") = "greater" then%>
return confirm ('The results returned more than 1000 records. Do you
wish to continue?');
<% end if %>
</SCRIPT>
<script language="javas cript">
<!--
//4/11/05-Wrote this function, and added the onload & onresize events
to the <body> tag,
// to resize the transaction log based on screen resolution.
function Height()
{if ((screen.width= =1024) && (screen.height= =768))
return divTransBody.st yle.height = 375;
else if ((screen.width= =800) && (screen.height= =600))
return divTransBody.st yle.height = 205;}
//-->
</script>
</body>
</HTML>
like a check book register. Clicking on a certain transaction takes the user
to a different .aspx page where it can be edited and then saved. Currently,
after saving the edited transaction and returning to the check register, the
repeater control table returns to the bottom. I would like the edited
transaction to appear in the table instead. I know that a JavaScript
ScrollIntoView method on the check register .aspx page controls whether the
table scroll defaults to the top or bottom, but I don't know enough about
this method to know what I need to do to use it to scroll to a certain
transaction. Furthermore, I know I'd need to pass some type of parameter
indicating which transaction had been edited, which I imagine would have to
be done through the code-behind page, and I'm not certain how to do this.
Any advice? The code from the check register .aspx page is pasted below.
Thanks!
<%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="Tra nsactionLog.asp x.vb" Inherits="IAMVF O_DEV.Transacti onLog"
enableviewstate =true%>
<%@ Register TagPrefix="ici" Namespace="ICIV alidators"
Assembly="ICIVa lidators" %>
<%@ OutputCache Location="None" Duration="1" VaryByParam="No ne" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>Transact ionLog</title>
<meta content="Micros oft Visual Studio.NET 7.0" name="GENERATOR ">
<meta content="Visual Basic 7.0" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
<LINK href="Styles.cs s" type="text/css" rel="stylesheet ">
</HEAD>
<body onresize="retur n Height();" onload="return Height();"
class="backgrou nd" bottomMargin="0 " leftMargin="0" topMargin="0"
rightMargin="0" >
<form id="frmTransact ion" runat="server">
<input type="hidden" name="hTrueFals e">
<p><asp:validat ionsummary id="ValidSum" runat="server" HeaderText="The
following errors were found with your input:" Font-Size="X-Small"
ShowSummary="Tr ue"></asp:validations ummary></p>
<TABLE id="Table1" height="30" cellSpacing="0" cellPadding="0"
width="100%" border="0">
<TR>
<TD class="Account_ HeaderColor" style="FONT-WEIGHT: bold; FONT-SIZE:
12pt; HEIGHT: 30px">Bank
Register for
<asp:label id="lblAcctNm" Font-Size="Small"
Runat="server"> </asp:label></TD>
</TR>
</TABLE>
<table id="tblReconcil eHeader" width="100%" border="0" cellSpacing="1" >
<COLGROUP>
<COL id="colReconcil eHead1" align="middle">
<COL id="colReconcil eHead2" align="middle">
<COL id="colReconcil eHead3" align="middle">
<COL id="colReconcil eHead4" align="middle">
<COL id="colReconcil eHead5" align="middle">
<COL id="colReconcil eHead6" align="middle">
</COLGROUP>
<tr class="ShadeCol HeaderDark">
<td id="tblReconcil eHeader2_1" style="FONT-SIZE: 10pt"
class="TableHea ders">Bank
Reconciliation Due By:
<asp:label id="lblRecDueDa te" Font-Size="X-Small"
Runat="server"> </asp:label>
<asp:linkbutt on id="lnkOverdue " onclick="lnkOve rdue_Click"
Runat="server" text="Overdue" Enabled="false" Visible="False"
ForeColor="Red" >Overdue</asp:linkbutton> </td>
<td id="tblReconcil eHeader2_2" class="TableHea ders"><asp:butt on
id="btnFindTran s" Runat="server" Text="Find
Transaction"></asp:button><asp :button id="btnCorrectB al" Runat="server"
Text="Correct Balance"></asp:button></td>
</tr>
</table>
<asp:repeater id="rptTransact ion" runat="server">
<HeaderTemplate >
<div id="divTransHea der" style="VISIBILI TY: hidden">
<table id="tblTransHea der" cellspacing="0" border="0"
class="HeaderTa ble">
<colgroup class="ShadeCol HeaderDark">
<col id="colHeader1 " align="center">
<col id="colHeader2 " align="center">
<col id="colHeader3 " align="center">
<col id="colHeader4 " align="center">
<col id="colHeader5 " align="center">
<col id="colHeader6 " align="center">
<col id="colHeader7 " align="center">
<col id="colHeader8 " align="center">
<col id="colHeader9 " align="center">
<col width="*">
</colgroup>
<tr class="TableHea ders">
<td id="tblTransHea der1_0">
<asp:LinkButt on id="lnkSortDate " OnCommand="Sort Data"
CommandArgument ="date" text="Date" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_1">
<asp:LinkButt on id="lnkSortNumb er" OnCommand="Sort Data"
CommandArgument ="number" text="Number" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_2" colspan="2">
<asp:LinkButt on id="lnkSortDesc " OnCommand="Sort Data"
CommandArgument ="descriptio n" text="Descripti on" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_3">
<asp:LinkButt on id="lnkSortPayT ype" OnCommand="Sort Data"
CommandArgument ="pay_type" text="Payment Type" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_4">
<asp:LinkButt on id="lnkSortRece ipt" OnCommand="Sort Data"
CommandArgument ="receipt" text="Deposit" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_5">
<asp:LinkButt on id="lnkSortStat us" OnCommand="Sort Data"
CommandArgument ="Reconciled " text="R/C" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_6">
<asp:LinkButt on id="lnkSortDisb urse" OnCommand="Sort Data"
CommandArgument ="Disburseme nt" text="Disbursem ent" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der1_7">Balance </td>
</tr>
<tr class="TableHea ders">
<td id="tblTransHea der2_0"></td>
<td id="tblTransHea der2_1"></td>
<td id="tblTransHea der2_2" style="BORDER-TOP: white 2px solid">
<asp:LinkButt on id="lnkSortCat " OnCommand="Sort Data"
CommandArgument ="category" text="Category" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der2_3" style="BORDER-TOP: white 2px solid">
<asp:LinkButt on id="lnkSortSubC at" OnCommand="Sort Data"
CommandArgument ="sub_catego ry" text="Sub-Category" Runat="server"
ForeColor="#000 000"></asp:LinkButton> </td>
<td id="tblTransHea der2_4"></td>
<td id="tblTransHea der2_5"></td>
<td id="tblTransHea der2_6"></td>
<td id="tblTransHea der2_7"></td>
<td id="tblTransHea der2_8"></td>
</tr>
</table>
</div>
<DIV id="divTransBod y" style="VISIBILI TY: hidden; OVERFLOW: auto;
WIDTH: 100%; HEIGHT: 130px">
<table border="0" cellspacing="0" id="tblTransBod y" border="0"
width="100%">
<colgroup class="ShadeCol HeaderDark">
<col width="66" id="tblTransBod y1" align="center">
<col width="80" id="tblTransBod y2" align="center">
<col width="115" id="tblTransBod y3" align="center">
<col width="115" id="tblTransBod y4" align="center">
<col width="60" id="tblTransBod y5" align="center">
<col width="65" id="tblTransBod y6" align="center">
<col width="64" id="tblTransBod y7" align="center">
<col width="79" id="tblTransBod y8" align="center">
<col width="51" id="tblTransBod y9" align="center">
<col width="51" id="tblTransBod y10" align="center">
</colgroup>
</HeaderTemplate>
<ItemTemplate >
<tr class="Shade_Tr ans_light" style="COLOR: black">
<td>
<asp:label ID="Label1" text='' runat="server" />
</td>
<td>
<asp:label text='<%# iif(len(trim(Co ntainer.DataIte m("number") & ""))[color=blue]
> 0, Container.DataI tem("pay_type") & " #" & Container.DataI tem("number"),[/color]
"")%>' runat="server" ID="Label2"/></td>
<td colspan="2">
<asp:Label ID="lblTransDes c" text='<%#
Container.DataI tem("descriptio n")%>' Runat=server ForeColor="#000 000">
</asp:Label>
<asp:LinkButt on ID="lnkTransDes c" text='<%#
Container.DataI tem("descriptio n")%>' OnCommand="lnkT ransDesc_Click"
CommandArgument ='<%# Container.DataI tem("id")%>' Runat="server"
ForeColor="#000 000">
</asp:LinkButton>
</td>
<td>
<asp:Label ID=lblPayType text='<%# Container.DataI tem("pay_type") %>'
Runat=server ForeColor="#000 000">
</asp:Label>
<asp:LinkButt on ID="lnkPayType " text='<%#
Container.DataI tem("pay_type") %>' OnCommand="lnkP ayType_Click"
CommandArgument ='<%# Container.DataI tem("id")%>' Runat="server"
ForeColor="#000 000">
</asp:LinkButton>
</td>
<td align="right">
<asp:label text='<%# iif(cstr(Contai ner.DataItem("r eceipt")) = "0",
"", format(Math.Abs (Container.Data Item("receipt") ), "0.00"))%>'
runat="server" ID="Label3"/></td>
<td>
<asp:label text='<%# Container.DataI tem("Reconciled ")%>'
runat="server" ID="Label4"/></td>
<td align="right">
<asp:label text='<%# iif(cstr(Contai ner.DataItem("D isbursement")) =
"0", "", Format(Containe r.DataItem("Dis bursement") * -1, "0.00"))%>'
runat="server" ID="Label5"/></td>
<td align="right">
<asp:label ID="lblBalance " text='<%#
iif(cstr(Contai ner.DataItem("B alance1")) = ".00", "0.00",
Format(Containe r.DataItem("Bal ance1"), "0.00;(0.00)")) %>'
runat="server"/></td>
</tr>
<tr class="Shade_Tr ans_dark" style="COLOR: black; BACKGROUND-COLOR:
gainsboro">
<td></td>
<td colspan="1">
<asp:label ID="lblPayroll " text="PAYROLL" Runat="server"
ForeColor="#000 0ff"></asp:label>
<asp:LinkButt on ID="lnkTransHis tory" text="" CommandArgument ='<%#
Container.DataI tem("id")%>' OnCommand="lnkT ransHistory_Cli ck" Runat="server"
ForeColor="Blac k">
</asp:LinkButton>
<asp:Label ID="lblTransHis tory" Runat="server"> </asp:Label>
</td>
<td>
<asp:label ID="lblCategory " text='<%#
Container.DataI tem("category") %>' runat="server" />
<asp:LinkButt on ID="lnkViewSpli t" text="Split"
OnCommand="lnkV iewSplit_Click" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor="#000 000">
</asp:LinkButton>
</td>
<td>
<asp:label ID="Label7" text='<%#
Container.DataI tem("sub_catego ry")%>' runat="server" /></td>
<td colspan="2" align="left">
<asp:label ID="lblFunction alCat" text='<%#
Container.DataI tem("functional _category")%>' runat="server" /></td>
<td colspan="2" align="left">
<asp:LinkButt on ID="lnkReturnTo Cash" text="Return To Cash"
OnCommand="lnkR eturnToCash_Cli ck" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkEditTran s" text="Edit"
OnCommand="lnkE ditTrans_Click" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkViewDeta ils" text="View Details"
OnCommand="lnkV iewDetails_Clic k" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkAdjustTr ans" text="Adjust"
OnCommand="lnkA djustTrans_Clic k" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkLodgeVoi d" text="Void"
OnCommand="lnkL odgeVoid_Click" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkLodgeUnV oid" text="Un-Void"
OnCommand="lnkL odgeUnVoid_Clic k" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkAuditorV oid" text="Void"
OnCommand="lnkA uditorVoid_Clic k" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
<asp:LinkButt on ID="lnkAuditorU nVoid" text="Un-Void"
OnCommand="lnkA uditorUnVoid_Cl ick" CommandArgument ='<%#
Container.DataI tem("id")%>' Runat="server" ForeColor=#0000 ff >
</asp:LinkButton>
</td>
<td></td>
</tr>
</ItemTemplate>
<SeparatorTempl ate>
<tr>
<td colspan="10" height="2" bgcolor="#00000 0" style="BORDER-RIGHT:
white 1px solid; BORDER-LEFT: white 1px solid;"></td>
</tr>
</SeparatorTempla te>
<FooterTemplate >
</table> </div>
</FooterTemplate>
</asp:repeater>
<TABLE id="tblFooter" width="100%" border="0" cellSpacing="0"
cellPadding="1" >
<TR class="ShadeCol HeaderDark">
<TD align="middle" class="TableHea ders" style="HEIGHT: 2px">View:
<asp:dropdownli st id="ddlViewPrev ious"
Runat="server"> </asp:dropdownlis t>
Or Enter Date Range From:
<asp:textbox id="txtFromDate " Runat="server"> </asp:textbox> To:
<asp:textbox id="txtToDate" Runat="server"> </asp:textbox>
<asp:button id="btnGo" Runat="server" Text="Go"></asp:button></TD>
</TR>
<TR class="ShadeCol HeaderDark">
<TD align="right" class="Account_ HeaderColor" style="HEIGHT:
20px"><asp:link button id="lnkRecordsP revious" Runat="server" Visible="False"
ForeColor="Whit e" Font-Bold="True"></asp:linkbutton>
<asp:linkbutt on id="lnkRecordsN ext" Runat="server" Visible="False"
ForeColor="Whit e" Font-Bold="True"></asp:linkbutton> </TD>
</TR>
</TABLE>
<asp:label id="lblToday" Runat="server" Visible="False"
DESIGNTIMEDRAGD ROP="250"></asp:label><asp: label id="lblAcctBala nce"
Runat="server" Visible="False" ></asp:label><asp: label id="lblAcctNum "
Runat="server" Visible="False" ></asp:label><asp: label id="lblBankNm"
Runat="server" Visible="False" ></asp:label><asp: label id="lblAcctType "
Runat="server" Visible="False" ></asp:label><asp: label id="lblAcctStat us"
Runat="server" Visible="False" ></asp:label><ici: datevalidator
id="dtv_txtFrom Date" runat="server" Display="None" ErrorMessage="F rom Date"
ControlToValida te="txtFromDate "></ici:datevalidat or><ici:dateval idator
id="dtv_txtToDa te" runat="server" Display="None" ErrorMessage="T o Date"
ControlToValida te="txtToDate"> </ici:datevalidat or><asp:customv alidator
id="cuv_DateRan ge" runat="server" Display="None" ErrorMessage="T he From date
must be less than the To date"
EnableClientScr ipt="False"></asp:customvalid ator></form>
<SCRIPT language="javas cript" src="AlignGridH eaders.js"></SCRIPT>
<SCRIPT language="javas cript">
<!--
//AlignGridHeader s(tblHeaders,dg );
Resizecolumns(t blTransHeader, tblTransBody, divTransBody, 9);
divTransHeader. style.visibilit y = "visible";
divTransBody.st yle.visibility = "visible";
tblTransBody.sc rollIntoView(fa lse)
//-->
</SCRIPT>
<SCRIPT language="javas cript">
function fnGo(){
return confirm ('The results returned more than 1000 records. Do you
wish to continue?');
}
<% if viewstate("iCou nt") = "greater" then%>
return confirm ('The results returned more than 1000 records. Do you
wish to continue?');
<% end if %>
</SCRIPT>
<script language="javas cript">
<!--
//4/11/05-Wrote this function, and added the onload & onresize events
to the <body> tag,
// to resize the transaction log based on screen resolution.
function Height()
{if ((screen.width= =1024) && (screen.height= =768))
return divTransBody.st yle.height = 375;
else if ((screen.width= =800) && (screen.height= =600))
return divTransBody.st yle.height = 205;}
//-->
</script>
</body>
</HTML>