home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
66.142.0.142
/
66.142.0.142.tar
/
66.142.0.142
/
tblLPRStatusedit.aspx
< prev
next >
Wrap
Text File
|
2010-08-26
|
3KB
|
69 lines
<%@ Page Language="VB" MasterPageFile="masterpage.master" ValidateRequest="false" AutoEventWireup="false" CodeFile="tblLPRStatusedit.aspx.vb" Inherits="tblLPRStatusedit" CodeFileBaseClass="AspNetMaker7_tfpssnet" %>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
<script type="text/javascript">
<!--
// Create page object
var tblLPRStatus_edit = new ew_Page("tblLPRStatus_edit");
// page properties
tblLPRStatus_edit.PageID = "edit"; // page ID
var EW_PAGE_ID = tblLPRStatus_edit.PageID; // for backward compatibility
// extend page with ValidateForm function
tblLPRStatus_edit.ValidateForm = function(fobj) {
if (!this.ValidateRequired)
return true; // ignore validation
if (fobj.a_confirm && fobj.a_confirm.value == "F")
return true;
var i, elm, aelm, infix;
var rowcnt = (fobj.key_count) ? Number(fobj.key_count.value) : 1;
for (i=0; i<rowcnt; i++) {
infix = (fobj.key_count) ? String(i+1) : "";
}
return true;
}
<% If EW_CLIENT_VALIDATE Then %>
tblLPRStatus_edit.ValidateRequired = true; // uses JavaScript validation
<% Else %>
tblLPRStatus_edit.ValidateRequired = false; // no JavaScript validation
<% End If %>
//-->
</script>
<script language="JavaScript" type="text/javascript">
<!--
// Write your client script here, no need to add script tags.
// To include another .js script, use:
// ew_ClientScriptInclude("my_javascript.js");
//-->
</script>
<p><span class="aspnetmaker">Edit TABLE: LPR Status<br /><br />
<a href="<%= tblLPRStatus.ReturnUrl %>">Go Back</a></span></p>
<% tblLPRStatus_edit.ShowMessage() %>
<form name="ftblLPRStatusedit" id="ftblLPRStatusedit" method="post" onsubmit="this.action=location.pathname;return tblLPRStatus_edit.ValidateForm(this);">
<p />
<input type="hidden" name="a_table" id="a_table" value="tblLPRStatus" />
<input type="hidden" name="a_edit" id="a_edit" value="U" />
<table cellspacing="0" class="ewGrid"><tr><td class="ewGridContent">
<div class="ewGridMiddlePanel">
<table cellspacing="0" class="ewTable">
<% If tblLPRStatus.lstDescription.Visible Then ' lstDescription %>
<tr<%= tblLPRStatus.lstDescription.RowAttributes %>>
<td class="ewTableHeader">Description</td>
<td<%= tblLPRStatus.lstDescription.CellAttributes %>><span id="el_lstDescription">
<input type="text" name="x_lstDescription" id="x_lstDescription" size="30" maxlength="255" value="<%= tblLPRStatus.lstDescription.EditValue %>"<%= tblLPRStatus.lstDescription.EditAttributes %> />
</span><%= tblLPRStatus.lstDescription.CustomMsg %></td>
</tr>
<% End If %>
</table>
</div>
</td></tr></table>
<input type="hidden" name="x_lstID" id="x_lstID" value="<%= ew_HTMLEncode(tblLPRStatus.lstID.CurrentValue) %>" />
<p />
<input type="submit" name="btnAction" id="btnAction" value=" Submit " />
</form>
<script language="JavaScript" type="text/javascript">
<!--
// Write your table-specific startup script here
// document.write("page loaded");
//-->
</script>
</asp:Content>