没找到什么这样的DEMO
希望大家能给出个DEMO
不要用ASP.NET AJAX因为我不会那个
而且那个布局起来看着不太直观

解决方案 »

  1.   

    $.ajax({
       type: "POST",
       url: "some.php",
       data: "name=John&location=Boston",
       success: function(msg){
         alert( "Data Saved: " + msg );
       }
    });
      

  2.   

    项目中引用AjaxPro.dll
    js中写事件
    cs文件中写具体方法

    <a onclick="getTestString()"/>
    js:function getTestString()
    {
       var aaa = test.getString();
    }test.cs
    :[AjaxPro.Method]
    pulice string getString()
    {
    return"oo";
    }
      

  3.   

    1.最简单的就是使用UpdatePanl
    2.jQuery
    3.自己写js实现
      

  4.   

    ScriptManager1  和UpdatePanel1。。直接把你的控件放UpdataPanel里就好了<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FolkManager.aspx.cs" Inherits="Append_moralEdu_XNDateManager" %><!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">
    <head runat="server">
      <title>无标题页</title>
    head>
    <body>
      <form id="form1" runat="server">
      <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="True">
      </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
      <ContentTemplate>
      <asp:GridView ID="MyGV" runat="server" AllowPaging="True" AutoGenerateColumns="False"
      DataKeyNames="id" OnPageIndexChanging="MyGV_PageIndexChanging"  
      PageSize="10" Width="100%" onrowdatabound="MyGV_RowDataBound">
     ..............
      </asp:GridView>
      </ContentTemplate>
      </asp:UpdatePanel>
      </form>
    </body>
    </html>后台正常写就是。
    DEMO
      

  5.   


    后台的web.config文件要怎么写?~~