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

More...

Inheritance diagram for Ext.Net.AjaxOptions.Config:
Ext.Net.BaseItem.Config Ext.Net.IApply

Static Public Member Functions

static implicit operator AjaxOptions.Builder (AjaxOptions.Config config)
 
- Static Public Member Functions inherited from Ext.Net.BaseItem.Config
static Config Deserialize (string config)
 
static TConfig Deserialize< TConfig > (string config)
 

Properties

virtual bool DisableCaching [get, set]
 True to add a unique cache-buster param to GET requests. (defaults to true) More...
 
virtual string DisableCachingParam [get, set]
 Change the parameter which is sent went disabling caching through a cache buster. Defaults to '_dc' More...
 
virtual int Timeout [get, set]
 The timeout in milliseconds to be used for requests. (defaults to 30000) More...
 
virtual string Url [get, set]
 The URL to which to send the request, or a function to call which returns a URL string. The scope of the function is specified by the scope option. Defaults to the configured url. More...
 
virtual HttpMethod Method [get, set]
 The HTTP method to use for the request. Defaults to the configured method, or if no method was configured, "GET" if no parameters are being sent, and "POST" if parameters are being sent. Note that the method name is case-sensitive and should be all caps. More...
 
virtual bool IsUpload [get, set]
 True if the form object is a file upload More...
 
virtual bool Json [get, set]
 JSON data to use as the post. More...
 
virtual bool Xml [get, set]
 XML document to use for the post. More...
 
virtual 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...
 
ParameterCollection Headers [get]
 An object containing request headers which are added to each request made by this object. More...
 
ParameterCollection Params [get]
 
virtual string Callback [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from Ext.Net.BaseItem.Config
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
new Type GetType ()
 
object ApplyIf (object obj)
 
Apply< T > (object obj)
 
object Apply (object obj)
 
virtual string Serialize ()
 

Detailed Description

Member Function Documentation

◆ operator AjaxOptions.Builder()

static implicit Ext.Net.AjaxOptions.Config.operator AjaxOptions.Builder ( AjaxOptions.Config  config)
inlinestatic

Property Documentation

◆ Callback

virtual string Ext.Net.AjaxOptions.Config.Callback
getset

◆ DisableCaching

virtual bool Ext.Net.AjaxOptions.Config.DisableCaching
getset

True to add a unique cache-buster param to GET requests. (defaults to true)

◆ DisableCachingParam

virtual string Ext.Net.AjaxOptions.Config.DisableCachingParam
getset

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

◆ FormID

virtual string Ext.Net.AjaxOptions.Config.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.

◆ Headers

ParameterCollection Ext.Net.AjaxOptions.Config.Headers
get

An object containing request headers which are added to each request made by this object.

◆ IsUpload

virtual bool Ext.Net.AjaxOptions.Config.IsUpload
getset

True if the form object is a file upload

◆ Json

virtual bool Ext.Net.AjaxOptions.Config.Json
getset

JSON data to use as the post.

◆ Method

virtual HttpMethod Ext.Net.AjaxOptions.Config.Method
getset

The HTTP method to use for the request. Defaults to the configured method, or if no method was configured, "GET" if no parameters are being sent, and "POST" if parameters are being sent. Note that the method name is case-sensitive and should be all caps.

◆ Params

ParameterCollection Ext.Net.AjaxOptions.Config.Params
get

◆ Timeout

virtual int Ext.Net.AjaxOptions.Config.Timeout
getset

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

◆ Url

virtual string Ext.Net.AjaxOptions.Config.Url
getset

The URL to which to send the request, or a function to call which returns a URL string. The scope of the function is specified by the scope option. Defaults to the configured url.

◆ Xml

virtual bool Ext.Net.AjaxOptions.Config.Xml
getset

XML document to use for the post.


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