Search code examples
javascriptc#asp.netajaxcontroltoolkitpopupcontrolextender

ajaxToolkit PopupControlExtender not working. Outdated?


I'm followed this tutorial but I'm getting runtime error when mouseover:

Sys.ArgumentUndefinedException: Value cannot be undefined. Parameter name: type

The problem is in this lines of code:

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);

Any thoughts on this? My goal is to get details of gridview row when mouseover a specific column, like the demo on the referenced linked.


Solution

  • Solved by updating AJAX Control Toolkit to it's last version (v15.1 from March 2015)!