Gridview的图像按钮未在服务器中触发
问题描述:
大家好,
我有一个gridview,因为我有拍摄图像按钮.当我从本地主机运行应用程序时,它运行良好,但是当我从服务器IIS运行应用程序时,按钮单击事件没有触发.我在gridview之外使用了ajax更新面板.
请帮忙.
Hi All,
I have a gridview in that I have take image button . When I run application from local host then its running well but when I run application from server IIS then button click event is not firing.I have used ajax Updating panel outside gridview.
Please help.
答
您怎么知道它没有触发?使用Fiddler或Firebug的网络"标签之类的工具查看是否发送了任何请求.
如果您没有看到任何请求,请检查是否有脚本错误.添加一些日志记录以检查失败的地方.
How do you know it is not firing? Use tools like Fiddler or Firebug''s Net tab to see if any request is sent or not.
If you don''t see any request, check for any script errors. Add some logging to check where it is failing.