我遵循了本教程,但在以下情况下出现运行时错误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