Version

JavaScriptFileName Property (SmartWebControl)

Base path and name for the Javascript file(s) used for client-side processing.
Syntax
'Declaration
 
Public Overridable Property JavaScriptFileName As String
public virtual string JavaScriptFileName {get; set;}
Remarks

Specifies the location where one or more Javascript files that support the client-side functionality of this element are stored. The SmartWebControl base class handles registering a <script> block on the page with the ASP.NET framework to retrieve the identified Javascript file at run-time.

Inheritors providing support for multiple Javascript files (which should conventionally share the value specified by this property as their common root stem) are required to handle registering <script> include blocks for these additional files on their own.

Failure to specify the correct location of an element's Javascript files can cause the element to generate random Javascript errors in the browser at run-time. Please ensure the specified location is reachable, and contains a consistent version of the necessary Javascript files that are compatible with the current element's assembly. For example, if your application has recently deployed updated versions of the Infragistics assemblies, then ensure that the location specified by the JavaScriptFileName property contains a compatible set of Javascript files.

Inheritors may override this property to specify a different default value.

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