home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
66.142.0.142
/
66.142.0.142.tar
/
66.142.0.142
/
tblFixtureMastersrch.aspx
< prev
next >
Wrap
Text File
|
2010-08-24
|
8KB
|
171 lines
<%@ Page Language="VB" MasterPageFile="masterpage.master" AutoEventWireup="false" CodeFile="tblFixtureMastersrch.aspx.vb" Inherits="tblFixtureMastersrch" CodeFileBaseClass="AspNetMaker7_tfpssnet" %>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
<script type="text/javascript">
<!--
// Create page object
var tblFixtureMaster_search = new ew_Page("tblFixtureMaster_search");
// page properties
tblFixtureMaster_search.PageID = "search"; // page ID
var EW_PAGE_ID = tblFixtureMaster_search.PageID; // for backward compatibility
// extend page with validate function for search
tblFixtureMaster_search.ValidateSearch = function(fobj) {
if (!this.ValidateRequired)
return true; // ignore validation
var infix = "";
elm = fobj.elements["x" + infix + "_lfxChannel"];
if (elm && !ew_CheckInteger(elm.value))
return ew_OnError(this, elm, "Incorrect integer - Channel");
for (var i=0;i<fobj.elements.length;i++) {
var elem = fobj.elements[i];
if (elem.name.substring(0,2) == "s_" || elem.name.substring(0,3) == "sv_")
elem.value = "";
}
return true;
}
<% If EW_CLIENT_VALIDATE Then %>
tblFixtureMaster_search.ValidateRequired = true; // uses JavaScript validation
<% Else %>
tblFixtureMaster_search.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">Search TABLE: Fixture Master<br /><br />
<a href="<%= tblFixtureMaster.ReturnUrl %>">Back to List</a></span></p>
<% tblFixtureMaster_search.ShowMessage() %>
<form name="ftblFixtureMastersearch" id="ftblFixtureMastersearch" method="post" onsubmit="this.action=location.pathname;return tblFixtureMaster_search.ValidateSearch(this);">
<p />
<input type="hidden" name="t" id="t" value="tblFixtureMaster" />
<input type="hidden" name="a_search" id="a_search" value="S" />
<table cellspacing="0" class="ewGrid"><tr><td class="ewGridContent">
<div class="ewGridMiddlePanel">
<table cellspacing="0" class="ewTable">
<tr<%= tblFixtureMaster.lfxMFG.RowAttributes %>>
<td class="ewTableHeader">Manufacturer</td>
<td<%= tblFixtureMaster.lfxMFG.CellAttributes %>><span class="ewSearchOpr">contains<input type="hidden" name="z_lfxMFG" id="z_lfxMFG" value="LIKE" /></span></td>
<td<%= tblFixtureMaster.lfxMFG.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_lfxMFG" id="x_lfxMFG" size="30" maxlength="255" value="<%= tblFixtureMaster.lfxMFG.EditValue %>"<%= tblFixtureMaster.lfxMFG.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblFixtureMaster.lfxModelType.RowAttributes %>>
<td class="ewTableHeader">Model / Type</td>
<td<%= tblFixtureMaster.lfxModelType.CellAttributes %>><span class="ewSearchOpr">contains<input type="hidden" name="z_lfxModelType" id="z_lfxModelType" value="LIKE" /></span></td>
<td<%= tblFixtureMaster.lfxModelType.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_lfxModelType" id="x_lfxModelType" size="30" maxlength="255" value="<%= tblFixtureMaster.lfxModelType.EditValue %>"<%= tblFixtureMaster.lfxModelType.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblFixtureMaster.lfxSerialNumber.RowAttributes %>>
<td class="ewTableHeader">Serial Number</td>
<td<%= tblFixtureMaster.lfxSerialNumber.CellAttributes %>><span class="ewSearchOpr">contains<input type="hidden" name="z_lfxSerialNumber" id="z_lfxSerialNumber" value="LIKE" /></span></td>
<td<%= tblFixtureMaster.lfxSerialNumber.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_lfxSerialNumber" id="x_lfxSerialNumber" size="30" maxlength="255" value="<%= tblFixtureMaster.lfxSerialNumber.EditValue %>"<%= tblFixtureMaster.lfxSerialNumber.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblFixtureMaster.lfxLamp.RowAttributes %>>
<td class="ewTableHeader">Lamp</td>
<td<%= tblFixtureMaster.lfxLamp.CellAttributes %>><span class="ewSearchOpr">contains<input type="hidden" name="z_lfxLamp" id="z_lfxLamp" value="LIKE" /></span></td>
<td<%= tblFixtureMaster.lfxLamp.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_lfxLamp" id="x_lfxLamp" size="30" maxlength="255" value="<%= tblFixtureMaster.lfxLamp.EditValue %>"<%= tblFixtureMaster.lfxLamp.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblFixtureMaster.lfxLocationID.RowAttributes %>>
<td class="ewTableHeader">Location</td>
<td<%= tblFixtureMaster.lfxLocationID.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_lfxLocationID" id="z_lfxLocationID" value="=" /></span></td>
<td<%= tblFixtureMaster.lfxLocationID.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<select id="x_lfxLocationID" name="x_lfxLocationID"<%= tblFixtureMaster.lfxLocationID.EditAttributes %>>
<%
emptywrk = True
If ew_IsArrayList(tblFixtureMaster.lfxLocationID.EditValue) Then
arwrk = tblFixtureMaster.lfxLocationID.EditValue
For rowcntwrk As Integer = 0 To arwrk.Count - 1
If ew_SameStr(arwrk(rowcntwrk)(0), tblFixtureMaster.lfxLocationID.AdvancedSearch.SearchValue) Then
selwrk = " selected=""selected"""
emptywrk = False
Else
selwrk = ""
End If
%>
<option value="<%= ew_HtmlEncode(arwrk(rowcntwrk)(0)) %>"<%= selwrk %>>
<%= arwrk(rowcntwrk)(1) %>
</option>
<%
Next
End If
%>
</select>
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblFixtureMaster.lfxHangPos.RowAttributes %>>
<td class="ewTableHeader">Hang Pos</td>
<td<%= tblFixtureMaster.lfxHangPos.CellAttributes %>><span class="ewSearchOpr">contains<input type="hidden" name="z_lfxHangPos" id="z_lfxHangPos" value="LIKE" /></span></td>
<td<%= tblFixtureMaster.lfxHangPos.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_lfxHangPos" id="x_lfxHangPos" size="30" maxlength="255" value="<%= tblFixtureMaster.lfxHangPos.EditValue %>"<%= tblFixtureMaster.lfxHangPos.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblFixtureMaster.lfxChannel.RowAttributes %>>
<td class="ewTableHeader">Channel</td>
<td<%= tblFixtureMaster.lfxChannel.CellAttributes %>><span class="ewSearchOpr">=<input type="hidden" name="z_lfxChannel" id="z_lfxChannel" value="=" /></span></td>
<td<%= tblFixtureMaster.lfxChannel.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<input type="text" name="x_lfxChannel" id="x_lfxChannel" size="30" value="<%= tblFixtureMaster.lfxChannel.EditValue %>"<%= tblFixtureMaster.lfxChannel.EditAttributes %> />
</span></td>
</tr></table>
</td>
</tr>
<tr<%= tblFixtureMaster.lfxNotes.RowAttributes %>>
<td class="ewTableHeader">Notes</td>
<td<%= tblFixtureMaster.lfxNotes.CellAttributes %>><span class="ewSearchOpr">contains<input type="hidden" name="z_lfxNotes" id="z_lfxNotes" value="LIKE" /></span></td>
<td<%= tblFixtureMaster.lfxNotes.CellAttributes %>>
<table cellspacing="0" class="ewItemTable"><tr>
<td><span class="aspnetmaker">
<textarea name="x_lfxNotes" id="x_lfxNotes" cols="35" rows="4"<%= tblFixtureMaster.lfxNotes.EditAttributes %>><%= tblFixtureMaster.lfxNotes.EditValue %></textarea>
</span></td>
</tr></table>
</td>
</tr>
</table>
</div>
</td></tr></table>
<p />
<input type="submit" name="Action" id="Action" value=" Search " />
<input type="button" name="Reset" id="Reset" value=" Reset " onclick="ew_ClearForm(this.form);" />
</form>
<script language="JavaScript" type="text/javascript">
<!--
// Write your table-specific startup script here
// document.write("page loaded");
//-->
</script>
</asp:Content>