未能很明,应该是html代码没有放在<form runat="server" id="form1"></form>里面

解决方案 »

  1.   

    只是改了一下命名空间
    ===================================这个牵扯到Ajax的页面注册,你到页面的load里面看看,应该有个注册代码 例如我的一个注册代码:AjaxPro.Utility.RegisterTypeForAjax(typeof(SDPriceWeb.RegNetUser));其中的 typeof(SDPriceWeb.RegNetUser)  就是命名空间+类名namespace SDPriceWeb
    {
    /// <summary>
    /// RegNetUser 的摘要说明。
    /// </summary>
    public class RegNetUser : System.Web.UI.Page
    {
    另外,在js中也需要改调用的js代码SDPriceWeb.RegNetUser.Ajax_HasUser(_username,get_check_Result_CallBack);前两项就是注册的命名空间+类名
    =======================所以,一旦更改命名空间,需要更改相应的  cs 文件中的ajax注册 以及js调用函数