Intersoft WebInput Documentation
ScriptDirectory Property
See Also  Send Feedback
ISNet.WebUI.WebControls Namespace > WebInput Class : ScriptDirectory Property






Glossary Item Box

Gets or sets the directory where all required scripts for the control are stored. Gets or sets the directory where all required scripts for the control are stored.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.BinarySerializableAttribute()>
<System.ComponentModel.DescriptionAttribute("Gets or sets the directory where all required scripts for the control are stored.")>
<System.ComponentModel.CategoryAttribute("Client Script Directory")>
<System.ComponentModel.BindableAttribute(Bindable=True, Direction=BindingDirection.OneWay)>
<System.ComponentModel.DefaultValueAttribute()>
Public Overrides Property ScriptDirectory As System.String
Visual Basic (Usage)Copy Code
Dim instance As WebInput
Dim value As System.String
 
instance.ScriptDirectory = value
 
value = instance.ScriptDirectory
C# 
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Gets or sets the directory where all required scripts for the control are stored.")]
[System.ComponentModel.CategoryAttribute("Client Script Directory")]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DefaultValueAttribute()]
public override System.string ScriptDirectory {get; set;}
Delphi 
public read-write property ScriptDirectory: System.String; override; 
JScript 
ISNet.Serialization.BinarySerializableAttribute()
System.ComponentModel.DescriptionAttribute("Gets or sets the directory where all required scripts for the control are stored.")
System.ComponentModel.CategoryAttribute("Client Script Directory")
System.ComponentModel.BindableAttribute(Bindable=, Direction=BindingDirection.OneWay)
System.ComponentModel.DefaultValueAttribute()
public override function get,set ScriptDirectory : System.String
Managed Extensions for C++ 
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Gets or sets the directory where all required scripts for the control are stored.")]
[System.ComponentModel.CategoryAttribute("Client Script Directory")]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DefaultValueAttribute()]
public: __property System.string* get_ScriptDirectory() override;
public: __property void set_ScriptDirectory( 
   System.string* value
) override;
C++/CLI 
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Gets or sets the directory where all required scripts for the control are stored.")]
[System.ComponentModel.CategoryAttribute("Client Script Directory")]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DefaultValueAttribute()]
public:
property System.String^ ScriptDirectory {
   System.String^ get() override;
   void set (    System.String^ value) override;
}

Remarks

This property shows you the path where all required scripts for the control are stored. By default, all required scripts for the control are stored in CommonLibrary folder ([Program Files]Intersoft Solutions/CommonLibrary). Users can use this property to customized the path of ScriptDirectory. Developers can easily deploy web applications along with Intersoft's products by copying only "CommonLibrary" folder to the production server. The CommonLibrary need to be mapped as IIS Virtual Directory in production server.

In WebInput.NET V3.0 the required scripts and images for the control at runtime are embedded in single assembly of WebInput's SmartWebResources. By default, Intersoft 2007 product platform has the SmartWebResources set to Automatic mode. This mode mode ensures compatibility with existing web application when developers migrated to 2007 platform, while at the same time attempting to utilize SmartWebResources in new web application whenever possible.

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

© 2013 Intersoft Solutions Corp. All Rights Reserved.