LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also