易截截图软件、单文件、免安装、纯绿色、仅160KB

asp.net UpdatePanel 问题

我在webform 上有一个UpdatePanel 和一个跳转按钮button

if        button 放在 UpdatePanel 里面
没办法执行  Response.Write(" <script>window.open('./xx.aspx' ,'_blank') </script>");
else      button 放在  UpdatePanel外面
没办法相应 UpdatePanel里面控件事件 控制button属性 button.enable = true;

求冲突解决方法



你一个Button有几个事件啊!!?!?
是在不行就用JavaScript动态添加按钮什么的!?!?再想其他方法!?

帮顶!jf


引用
我在webform 上有一个UpdatePanel 和一个跳转按钮button

if        button 放在 UpdatePanel 里面
没办法执行  Response.Write(" <script>window.open('./xx.aspx' ,'_blank') </script>");
else      button 放在  UpdatePanel外面
没办法相应 UpdatePanel里面控件事件 控制button属性 button.enable = true;

求冲突解决方法



就一个页面跳转事件  不过button按钮enable属性 用别的控件事件控制

放两个button多好
一个显示一个隐藏~~

引用
那是因为在使用UpdatePanel的时候,服务器端不能输出流到客户端!
可以这样写
      ScriptManager.RegisterStartupScript(this.Page,this.GetType(),""," <script>window.ope


相关问答:

asp.net分页问题

select top 12 * from Product where [id] not in (select top 12 [id] from Product)
这样可以分页,但是我在后面想加个条件
select top 12 * from Product where [id] not in (select top 12 [id] from Prod ......

ASP.NET如何实现自动登录 - .NET技术 / ASP.NET

哪位大哥有没有ASP.NET中利用Cookies实现用户自动登录的代码...谢谢了...越详细越好....
什么意思?自动登录?

mark 貌视是存储cookies 我也对cook比较迷糊 关注下

既然你知道用cookies自己动动大脑多好! ......

asp.net中可输入的下拉框的问题 - .NET技术 / ASP.NET

Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
  ''' <summary>
  '' ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号