ajaxToolkit PopupControlExtender无法正常工作。过时了吗?

时间:2015-04-10 07:52:23

标签: javascript c# asp.net ajaxcontroltoolkit popupcontrolextender

我跟着this tutorial但是mouseover时我遇到了运行时错误:

  

Sys.ArgumentUndefinedException:无法定义值。参数   名称:类型

问题出在这行代码中:

string OnMouseOverScript = string.Format("$find('{0}').showPopup();", behaviorID);
string OnMouseOutScript = string.Format("$find('{0}').hidePopup();", behaviorID); 

img.Attributes.Add("onmouseover", OnMouseOverScript); 
img.Attributes.Add("onmouseout", OnMouseOutScript);

对此有何想法?我的目标是在gridview row特定列时获取mouseover的详细信息,例如引用的链接上的演示。

1 个答案:

答案 0 :(得分:0)

通过将AJAX Control Toolkit更新到它的最新版本(2015年3月的v15.1)来解决问题!