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 ......
jQuery是一个可以简化 JavaScript?以及AJAX(Asynchronous JavaScript
+XML,异步Javascript和XML)编程的Javascript库。不同于其他的Javascript库,jQuery有他自己的哲学,使你可
以很简单的编写代码。这篇文章就会带领你见识一下jQuery的哲学,探讨一下他的特性以及功能,并且会做一些ajax的示例,以及如何使用plug-
......
完全适用ASP.NET的认证机制
–可以使用FormsAuthentication
•WebService方法可以操作Cookie
–Impersonation
–PrincipalPermission
WebService7.cs Code
using System;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
usi ......
Default3.aspx Code:
<%@Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %>
<!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"& ......
$(function(){
new AjaxUpload('file1', {
action: 'uploadpic.asp',
name: 'form1',
data:{act:'uploadfile',FormName:'form1'},
autoSubmit:false,
responseType:'json',
onSubmit:function(file,ext){
if (!(ext && /^(jpg|png|gif)$/i.test(ext))){
alert('请您上传 ......