Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\Control\AjaxLoadControl.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AjaxLoadControl.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.AjaxLoadControl" %> <script type="text/ecmascript"> <% //var params = "usertypeguid=+Global.UserTypeGuid+"&cacheenable=+3600"; //var params = "UserTypeGuid=" + Global.UserTypeGuid + "&CacheEnable=3600"; string param = string.Empty; System.Reflection.PropertyInfo[] ps = this.Param.GetType().GetProperties(); for (int i = 0; i <= ps.Length - 1; i++) { string name = ps[i].Name; object objValue = ps[i].GetValue(this.Param, null); if (objValue != null) { if (param.Length > 0) { param += " + \"&" + name + "=\"+" + objValue.ToString(); } else { param += "\"" + name + "=\"+" + objValue.ToString(); } } } %> function <%= this.FunctionName%>(){ var params = <%= param%><%=this.CacheEnable >0 ? "+\"&CacheEnable=\"+"+this.CacheEnable : ""%><%=this.SessionCache == 1 ? "+\"&SessionCache=\"+"+this.SessionCache : ""%>; Global.HtmlControl('<%= ControlPath(this.AjaxControlPath)%>', params, null, function (json) { if (json != null) { $("#<%=this.TargetHTMLID%>").html(json.Html); $(document).trigger("domChange"); } }); } <%= this.FunctionName%>(); </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de