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;} |
Property Value
A string that contains the virtual path where resources(scripts, icons) are located.Refer to WebImageViewer.ImageUrl
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:
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7