---
title: "BaseScriptControl..::.GetScriptReferences Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_BaseScriptControl_GetScriptReferences.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# BaseScriptControl.GetScriptReferences Method 
 
When overridden in a derived class, returns the script files for the control.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
Protected Overridable Function GetScriptReferences As IEnumerable(Of ScriptReference)
```
 
```csharp
protected virtual IEnumerable<ScriptReference> GetScriptReferences()
```
 
### Return Value
An [IEnumerable](http://msdn2.microsoft.com/en-us/h1x9x1b1) collection that contains ECMAScript (JavaScript) files that have been registered as embedded resources.
   
## See Also

### Reference

- [BaseScriptControl Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseScriptControl.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
