Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.ObservableDirectEvent Class Reference

More...

Inheritance diagram for Ext.Net.ObservableDirectEvent:
Ext.Net.BaseDirectEvent Ext.Net.BaseListener Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase Ext.Net.ComponentDirectEvent Ext.Net.RemoteValidationDirectEvent Ext.Net.DirectEvent Ext.Net.MessageBusDirectEvent

Public Member Functions

virtual void Clear ()
 
- Public Member Functions inherited from Ext.Net.BaseListener
HandlerConfig GetListenerConfig ()
 
void ClearListenerConfig ()
 
- Public Member Functions inherited from Ext.Net.BaseItem
virtual bool HasExplicitValue (string name)
 
void EnsureDataBind ()
 
virtual void Call (string name)
 
virtual void Call (string name, params object[] args)
 
virtual void AddScript (string script)
 
virtual void AddScript (string script, params object[] args)
 
virtual bool IsEmptyObject ()
 
Apply< T > (IApply config)
 
BaseItem Apply (object config)
 
virtual void LoadViewState (object state)
 
virtual object SaveViewState ()
 
virtual void TrackViewState ()
 
void SetDirty ()
 
virtual void DataBind ()
 
virtual IControlBuilder ToNativeBuilder ()
 

Properties

virtual string After [get, set]
 The .After handler is called immediately after the DirectEvent is fired and before the response is returned from the server. After handler is called with params: el, extraParams. More...
 
virtual string Before [get, set]
 Before handler with params: el, type, action, extraParams More...
 
virtual string Success [get, set]
 Success handler with params: response, result, control, type, action, extraParams More...
 
virtual string Failure [get, set]
 Failure handler with params: response, result, control, type, action, extraParams More...
 
virtual string Complete [get, set]
 Complete handler with params: success, response, result, control, type, action, extraParams More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseDirectEvent
bool? CleanRequest [get, set]
 Only extra params will be added to request. Useful if request has web-service Url More...
 
bool?? DisableCaching [get, set]
 True to add a unique cache-buster param to GET requests. More...
 
string DisableCachingParam [get, set]
 Change the parameter which is sent went disabling caching through a cache buster. Defaults to '_dc' More...
 
bool IsUpload [get, set]
 True if the form object is a file upload More...
 
bool Json [get, set]
 True to move the request parameters to jsonData that means JSON data to use as the post. This will be used instead of params for the post data. Any params will be appended to the URL. Defaults to false. More...
 
ViewStateMode ViewStateMode [get, set]
 
virtual DirectEventType Type [get, set]
 The type of DirectEvent to perform. The 'Submit' type will submit the <form> and 'Load' will make a POST request to url set in the .Url property, or the current url if the .Url property has not been set. More...
 
string FormID [get, set]
 The id of the form to submit. If this.ParentForm is not null then this.ParentForm.ClientID is used, else if FormID is empty the Page.Form.ClientID is used, else try to find the form in dom tree hierarchy, otherwise the Url of current page is used. More...
 
virtual string Url [get, set]
 The default URL to be used for requests to the server. (defaults to '') More...
 
virtual string? UrlProxy [get]
 The default URL to be used for requests to the server if DirectEventType.Request. (defaults to '') More...
 
virtual HttpMethod Method [get, set]
 The HTTP method to use. Defaults to POST if params are present, or GET if not. More...
 
int Timeout [get, set]
 The timeout in milliseconds to be used for requests. (defaults to 30000) More...
 
string FormProxyArg [get]
 
virtual ? bool? Encode [get, set]
 True to encode parameters using Ext.decode, false to use Ext.Object.toQueryString. Defaults to true. More...
 
virtual ParameterCollection ExtraParams [get]
 
EventMask EventMask [get]
 
virtual ? bool? Recursive [get, set]
 True to a recursive call of Ext.Object.toQueryString on preparation of request's parameters. Defaults to false. Applicable only if Encode is false. More...
 
virtual bool ShowWarningOnFailure [get, set]
 Show warning if request fail. If Failure handler exists then this handler will be called instead showing warning More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseListener
virtual string Scope [get, set]
 The scope in which to execute the handler function. The handler function's 'this' context. More...
 
virtual string Element [get, set]
 The name of a Component property which references an element to add a listener to. More...
 
virtual string Delegate [get, set]
 A simple selector to filter the target or look for a descendant of the target More...
 
virtual bool StopEvent [get, set]
 True to stop the event. That is stop propagation, and prevent the default action. More...
 
virtual bool PreventDefault [get, set]
 True to prevent the default action. More...
 
virtual bool StopPropagation [get, set]
 True to prevent event propagation. More...
 
virtual bool Normalized [get, set]
 False to pass a browser event to the handler function instead of an Ext.EventObject. More...
 
virtual int Delay [get, set]
 The number of milliseconds to delay the invocation of the handler after the event fires. More...
 
virtual bool HasOwnDelay [get]
 
virtual bool Single [get, set]
 True to add a handler to handle just the next firing of the event, and then remove itself. More...
 
virtual int Buffer [get, set]
 Causes the handler to be scheduled to run in an Ext.util.DelayedTask delayed by the specified number of milliseconds. If the event fires again within that time, the original handler is not invoked, but the new handler is scheduled in its place. More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseItem
virtual string InstanceOf [get]
 
ItemState State [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
virtual bool DesignMode [get]
 
bool AutoDataBind [get, set]
 
ResourceManager ResourceManager [get]
 
virtual Control Owner [get, set]
 The Owner Control for this Listener. More...
 
virtual bool IsDefault [get]
 Does this object currently represent it's default state. More...
 
bool IsTrackingViewState [get]
 
EventHandlerList Events [get]
 
EventHandler DataBinding
 
Control?? BindingContainer [get]
 
virtual ConfigItemCollection?? CustomConfig [get]
 Collection of custom js config More...
 
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
System.Web.Mvc.HtmlHelper?? HtmlHelper [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

Member Function Documentation

◆ Clear()

virtual void Ext.Net.ObservableDirectEvent.Clear ( )
inlinevirtual

Property Documentation

◆ After

virtual string Ext.Net.ObservableDirectEvent.After
getset

The .After handler is called immediately after the DirectEvent is fired and before the response is returned from the server. After handler is called with params: el, extraParams.

◆ Before

virtual string Ext.Net.ObservableDirectEvent.Before
getset

Before handler with params: el, type, action, extraParams

◆ Complete

virtual string Ext.Net.ObservableDirectEvent.Complete
getset

Complete handler with params: success, response, result, control, type, action, extraParams

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.ObservableDirectEvent.ConfigOptions
get

◆ Failure

virtual string Ext.Net.ObservableDirectEvent.Failure
getset

Failure handler with params: response, result, control, type, action, extraParams

◆ Success

virtual string Ext.Net.ObservableDirectEvent.Success
getset

Success handler with params: response, result, control, type, action, extraParams


The documentation for this class was generated from the following files: