ControlRendererGetControlScriptsCollection Method (Control, Boolean) |
Gets all script URLs that should be registered by a script manager for the given control
Namespace: Kettic.AspNet.Controls.CommonAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic static List<string> GetControlScriptsCollection(
Control controlRef,
bool isRecursive
)
Public Shared Function GetControlScriptsCollection (
controlRef As Control,
isRecursive As Boolean
) As List(Of String)
public:
static List<String^>^ GetControlScriptsCollection(
Control^ controlRef,
bool isRecursive
)
static member GetControlScriptsCollection :
controlRef : Control *
isRecursive : bool -> List<string>
Parameters
- controlRef
- Type: System.Web.UIControl
A control reference to get scripts from - isRecursive
- Type: SystemBoolean
Whether to check child controls as well
Return Value
Type:
ListStringA list of script URLs
See Also