微软TreeView的一个BUG
微软TreeView的一个BUG 在测试TreeView 作为弹出窗口的时候,会提示“Event 对象为空”之类的错误。
原因是 treeview.htc文件问题。
function doNodePlusMinusClick(el)
{
if (g_bInteractive == false)
return false;
if(event!=null)//add new
event.cancelBubble = true;
g_nodeClicked = el;
if (el.getAttribute("expanded") == false && el.getAttribute("_bound") == null && el.getAttribute("TreeNodeSrc") != null)
在1320行加if(event!=null)//add new by fishpro
作者:拒绝潜水的鱼
出处:http://slave2.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
出处:http://slave2.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

浙公网安备 33010602011771号