Update: This issue can be closed since it's more of an upgrade question than an issue. I've posted the same question on the forum at http://forums.asp.net/t/2064615.aspx?Where+is+ScriptObjectBuilder+
Hello,
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.
```
IEnumerable<ScriptReference> IScriptControl.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?
Thank you
Hello,
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.
```
IEnumerable<ScriptReference> IScriptControl.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?
Thank you