Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

PopupControlExtender not working when using Dynamic Populate, Ajax ver 4.1.7.1213 Dec 14 2013 for ASP.NET 4.0

$
0
0

Researching this problem I have seen other threads indicating this functionality may no longer be working in the Ajax Control Toolkit most recent version.

http://forums.asp.net/t/1961437.aspx?ModalPopupExtender+not+working+if+using+Dynamic+Populate+TK+version+4+1+7+1213+Dec+14+2013+for+ASP+NET+4+0

http://forums.asp.net/p/1976222/5655487.aspx?Error+with+PopupControlExtender+Microsoft+JScript+runtime+error+Sys+ArgumentUndefinedException+Value+cannot+be+undefined+Parameter+name+type

In my Gridview onrowcreate I successfully create the hover over image but it never reaches my DynamicServiceMethod  (I have a breakpoint with the method it fails prior to it) I followed this tutorial http://www.ezzylearning.com/tutorial.aspx?tid=2861497

Any suggestions?

My Code

<ajaxToolkit:PopupControlExtenderID="PopupControlExtender1"runat="server"PopupControlID="Panel1"  TargetControlID="Image1"DynamicContextKey='<%# Eval("ProductID") %>'DynamicControlID="Panel1" DynamicServiceMethod="GetDynamicContent"Position="Bottom"></ajaxToolkit:PopupControlExtender>

Code behind

[System.Web.Services.WebMethodAttribute(), System.Web.Script.Services.ScriptMethodAttribute()]

publicstaticstring GetDynamicContent(string contextKey)

 {...}

 


Viewing all articles
Browse latest Browse all 5678

Trending Articles