My project fails miserably with the Dec 14 2013 (4.1.7.1213) Toolkit. I have traced one problem with ModalPopupExtender. It works if there are no Dynamic Population operations, but will not work with them. The MPE used to work fine for me, and now it does not: Here's some sample code below.
Symptoms: Clicking the PopButton produces a javascript error
"Line: 2
Error: Object doesn't support this action"
If I remove the 4 "Dynamic..." properties, the popup works, but of course won't get any of the dynamic content.
I notice that the Sample Website example has no mention of these dynamic properties, and does not document this functionality. Was it taken out?
I haven't tied using the DynamicPopulateExtender to do the job, but I keep thinking that my previously functioning modal popups should still work, and that maybe there is a bug in this recent version of the AjaxControlToolkit.
<!-- my button to pen the modal popup: -->
<asp:ButtonID="PopButton"runat="server"Text="Pop if you Click Me Button" />
<!-- The popup panel markup: -->
<asp:PanelID="TestPopPanel"runat="server">Wow!<br/>
<asp:ButtonID="CloseMeButton"runat="server"Text="Go Away"/>
<asp:PanelID="ControlPanelDynamicContent"runat="server"></asp:Panel></asp:Panel>
<!-- end popup panel markup -->
<!-- The ModalPopupExtender markup: -->
<AjaxTK:ModalPopupExtenderID="ModalPopupExtTest"runat="server"
PopupControlID="TestPopPanel"
TargetControlID="PopButton"
CancelControlID="CloseMeButton"
BackgroundCssClass="modalBackground"
DropShadow="true"
Drag="false"
RepositionMode="RepositionOnWindowResizeAndScroll"
CacheDynamicResults="false"
DynamicServiceMethod="ControlPopContents"
DynamicContextKey="2"
DynamicControlID="ControlPanelDynamicContent"
DynamicServicePath="~/Forms/controlopts.asmx"
Enabled="true"
></AjaxTK:ModalPopupExtender>
The webservice checks out independently.
Any thoughts anybody?
Bob