datagrid上点击linkbutton弹出form速度慢,如何解决?? datagrid上点击linkbutton弹出该条记录的明细form速度很慢,要编辑多行则浪费很多时间,这种问题怎么解决???? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我在linkbutton 上commandname="a"接着在DataGrid1_ItemCommand事件里判断e.CommandName是否为 “a”,是则Response.Write("<script language=jscript> window.open ('image1.aspx', 'newwindow3', ' toolbar=yes, menubar=yes, scrollbars=yes,resizable=yes,location=yes, status=yes') ;</script>"); 这样不知道是否合理?速度慢的难以让人接受。 是从点link到弹窗口的时间慢还是窗体出来后load慢?你都执行了一些什么代码? 是弹出时慢?还是显示image1.aspx这个慢呢?? //HTML<ItemTemplate> <asp:LinkButton id="LinkButton1" runat="server" CommandName="lBtn">查看</asp:LinkButton></ItemTemplate>//CSprivate void DataGrid1_ItemCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e){ if(e.CommandName.Equals("lBtn")) { //window.open()方法 } 我就是如pol000(菜鸟学编程)写的一样实现的,这样就是点击弹出很慢,比如我要编辑10行,每次编辑时都要点击linkbutton在另一个框中编辑,就是弹出框时速度难于接受(要5s左右) 大伙给点意见阿!!搞不定就的下岗了!!help me!!!!!!!!! 一个关于上传的问题 url重写 帮忙提供下类似Google Suggest的功能 如何得到值 如何让DataGrid每条记录能固定大小 有关OpenSmtp 在DataGrid中点击hyperlink下载问题 好久没有来了,关于模板设计的困惑???? 100分求Together for VS .NET 1.0.1 注册码、注册机 SVG 图 安装了 SVG VEIWER 3.0插件 IE9 不显示 深圳某知名互联网公司高薪寻搜索引擎人才 2003报表的简单问题
接着在DataGrid1_ItemCommand事件里判断e.CommandName是否为 “a”,是则Response.Write("<script language=jscript> window.open ('image1.aspx', 'newwindow3', ' toolbar=yes, menubar=yes, scrollbars=yes,resizable=yes,location=yes, status=yes') ;</script>"); 这样不知道是否合理?速度慢的难以让人接受。
<ItemTemplate>
<asp:LinkButton id="LinkButton1" runat="server" CommandName="lBtn">查看</asp:LinkButton>
</ItemTemplate>//CS
private void DataGrid1_ItemCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
if(e.CommandName.Equals("lBtn"))
{
//window.open()方法
}