home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
66.142.0.142
/
66.142.0.142.tar
/
66.142.0.142
/
tblScheduleStatusedit.aspx
< prev
next >
Wrap
Text File
|
2010-08-26
|
3KB
|
69 lines
<%@ Page Language="VB" MasterPageFile="masterpage.master" ValidateRequest="false" AutoEventWireup="false" CodeFile="tblScheduleStatusedit.aspx.vb" Inherits="tblScheduleStatusedit" CodeFileBaseClass="AspNetMaker7_tfpssnet" %>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
<script type="text/javascript">
<!--
// Create page object
var tblScheduleStatus_edit = new ew_Page("tblScheduleStatus_edit");
// page properties
tblScheduleStatus_edit.PageID = "edit"; // page ID
var EW_PAGE_ID = tblScheduleStatus_edit.PageID; // for backward compatibility
// extend page with ValidateForm function
tblScheduleStatus_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 %>
tblScheduleStatus_edit.ValidateRequired = true; // uses JavaScript validation
<% Else %>
tblScheduleStatus_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: Schedule Status<br /><br />
<a href="<%= tblScheduleStatus.ReturnUrl %>">Go Back</a></span></p>
<% tblScheduleStatus_edit.ShowMessage() %>
<form name="ftblScheduleStatusedit" id="ftblScheduleStatusedit" method="post" onsubmit="this.action=location.pathname;return tblScheduleStatus_edit.ValidateForm(this);">
<p />
<input type="hidden" name="a_table" id="a_table" value="tblScheduleStatus" />
<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 tblScheduleStatus.stDescription.Visible Then ' stDescription %>
<tr<%= tblScheduleStatus.stDescription.RowAttributes %>>
<td class="ewTableHeader">Description</td>
<td<%= tblScheduleStatus.stDescription.CellAttributes %>><span id="el_stDescription">
<input type="text" name="x_stDescription" id="x_stDescription" size="30" maxlength="255" value="<%= tblScheduleStatus.stDescription.EditValue %>"<%= tblScheduleStatus.stDescription.EditAttributes %> />
</span><%= tblScheduleStatus.stDescription.CustomMsg %></td>
</tr>
<% End If %>
</table>
</div>
</td></tr></table>
<input type="hidden" name="x_stID" id="x_stID" value="<%= ew_HTMLEncode(tblScheduleStatus.stID.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>