Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Closed Unassigned: Where is ScriptObjectBuilder? [27918]

$
0
0
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

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>