Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\QueryTypeContainer.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="QueryTypeContainer.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.QueryTypeContainer" %> <% switch (this.Key) { case "0": %> <select onchange="if(this.value=="12"||this.value=="13"){$(this).parent().parent().find(".fieldContainer input,.fieldContainer select").val("").attr("disabled","disabled")}else{$(this).parent().parent().find(".fieldContainer input,.fieldContainer select").removeAttr("disabled")}" name="$QueryType"> <option realvalue="1" value="1">=</option> <option realvalue="2" value="2"><></option> <option realvalue="3" value="3">></option> <option realvalue="4" value="4">>=</option> <option realvalue="5" value="5"><</option> <option realvalue="6" value="6"><=</option> <option realvalue="7" value="7"> <%= DefineEnum.???.Define() %></option> <option realvalue="21" value="21"> <%= DefineEnum.?????.Define()%></option> <option realvalue="8" value="8"> <%= DefineEnum.?????.Define()%></option> <option realvalue="9" value="9"> <%= DefineEnum.?????.Define()%></option> <option realvalue="10" value="10"> <%= DefineEnum.???.Define()%></option> <option realvalue="11" value="11"> <%= DefineEnum.???.Define()%></option> <option realvalue="12" value="12"> <%= DefineEnum.???.Define()%></option> <option realvalue="13" value="13"> <%= DefineEnum.?????.Define()%></option> <option realvalue="16" value="16"> <%= DefineEnum.?????.Define()%></option> <option realvalue="17" value="17"> <%= DefineEnum.?????.Define()%></option> <option realvalue="18" value="18"> <%= DefineEnum.??????.Define()%></option> <option realvalue="19" value="19"> <%= DefineEnum.??????.Define()%></option> <option realvalue="20" value="20"> <%= DefineEnum.?????.Define()%></option> </select> <% break; case "1": case "2": case "3": case "4": case "5": %> <select onchange="if(this.value=="12"||this.value=="13"){$(this).parent().parent().find(".fieldContainer input,.fieldContainer select").val("").attr("disabled","disabled")}else{$(this).parent().parent().find(".fieldContainer input,.fieldContainer select").removeAttr("disabled")}" name="$QueryType"> <option realvalue="1" value="1">=</option> <option realvalue="2" value="2"><></option> <option realvalue="3" value="3">></option> <option realvalue="4" value="4">>=</option> <option realvalue="5" value="5"><</option> <option realvalue="6" value="6"><=</option> <option realvalue="10" value="10"> <%= DefineEnum.???.Define()%></option> <option realvalue="11" value="11"> <%= DefineEnum.???.Define()%></option> <option realvalue="12" value="12"> <%= DefineEnum.???.Define()%></option> <option realvalue="13" value="13"> <%= DefineEnum.?????.Define()%></option> <option realvalue="16" value="16"> <%= DefineEnum.?????.Define()%></option> <option realvalue="20" value="20"> <%= DefineEnum.?????.Define()%></option> </select> <% break; case "6": %> <select onchange="if(this.value=="12"||this.value=="13"){$(this).parent().parent().find(".fieldContainer input,.fieldContainer select").val("").attr("disabled","disabled")}else{$(this).parent().parent().find(".fieldContainer input,.fieldContainer select").removeAttr("disabled")}" name="$QueryType"> <option realvalue="1" value="1">=</option> <option realvalue="2" value="2"><></option> <option realvalue="3" value="3">></option> <option realvalue="4" value="4">>=</option> <option realvalue="5" value="5"><</option> <option realvalue="6" value="6"><=</option> <option realvalue="10" value="10"> <%= DefineEnum.???.Define()%></option> <option realvalue="11" value="11"> <%= DefineEnum.???.Define()%></option> <option realvalue="12" value="12"> <%= DefineEnum.???.Define()%></option> <option realvalue="13" value="13"> <%= DefineEnum.?????.Define()%></option> <option realvalue="16" value="16"> <%= DefineEnum.?????.Define()%></option> <option realvalue="20" value="20"> <%= DefineEnum.?????.Define()%></option> </select> <% break; case "7": %> <select onchange="if(this.value=="12"||this.value=="13"){$(this).parent().parent().find(".fieldContainer input,.fieldContainer select").val("").attr("disabled","disabled")}else{$(this).parent().parent().find(".fieldContainer input,.fieldContainer select").removeAttr("disabled")}" name="$QueryType"> <option realvalue="1" value="1">=</option> <option realvalue="2" value="2"><></option> <option realvalue="12" value="12"> <%= DefineEnum.???.Define()%></option> <option realvalue="13" value="13"> <%= DefineEnum.?????.Define()%></option> </select> <% break; default: %> <select> <option value="" selected="selected">::--::</option> </select> <% break; } %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de