第一次接触ajax,就没运行起来,郁闷。。
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
AjaxPro.Utility.RegisterTypeForAjax(typeof(Default2));
}
}
配置文件也加了
<httpHandlers>
<add verb="*" path="AjaxPro/*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro" />
</httpHandlers>
bin目录也有AjaxPro.dll了,我用xp vs2005
哪个帮看一下,不胜感激
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
AjaxPro.Utility.RegisterTypeForAjax(typeof(Default2));
}
}
配置文件也加了
<httpHandlers>
<add verb="*" path="AjaxPro/*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro" />
</httpHandlers>
bin目录也有AjaxPro.dll了,我用xp vs2005
哪个帮看一下,不胜感激
<add verb="POST,GET" path="AjaxPro/*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro" />
<webServices>
<protocols>
<add name="HttpPost"/>
<add name="HttpGet"/>
</protocols>
</webServices>
path="AjaxPro/*.ashx",这个地方错了