Intersoft WebGrid Documentation
ScriptFolder Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridCustomEditor Class : ScriptFolder Property






Specifies the folder containing the scripts which should be accessible through IIS.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<DescriptionAttribute("Gets or sets the script folder for this custom editor.")>
<ISNet.Serialization.BinarySerializableAttribute()>
<DefaultValueAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
Public Property ScriptFolder As String
Visual Basic (Usage)Copy Code
Dim instance As WebGridCustomEditor
Dim value As String
 
instance.ScriptFolder = value
 
value = instance.ScriptFolder
C# 
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Gets or sets the script folder for this custom editor.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
public string ScriptFolder {get; set;}
Delphi 
public read-write property ScriptFolder: String; 
JScript 
NotifyParentPropertyAttribute()
DescriptionAttribute("Gets or sets the script folder for this custom editor.")
ISNet.Serialization.BinarySerializableAttribute()
DefaultValueAttribute()
ISNet.Serialization.XmlSerializableAttribute()
public function get,set ScriptFolder : String
Managed Extensions for C++ 
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Gets or sets the script folder for this custom editor.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
public: __property string* get_ScriptFolder();
public: __property void set_ScriptFolder( 
   string* value
);
C++/CLI 
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Gets or sets the script folder for this custom editor.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
public:
property String^ ScriptFolder {
   String^ get();
   void set (    String^ value);
}

Remarks

By default, ScriptFolder is made on the top of grid's ScriptFolder. For example: Grid's ScriptFolder by default is /CommonLibrary/WebGrid/V3_5_5000/. In this case, the ScriptFolder for custom editor when set to Empty will point the scripts to /CommonLibrary/WebGrid/V3_5_5000/CustomEditors. If the ScriptFolder doesn't contain "/" character, the ScriptFolder will be made "relative" to the grid's [ScriptFolder]/CustomEditors For example: ScriptFolder is set to "EditorsPack1", the result path would be "/CommonLibrary/WebGrid/V3_5_5000/CustomEditors/EditorsPack1".

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.