Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ResourcesPath Property
See Also 
Leadtools.Web.Controls Namespace > WebImageViewer Class : ResourcesPath Property




Gets or sets the virtual path where resources(scripts, icons) are located.

Syntax

Visual Basic (Declaration) 
Public Property ResourcesPath As String
Visual Basic (Usage)Copy Code
Dim instance As WebImageViewer
Dim value As String
 
instance.ResourcesPath = value
 
value = instance.ResourcesPath
C# 
public string ResourcesPath {get; set;}
C++/CLI 
public:
property String^ ResourcesPath {
   String^ get();
   void set (String^ value);
}
JavaScript 
getResourcesPath(): string;

Return Value

A string that contains the virtual path where resources(scripts, icons) are located.

Example

Remarks

You have to set this property to the path of the client java script files since it is required to render the control on the page correctly.

If the resources are not in the specified directory, they will not show up and you will receive a client java script error.

This property can be set in the application's Web.config file. Use this syntax in the "appSettings" section of the config file:

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also