用了AJAXPANEL,也用了AJAX.为什么页面还是照样很闪 用了AJAXPANEL,也用了AJAX.为什么页面还是照样很闪所有的TABLE放在AJAXPANEL里面,使用AJAX,JS调用后台的AJAX公共方法后,页面开始闪了...如果不用AJAX的这个方法,倒不闪了..如何做到不闪,而又实现此功能. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 能贴出部分代码吗,感觉不应该是ajaxpanel的问题。 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { //bindInfo(); Ajax.Utility.RegisterTypeForAjax(typeof(gFlash)); } } [Ajax.AjaxMethod] public string bindInfo(string name) { string introduce = ""; DataTable dt = gInfo.getInfoTable(1, " Where englishName='" + name + "'", "ID", 1); if (dt != null) { if (dt.Rows.Count > 0) { introduce = dt.Rows[0]["introduce"].ToString(); } } return introduce; }js中使用: intro.innerText = gFlash.bindInfo(arr[i]).value; AJAXPANEL的面积太大了吧...就会"很闪"的 asp跪求帮助 关于操作Excel多个Sheet的问题 关于采集到的一些路径问题 ASP.NET 上传图片改变像素 GridView CheckBox 选中删除问题 GridView 禁用按钮 在sql sever 2000 中如何删除database? 网 站 程 序 间 session 会 话 共 享 问 题!!!!! 本人是初学者。。现有一个东东不知谁能提供源代码?。。很急! 是这本书上错了吧?大虾们帮帮我。。。 session 过期的问题。 ASP.NET System.DateTime.Now的问题?
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
//bindInfo();
Ajax.Utility.RegisterTypeForAjax(typeof(gFlash));
}
}
[Ajax.AjaxMethod]
public string bindInfo(string name)
{
string introduce = "";
DataTable dt = gInfo.getInfoTable(1, " Where englishName='" + name + "'", "ID", 1);
if (dt != null)
{
if (dt.Rows.Count > 0)
{
introduce = dt.Rows[0]["introduce"].ToString();
}
}
return introduce;
}js中使用: intro.innerText = gFlash.bindInfo(arr[i]).value;