Version

ResolveJavaScriptFileName Method

Checks to see if javaScriptDirectory has been defined in a config file. If it has, the directory specified in the config will be used, along with the filename parsed out of the originalPath parameter.
Syntax
'Declaration
 
Public Shared Function ResolveJavaScriptFileName( _
   ByVal originalPath As String, _
   ByVal control As Control _
) As String
public static string ResolveJavaScriptFileName( 
   string originalPath,
   Control control
)

Parameters

originalPath
The value of the script file include to be used, if no config setting is present.
control
A valid control. This reference is needed for application specific information.

Return Value

The path that should be used for the include script block.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also