【发布时间】:2010-02-23 22:16:45
【问题描述】:
我有一个使用 jqGrid 组件的 asp.net webforms 页面。问题是thickbox 不能处理jqGrid (ajax) 中的链接。
我在Gupta's blog 上获得了这种平静的代码,但我不知道如何添加它,因为我正在为 ASP.NET 使用 jqGrid 组件。任何人都可以帮忙吗?谢谢。
gridComplete: function(){
// ThickBox - this allows any dynamically created links that use thickbox to work!
tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox
imgLoader = new Image();// preload image
imgLoader.src = tb_pathToImage;}
【问题讨论】:
标签: asp.net jqgrid thickbox webforms