このチュートリアルに従っていますが、次の場合にランタイム エラーが発生します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