1、WebMethod的浏览器客户端缓存
2007年7月小记[WebMethod]
2007年7月小记[ScriptMethod(UseHttpGet 
= true)]
2007年7月小记
public DateTime GetServerTime()
}
粗体部分可以修改Response中Header的设置Cache-Control    public, max-age=10
引用:http://www.cnblogs.com/JeffreyZhao/archive/2007/07/02/client_side_caching_for_script_method_access.html

2、在表格中插入一个行
2007年7月小记<html xmlns="http://www.w3.org/1999/xhtml" >
2007年7月小记
<head runat="server">
2007年7月小记    
<title>无标题页</title>

3、附录 B:使用 Internet Explorer 检测 .NET Framework 3.0 的示例脚本
下实例显示了在浏览器中运行的 JavaScript 程序如何检测 .NET Framework 3.0 是否正在运行。该脚本将搜索用户代理字符串,并基于搜索结果显示状态消息。
2007年7月小记<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2007年7月小记
<html xmlns="http://www.w3.org/1999/xhtml">
2007年7月小记
<head>
2007年7月小记
<title>Test for NET Framework 3.0</title>
2007年7月小记
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

如果成功搜索到字符串“.NET Framework 3.0”,将显示以下消息:
2007年7月小记此计算机有正确版本的 .NET Framework:3.0.04131.06。
2007年7月小记
2007年7月小记此计算机的 userAgent 字符串为:Mozilla/4.0(可兼容;MSIE 6.0;
2007年7月小记Windows NT 5.1;SV1;.NET CLR 1.1.4322;.NET CLR 2.0.50727;.NET CLR 3.0.04131.06)。

否则,会显示以下消息:
2007年7月小记此计算机没有正确版本的 .NET Framework。
2007年7月小记
2007年7月小记单击此处立即获得 .NET Framework 3.0。
2007年7月小记
2007年7月小记此计算机的 userAgent 字符串为:Mozilla/4.0(可兼容;MSIE 6.0;
2007年7月小记Windows NT 5.1;SV1;.NET CLR 1.1.4322;InfoPath.1;.NET CLR 2.0.50727)。

4、CheckBox控制Panel的显示和隐藏
2007年7月小记    function changeDisabled(id, controlId)
    }

2007年7月小记CheckBoxArea.Attributes.Add("onclick", String.Format("changeDisabled('{0}','{1}')", CheckBoxArea.ClientID, AllProvincePanel.ClientID));

5、Asp.Net 2.0 TreeView的Checkbox级联操作
2007年7月小记    function OnTreeNodeChecked() 
    }


2007年7月小记treeForum.Attributes.Add("OnClick""OnTreeNodeChecked(event)");

http://itrust.cnblogs.com/archive/2006/04/03/365439.html



相关文章:

  • 2021-08-31
  • 2022-12-23
  • 2022-01-17
  • 2021-09-06
  • 2021-07-29
  • 2021-07-18
  • 2022-12-23
  • 2021-12-31
猜你喜欢
  • 2022-02-24
  • 2022-02-03
  • 2022-01-28
  • 2021-10-01
  • 2022-02-19
  • 2021-07-02
  • 2021-08-06
相关资源
相似解决方案