LEADTOOLS WebForms and AJAX (Leadtools.Web assembly)
LEAD Technologies, Inc

ResourcesPath Property (WebImageViewer)






Gets or sets the virtual path where resources(scripts, icons) are located.
Syntax
public string ResourcesPath {get; set;}
'Declaration
 
Public Property ResourcesPath As String
'Usage
 
Dim instance As WebImageViewer
Dim value As String
 
instance.ResourcesPath = value
 
value = instance.ResourcesPath
public string ResourcesPath {get; set;}
 get_ResourcesPath();
set_ResourcesPath(value);
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.
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: <add key="ResourcesPath" value="property value here"/>

Example
Refer to ImageUrl
Requirements

Target Platforms: 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

WebImageViewer Class
WebImageViewer Members
WebImageViewer Client Class

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.