Intersoft WebScheduler Documentation
OnEditingFormInitialize Property
See Also  Example Send Feedback
ISNet.WebUI.WebScheduler Namespace > WebSchedulerClientSideEvents Class : OnEditingFormInitialize Property






Glossary Item Box

Gets or sets the event handler when the editing form is being initialized. Gets or sets the event handler when the editing form is being initialized.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.DescriptionAttribute("Gets or sets the event handler when the editing form is being initialized.")>
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")>
<System.ComponentModel.CategoryAttribute("Client Side Events")>
<System.ComponentModel.DefaultValueAttribute()>
<ISNet.EventParameterAttribute("controlId, action, eventView, eventType, newType")>
Public Property OnEditingFormInitialize As System.String
Visual Basic (Usage)Copy Code
Dim instance As WebSchedulerClientSideEvents
Dim value As System.String
 
instance.OnEditingFormInitialize = value
 
value = instance.OnEditingFormInitialize
C# 
[System.ComponentModel.DescriptionAttribute("Gets or sets the event handler when the editing form is being initialized.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")]
[System.ComponentModel.CategoryAttribute("Client Side Events")]
[System.ComponentModel.DefaultValueAttribute()]
[ISNet.EventParameterAttribute("controlId, action, eventView, eventType, newType")]
public System.string OnEditingFormInitialize {get; set;}
Delphi 
public read-write property OnEditingFormInitialize: System.String; 
JScript 
System.ComponentModel.DescriptionAttribute("Gets or sets the event handler when the editing form is being initialized.")
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
System.ComponentModel.NotifyParentPropertyAttribute()
System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")
System.ComponentModel.CategoryAttribute("Client Side Events")
System.ComponentModel.DefaultValueAttribute()
ISNet.EventParameterAttribute("controlId, action, eventView, eventType, newType")
public function get,set OnEditingFormInitialize : System.String
Managed Extensions for C++ 
[System.ComponentModel.DescriptionAttribute("Gets or sets the event handler when the editing form is being initialized.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")]
[System.ComponentModel.CategoryAttribute("Client Side Events")]
[System.ComponentModel.DefaultValueAttribute()]
[ISNet.EventParameterAttribute("controlId, action, eventView, eventType, newType")]
public: __property System.string* get_OnEditingFormInitialize();
public: __property void set_OnEditingFormInitialize( 
   System.string* value
);
C++/CLI 
[System.ComponentModel.DescriptionAttribute("Gets or sets the event handler when the editing form is being initialized.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")]
[System.ComponentModel.CategoryAttribute("Client Side Events")]
[System.ComponentModel.DefaultValueAttribute()]
[ISNet.EventParameterAttribute("controlId, action, eventView, eventType, newType")]
public:
property System.String^ OnEditingFormInitialize {
   System.String^ get();
   void set (    System.String^ value);
}

Remarks

controlID
The ID of the WebScheduler calling the function.

action
The action name of the request.

eventView
The event which is initialized.

eventType
The type of events in WebScheduler. When action is set to edit, there will be 3 events available which are AllDayEvent, RecurringEvent and Event. Otherwise, the value will be null.

newType
The new type of events in WebScheduler. When action is set to new, there will be 3 events available which are 0 (NewEvent), 1 (NewAllDayEvent), 2 (NewRecurringEvent). Otherwise, the value will be null.

Example

The following is the example of the javascript function that is assigned in above event.
JScriptCopy Code
function WebScheduler1_OnEditingFormInitialize(controlId, action, eventView, eventType, newType)
{
    var WebScheduler1 = ISGetObject(controlId); 
            
    return true;
}

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.