home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
66.142.0.142
/
66.142.0.142.tar
/
66.142.0.142
/
tblScheduleStatusadd.aspx
< prev
next >
Wrap
Text File
|
2010-08-24
|
3KB
|
69 lines
<%@ Page Language="VB" MasterPageFile="masterpage.master" ValidateRequest="false" AutoEventWireup="false" CodeFile="tblScheduleStatusadd.aspx.vb" Inherits="tblScheduleStatusadd" CodeFileBaseClass="AspNetMaker7_tfpssnet" %>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
<script type="text/javascript">
<!--
// Create page object
var tblScheduleStatus_add = new ew_Page("tblScheduleStatus_add");
// page properties
tblScheduleStatus_add.PageID = "add"; // page ID
var EW_PAGE_ID = tblScheduleStatus_add.PageID; // for backward compatibility
// extend page with ValidateForm function
tblScheduleStatus_add.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_add.ValidateRequired = true; // uses JavaScript validation
<% Else %>
tblScheduleStatus_add.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">Add to TABLE: Schedule Status<br /><br />
<a href="<%= tblScheduleStatus.ReturnUrl %>">Go Back</a></span></p>
<% tblScheduleStatus_add.ShowMessage() %>
<form name="ftblScheduleStatusadd" id="ftblScheduleStatusadd" method="post" onsubmit="this.action=location.pathname;return tblScheduleStatus_add.ValidateForm(this);">
<p />
<input type="hidden" name="t" id="t" value="tblScheduleStatus" />
<input type="hidden" name="a_add" id="a_add" value="A" />
<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>
<p />
<input type="submit" name="btnAction" id="btnAction" value=" Add " />
</form>
<script language="JavaScript" type="text/javascript">
<!--
// Write your table-specific startup script here
// document.write("page loaded");
//-->
document.all('x_stDescription').focus();
</script>
</asp:Content>