Version

JavaScriptFileNameCommon Property (SmartWebControl)

Base path and name for the common Javascript file providing client-side infrastructure.
Syntax
'Declaration
 
Public Overridable Property JavaScriptFileNameCommon As String
public virtual string JavaScriptFileNameCommon {get; set;}
Remarks

Specifies the location where the common client-side infrastructure Javascript file is installed. 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.

The location specified by this property should be consistent with the location specified for the common Javascript files of other elements on the page, because the <script> include for this property will be generated only once for all of the Infragistics elements contained on the page.

Failure to specify the correct location of the common Infragistics Javascript files can cause elements to generate random Javascript errors in the browser at run-time. Please ensure that the common Infragistics Javascript files that have been installed are of a consistent version and build number with the element's Javascript files installed at the location specified by JavaScriptFileName.

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

Reference

SmartWebControl Class
SmartWebControl Members
JavaScriptFileName Property
ResetJavaScriptFileNameCommon
ShouldSerializeJavaScriptFileNameCommon