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

More...

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

Properties

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

- 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 ()
 
- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

Property Documentation

◆ CleanRequest

bool? Ext.Net.BaseDirectEvent.CleanRequest
getset

Only extra params will be added to request. Useful if request has web-service Url

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.BaseDirectEvent.ConfigOptions
get

◆ DisableCaching

bool?? Ext.Net.BaseDirectEvent.DisableCaching
getset

True to add a unique cache-buster param to GET requests.

◆ DisableCachingParam

string Ext.Net.BaseDirectEvent.DisableCachingParam
getset

Change the parameter which is sent went disabling caching through a cache buster. Defaults to '_dc'

◆ Encode

virtual ? bool? Ext.Net.BaseDirectEvent.Encode
getset

True to encode parameters using Ext.decode, false to use Ext.Object.toQueryString. Defaults to true.

◆ EventMask

EventMask Ext.Net.BaseDirectEvent.EventMask
get

◆ ExtraParams

virtual ParameterCollection Ext.Net.BaseDirectEvent.ExtraParams
get

◆ FormID

string Ext.Net.BaseDirectEvent.FormID
getset

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.

◆ FormProxyArg

string Ext.Net.BaseDirectEvent.FormProxyArg
get

◆ IsUpload

bool Ext.Net.BaseDirectEvent.IsUpload
getset

True if the form object is a file upload

◆ Json

bool Ext.Net.BaseDirectEvent.Json
getset

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.

◆ Method

virtual HttpMethod Ext.Net.BaseDirectEvent.Method
getset

The HTTP method to use. Defaults to POST if params are present, or GET if not.

◆ Recursive

virtual ? bool? Ext.Net.BaseDirectEvent.Recursive
getset

True to a recursive call of Ext.Object.toQueryString on preparation of request's parameters. Defaults to false. Applicable only if Encode is false.

◆ ShowWarningOnFailure

virtual bool Ext.Net.BaseDirectEvent.ShowWarningOnFailure
getset

Show warning if request fail. If Failure handler exists then this handler will be called instead showing warning

◆ Timeout

int Ext.Net.BaseDirectEvent.Timeout
getset

The timeout in milliseconds to be used for requests. (defaults to 30000)

◆ Type

virtual DirectEventType Ext.Net.BaseDirectEvent.Type
getset

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.

◆ Url

virtual string Ext.Net.BaseDirectEvent.Url
getset

The default URL to be used for requests to the server. (defaults to '')

◆ UrlProxy

virtual string? Ext.Net.BaseDirectEvent.UrlProxy
getprotected

The default URL to be used for requests to the server if DirectEventType.Request. (defaults to '')

◆ ViewStateMode

ViewStateMode Ext.Net.BaseDirectEvent.ViewStateMode
getset


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