Ext.NET
5.3.0
.NET Component Framework for Enterprise Level Apps
|
WebStorageProxy is simply a superclass for the localStorage and sessionStorage proxies. It uses the new HTML5 key/value client-side storage objects to save model instances for offline use. Proxy throws an client side error if local storage is not supported in the current browser More...
Classes | |
class | Builder |
class | Config |
Public Member Functions | |
virtual void | Clear () |
Destroys all records stored in the proxy and removes all keys and values used to support the proxy from the storage object More... | |
virtual void | SetRecord (object record, string id) |
Saves the given record in the Proxy. Runs each field's encode function (if present) to encode the data More... | |
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 () |
T | 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 | |
override string | InstanceOf [get] |
virtual string?? | StorageID [get, set] |
The unique ID used as the key in which all record data are stored in the local storage object More... | |
override ConfigOptionsCollection | ConfigOptions [get] |
Properties inherited from Ext.Net.AbstractProxy | |
override string | InstanceOf [get] |
abstract string | Type [get] |
Alias More... | |
virtual bool | BatchActions [get, set] |
True to batch actions of a particular type when synchronizing the store. Defaults to true. More... | |
virtual string | BatchOrder [get, set] |
Comma-separated ordering 'create', 'update' and 'destroy' actions when batching. Override this to set a different order for the batched CRUD actions to be executed in. Defaults to 'create,update,destroy' More... | |
string | PropertyName [get] |
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] |
Properties inherited from Ext.Net.IAlias | |
string | PropertyName [get] |
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) |
WebStorageProxy is simply a superclass for the localStorage and sessionStorage proxies. It uses the new HTML5 key/value client-side storage objects to save model instances for offline use. Proxy throws an client side error if local storage is not supported in the current browser
|
inlinevirtual |
Destroys all records stored in the proxy and removes all keys and values used to support the proxy from the storage object
|
inlinevirtual |
Saves the given record in the Proxy. Runs each field's encode function (if present) to encode the data
record | The model instance |
id | The id to save the record under (defaults to the value of the record's getId() function) |
|
get |
|
get |
|
getset |
The unique ID used as the key in which all record data are stored in the local storage object