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




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

Syntax

Visual Basic (Declaration) 
Public Property ResourcesPath As String
Visual Basic (Usage)Copy Code
Dim instance As ImageViewer
Dim value As String
 
instance.ResourcesPath = value
 
value = instance.ResourcesPath
C# 
public string ResourcesPath {get; set;}
Managed Extensions for C++ 
public: __property string* get_ResourcesPath();
public: __property void set_ResourcesPath( 
   string* value
);
C++/CLI 
public:
property String^ ResourcesPath {
   String^ get();
   void set (String^ value);
}

Return Value

The virtual path where resources(images, scripts) 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 client java script errors.

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