Intersoft WebCombo Documentation
SharedScriptDirectory Property
See Also  Send Feedback
ISNet.WebUI.WebCombo Namespace > WebCombo Class : SharedScriptDirectory Property






Gets or sets the directory where all shared scripts for Intersoft controls are stored.

Syntax

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

Remarks

Since WebCombo.NET v4.0 uses a new SmartWebResources Framework, the resources in script directory and shared scrip directory are now embedded into .NET assembly. Unlike ASP.NET’s built-in Web Resources which embeds client resources in main assembly, SmartWebResources stores each product’s client resources in separate assembly. This enables flexible update (maintenance) to the client resources without has to rebuild the main server-side assembly.

With SmartWebResources enabled, you no longer need to aware what you should do to configure the client scripts virtual directory, or where to locate/store it. You simply ensure that the resources assemblies are in the Bin folder of your application. For more information, read How-to: Configure SmartWebResources in a web application.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.