易截截图软件、单文件、免安装、纯绿色、仅160KB

asp.net ajax 中 Sys 为定义错误解决方案

网页中出现“'sys' 未定义
”或“'Sys' is undefined”的错误。
此时我们要做的是在 web.config
中 <system.web> 一节下面添加类似
如下内容:
    <httpHandlers>
      <add
verb="GET,HEAD" path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
validate="false"/>
    </httpHandlers>
注意,上面说的是类似,因为不同的版本可能各属性不相同。
另外,下面是新建 ASP.NET AJAX-Enabled Web Site 站点时自动创建的 web.config,供您参考。
<?xml version="1.0"?>
<configuration>
  <configSections>
   
<sectionGroup name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35">
      <sectionGroup
name="scripting" type="System.Web.Configuration.ScriptingSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35">
          <section
name="scriptResourceHandler"
type="System.Web.Configuration.ScriptingScriptResourceHandlerSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" requirePermission="false"
allowDefinition="MachineToApplication"/>
        <sectionGroup
name="webServices"
type="System.Web.Configuration.ScriptingWebServicesSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35">
          <section
name="jsonSeri


相关文档:

Asp.Net中Post与Get的区别


表单form的提交有两种方式,一种是get的方法,一种是post 的方法.看下面代码,理解两种提交的区别:
1 <form id="form1" method="get" runat="server">
2     <div>
3          你的名字<asp:TextBox ID="name" runat="server"></asp ......

Using Google is AJAX Search API with Java ...

http://www.ajaxlines.com/ajax/stuff/article/using_google_is_ajax_search_api_with_java.php
I was rather depressed over a year ago when Google deprecated their SOAP Search API with their AJAX Search API. Essentially Google was saying that they didn want anyone programmatically accessing Google search ......

Ajax的js封装

function send_request(callback, urladdress, isReturnData){     
        var xmlhttp = getXMLHttpRequest();
        xmlhttp.onreadystatechange = function(){
       &nb ......

关于asp.net mvc路由表

当新创建一个asp.net mvc应用程序,会自动产生一个路由配置。
Global.asax.cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace mvcApp
{
// Note: For instructions on enabling IIS6 or IIS7 classic m ......

asp.net中防刷新重复提交与防后退解决办法

数据处理成功马上跳转到另外一个页面! 
你的后台处理页面,也就是数据接收页面,执行完相关的操作后,使用下面的语句:
response.write("<script>alert('数据提交成功******');window.location.href='你想要转向的页面的地址';</script>")
这样随便他返回后怎么刷新,显示的始终是“数据提交成功 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号