home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
66.142.0.142
/
66.142.0.142.tar
/
66.142.0.142
/
ltgFixtureNoteTypeedit.aspx
< prev
next >
Wrap
Text File
|
2014-01-25
|
4KB
|
84 lines
<%@ Page Language="VB" MasterPageFile="masterpage.master" ValidateRequest="false" AutoEventWireup="false" CodeFile="ltgFixtureNoteTypeedit.aspx.vb" Inherits="ltgFixtureNoteTypeedit" CodeFileBaseClass="AspNetMaker7_tfpssnet" %>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
<script type="text/javascript">
<!--
// Create page object
var ltgFixtureNoteType_edit = new ew_Page("ltgFixtureNoteType_edit");
// page properties
ltgFixtureNoteType_edit.PageID = "edit"; // page ID
var EW_PAGE_ID = ltgFixtureNoteType_edit.PageID; // for backward compatibility
// extend page with ValidateForm function
ltgFixtureNoteType_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 %>
ltgFixtureNoteType_edit.ValidateRequired = true; // uses JavaScript validation
<% Else %>
ltgFixtureNoteType_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: ltg Fixture Note Type<br /><br />
<a href="<%= ltgFixtureNoteType.ReturnUrl %>">Go Back</a></span></p>
<% ltgFixtureNoteType_edit.ShowMessage() %>
<form name="fltgFixtureNoteTypeedit" id="fltgFixtureNoteTypeedit" method="post" onsubmit="this.action=location.pathname;return ltgFixtureNoteType_edit.ValidateForm(this);">
<p />
<input type="hidden" name="a_table" id="a_table" value="ltgFixtureNoteType" />
<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 ltgFixtureNoteType.ntyDescription.Visible Then ' ntyDescription %>
<tr<%= ltgFixtureNoteType.ntyDescription.RowAttributes %>>
<td class="ewTableHeader">Description</td>
<td<%= ltgFixtureNoteType.ntyDescription.CellAttributes %>><span id="el_ntyDescription">
<input type="text" name="x_ntyDescription" id="x_ntyDescription" size="30" maxlength="255" value="<%= ltgFixtureNoteType.ntyDescription.EditValue %>"<%= ltgFixtureNoteType.ntyDescription.EditAttributes %> />
</span><%= ltgFixtureNoteType.ntyDescription.CustomMsg %></td>
</tr>
<% End If %>
<% If ltgFixtureNoteType.ntyIsActive.Visible Then ' ntyIsActive %>
<tr<%= ltgFixtureNoteType.ntyIsActive.RowAttributes %>>
<td class="ewTableHeader">Is Active</td>
<td<%= ltgFixtureNoteType.ntyIsActive.CellAttributes %>><span id="el_ntyIsActive">
<%
If ew_SameStr(ltgFixtureNoteType.ntyIsActive.CurrentValue, "1") Then
selwrk = " checked=""checked"""
Else
selwrk = ""
End If
%>
<input type="checkbox" name="x_ntyIsActive" id="x_ntyIsActive" value="1"<%= selwrk %><%= ltgFixtureNoteType.ntyIsActive.EditAttributes %> />
</span><%= ltgFixtureNoteType.ntyIsActive.CustomMsg %></td>
</tr>
<% End If %>
</table>
</div>
</td></tr></table>
<input type="hidden" name="x_ntyID" id="x_ntyID" value="<%= ew_HTMLEncode(ltgFixtureNoteType.ntyID.CurrentValue) %>" />
<p />
<input type="submit" name="btnAction" id="btnAction" value=" Edit " />
</form>
<script language="JavaScript" type="text/javascript">
<!--
// Write your table-specific startup script here
// document.write("page loaded");
//-->
</script>
</asp:Content>