Last post Aug 25, 2015 08:46 PM by mentisdominus
Aug 22, 2015 06:44 PM|mentisdominus|LINK
I am attempting to update AJAX Control Toolkit from v3 to v15. I have some legacy code that relies on ScriptObjectBuilder. More specifically, the code calls ScriptObjectBuilder.GetScriptReferences.
foreach (ScriptReference modalReference in ScriptObjectBuilder.GetScriptReferences(typeof(ModalPopupExtender)))
yield return modalReference;
// Yields other script references
How should I update this code to work with v15?
Aug 24, 2015 04:18 AM|Fei Han - MSFT|LINK
Welcome to ASP.NET forum.
Firstly, GetScriptReferences Method seems to belong to ScriptObjectBuilder Class, you may need to add reference to the three party dll.
Secondly, you could follow the steps in this link to upgrade your existing project to AjaxControlToolkit v15.
Aug 25, 2015 08:46 PM|mentisdominus|LINK
Thank you. I ended up modifying the old ACT version of ScriptObjectBuilder. The Telerik version didn't work quite as expected.