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






Glossary Item Box

Gets or sets the event handler before request is posted. Gets or sets the event handler before request is posted.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<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.DescriptionAttribute("Gets or sets the event handler before request is posted.")>
<ISNet.EventParameterAttribute("controlId, action")>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<System.ComponentModel.CategoryAttribute("Client Side Events")>
<System.ComponentModel.DefaultValueAttribute()>
Public Property OnBeforeRequest As System.String
Visual Basic (Usage)Copy Code
Dim instance As WebSchedulerClientSideEvents
Dim value As System.String
 
instance.OnBeforeRequest = value
 
value = instance.OnBeforeRequest
C# 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[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.DescriptionAttribute("Gets or sets the event handler before request is posted.")]
[ISNet.EventParameterAttribute("controlId, action")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.CategoryAttribute("Client Side Events")]
[System.ComponentModel.DefaultValueAttribute()]
public System.string OnBeforeRequest {get; set;}
Delphi 
public read-write property OnBeforeRequest: System.String; 
JScript 
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
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.DescriptionAttribute("Gets or sets the event handler before request is posted.")
ISNet.EventParameterAttribute("controlId, action")
System.ComponentModel.NotifyParentPropertyAttribute()
System.ComponentModel.CategoryAttribute("Client Side Events")
System.ComponentModel.DefaultValueAttribute()
public function get,set OnBeforeRequest : System.String
Managed Extensions for C++ 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[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.DescriptionAttribute("Gets or sets the event handler before request is posted.")]
[ISNet.EventParameterAttribute("controlId, action")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.CategoryAttribute("Client Side Events")]
[System.ComponentModel.DefaultValueAttribute()]
public: __property System.string* get_OnBeforeRequest();
public: __property void set_OnBeforeRequest( 
   System.string* value
);
C++/CLI 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[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.DescriptionAttribute("Gets or sets the event handler before request is posted.")]
[ISNet.EventParameterAttribute("controlId, action")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.CategoryAttribute("Client Side Events")]
[System.ComponentModel.DefaultValueAttribute()]
public:
property System.String^ OnBeforeRequest {
   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.

Example

The following is the example of the javascript function that is assigned in above event.
JScriptCopy Code
function WebScheduler1_OnBeforeRequest(controlId, action)
{
    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.