Ajax ½ø¶ÈÌõÉèÖã¨UpdateProgress£©
<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="act" %>
<mce:style type="text/css"><!--
.backDiv
{
filter: alpha(opacity=30); /*IE*/
opacity: 0.3;
background-color: #666;
position: absolute;
text-align: center;
vertical-align: middle;
left:0px;
top: 0;
z-index: 100009;
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=30);
border: none;
width:expression(window.screen.availWidth);
height:expression(document.body.clientHeight);
}
.BlockArea
{
border: solid 1px #5BA5BD;
margin-left: auto;
margin-right: auto;
background-color: #FFFFFF;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.BlockArea_HeadTr { background-image: url(../../../Images/GridView/BlockAreaTitle.gif); background-color:Transparent; background-repeat:repeat; height: 25px; color: #2B546A; font-weight: bold;}
--></mce:style><style type="text/css" mce_bogus="1"> .backDiv
{
filter: alpha(opacity=30); /*IE*/
opacity: 0.3;
background-color: #666;
position: absolute;
text-align: center;
vertical-align: middle;
left:0px;
top: 0;
z-index: 100009;
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=30);
border: none;
width:expression(window.screen.availWidth);
height:expression(document.body.clientHeight);
}
.BlockArea
{
border: solid 1px #5BA5BD;
margin-left: auto;
margin-right: auto;
background-color: #FFFFFF;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.BlockArea_HeadTr { background-image: url(../../../Ima
Ïà¹ØÎĵµ£º
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// Summary description for Commen ......
ʵʱÊý¾ÝÑéÖ¤ÊÇAJAX¼¼ÊõµÄÒ»´óÓÅÊÆÖ®Ò»¡£Í¨¹ýÓ¦Óô˼¼Êõ£¬strutsÑéÖ¤¿ò¼Ü½«ÔöÇ¿struts MVC£¬²¢Ê¹WebÓ¦ÓóÌÐò¸ü½Ó½üÓÚ×ÀÃæÓ¦ÓóÌÐò¡£
´ËÑéÖ¤¿ò¼ÜÓÃÓÚÑéÖ¤×ֶΡ£ÓÐÐí¶àÔÚWebÓ¦ÓóÌÐòÉϽøÐÐÑéÖ¤µÄ·½·¨¡£ÕâЩ·½·¨¿É·ÖΪÁ½Àࣺ·þÎñÆ÷¶Ë·½·¨ºÍ¿Í»§¶Ë·½·¨¡£StrutsÑéÖ¤¿ò¼ÜÊÇÃæÏò»ùÓÚJavaµÄWebÓ¦Óû·¾³µÄ×î¼Ñ¿ò¼ÜÖ®Ò»¡£ËüÄܹ»ÅäÖÃÓ ......
ÐèÇó£º
¶¯Ì¬¼ÓÔØÄ¿Â¼Ê÷½ÚµãÊý¾Ý¡£¼´£ºÊ÷µÄ³õʼ״̬Ϊ¸ù½ÚµãÊ÷£¬µ±µã»÷ÆäÖÐÒ»¸ö½Úµãʱ£¬ÔÙ´ÓÊý¾Ý¿âÖлñÈ¡µ±Ç°½ÚµãµÄ×ӽڵ㡣
»·¾³£º
Struts1+Hibernate3.0+jQuery+treeview
½â¾ö·½°¸£º
1.ÎÒ×Ô¼ºµÄÏîÄ¿ÐèÇóÊÇ£º»ñÈ¡linuxµÄFTPĿ¼£¬ÒÔ¶¯Ì¬¼ÓÔØµÄ·½Ê½È¡µÃ¸ÃFTPÉϵÄËùÓÐĿ¼¼°ÎļþÉú³ÉjsÊ÷£¬µã» ......
Default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" & ......
Ò³ÃæÎļþÀàËÆ£º
<% using (Ajax.BeginForm("AjaxUpdate", 123, new AjaxOptions {
Confirm = "confirm str", LoadingElementId = "idLoading", UpdateTargetId
= "textEntered", OnSuccess = "validateForm" },new{id="idMyForm"}))
&nbs ......