Ext.NET
5.3.0
.NET Component Framework for Enterprise Level Apps
|
Ext core utilities and functions. More...
Static Public Member Functions | |
static void | On (GlobalListeners events) |
Appends an event handler to this object. More... | |
static void | Un (GlobalListeners events) |
Removes an event handler. More... | |
static object | Apply (object obj, object config) |
Copies all the properties of config to obj. More... | |
static T | Apply< T > (object obj, object config) |
Copies all the properties of config to obj. More... | |
static void | Defer (string handler, int millis) |
Calls this function after the number of millseconds specified, optionally in a specific scope. More... | |
static void | Defer (JFunction function, int millis) |
Calls this function after the number of millseconds specified, optionally in a specific scope. More... | |
static void | Redirect (string url) |
Redirects a client to a new Url. More... | |
static void | Redirect (string url, string msg) |
Redirects a client to a new Url. More... | |
static void | Redirect (string url, string msg, string msgCls) |
Redirects a client to a new Url. More... | |
static void | Reload () |
Reloads the page by window.location.reload() call More... | |
static void | Reload (string msg) |
Reloads the page by window.location.reload() call More... | |
static void | Reload (string msg, string msgCls) |
Reloads the page by window.location.reload() call More... | |
static void | Toast (string message) |
Display a toast with the specified message on default location of the screen. More... | |
static void | Toast (string message, string title, ToastAlign align=ToastAlign.Default, string iconCls=null) |
Display a toast with the specified arguments settings on default location of the screen. More... | |
static void | Toast (Toast component) |
Given an Ext.Net.Toast component, display it on screen. More... | |
static void | Toast (object componentConfig) |
Given an anonymous object with config options pertaining to a Toast component, display it on screen. More... | |
static Control | GetCtl (string id) |
Get the Control with the specified id. More... | |
static T | GetCtl< T > (string id) |
Get the Control with the specified id. More... | |
static BaseControl | GetCmp (string id) |
Returns a AbstractComponent by id. More... | |
static T | GetCmp< T > (string id) |
Returns the AbstractComponent by id and sets the .Value related fields by calling if available from the Request. More... | |
static T | GetCmp< T > (string id, string ns) |
Returns the AbstractComponent by id and sets the .Value related fields by calling if available from the Request. More... | |
static T | GetCmp< T > (string id, BaseControl.Config config) |
Returns the AbstractComponent by id and sets the .Value related fields by calling if available from the Request. More... | |
static T | ComponentQuery< T > (string selector) |
static T | GetCmp< T > (T component) |
Returns the AbstractComponent and sets the .Value related fields by calling if available from the Request. More... | |
static T | SetValue< T > (T component, string value) |
Sets the value of the component if the component is a typeof IField. More... | |
static string | GetValue (string id) |
Given the ID of a form field, returns the raw submmitted form value as a string. Returns 'null' if value can not be found. More... | |
static Element | Get (Control control) |
Retrieves Ext.Element objects. This method does not retrieve Components. This method retrieves Ext.Element objects which encapsulate DOM elements. Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with the same id via AJAX or DOM. More... | |
static Element | Get (object node) |
Retrieves Ext.Element objects. This method does not retrieve Components. This method retrieves Ext.Element objects which encapsulate DOM elements. Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with the same id via AJAX or DOM. More... | |
static Element | Fly (object node) |
Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element - the dom node can be overwritten by other code. Shorthand of Ext.Element.fly Use this to make one-time references to DOM elements which are not going to be accessed again either by application code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element class. More... | |
static Element | Fly (object node, string named) |
Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element - the dom node can be overwritten by other code. Shorthand of Ext.Element.fly Use this to make one-time references to DOM elements which are not going to be accessed again either by application code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element class. More... | |
static Element | Body () |
Returns the current document body as an Ext.Element. More... | |
static Element | Form () |
Returns the current ASP.NET form as an Ext.Element. More... | |
static Element | Document () |
Returns the current HTML document object as an Ext.Element. More... | |
static Element | Head () |
Returns the current HTML head object as an Ext.Element. More... | |
static Element | Window () |
Returns the current window object as an Ext.dom.Element. Typically used for attaching event listeners to the window. Note: since the window object is not an HTMLElement many of the Ext.dom.Element methods are not applicable and may throw errors if called on the returned Element instance. More... | |
static Element | Select (string selector, bool unique, string root) |
Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in one statement More... | |
static Element | Select (string selector, bool unique) |
Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in one statement More... | |
static Element | Select (string selector) |
Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in one statement More... | |
static Element | SingleSelect (string selector) |
Selects first element based on the passed CSS selector More... | |
static Element | SingleSelect (string selector, bool unique) |
Selects first element based on the passed CSS selector More... | |
static Element | SingleSelect (string selector, bool unique, string root) |
Selects first element based on the passed CSS selector More... | |
static void | SuspendLayouts () |
static void | ResumeLayouts () |
Resumes layout activity in the whole framework. More... | |
static void | ResumeLayouts (bool flush) |
Resumes layout activity in the whole framework. More... | |
static void | AddScript (string template, params object[] args) |
static void | AddScript (string script) |
static void | Call (string name) |
static void | Call (string name, params object[] args) |
static void | Set (string name, object value) |
Properties | |
static bool | IsAjaxRequest [get] |
Determines if the current HttpRequest is an Ext.NET Ajax Request. More... | |
static ResourceManager | ResourceManager [get] |
Returns an instance of the current Ext.NET ResourceManager. More... | |
static Mask?? | Mask [get] |
static MessageBox | Msg [get] |
static MessageBox?? | MessageBox [get] |
static QuickTips?? | QuickTips [get] |
static WindowManager?? | WindowManager [get] |
static Js?? | Js [get] |
static bool? | ControlsScripting [get, set] |
static BuilderFactory | Builder [get] |
Ext core utilities and functions.
|
inlinestatic |
script |
|
inlinestatic |
template | |
args |
|
inlinestatic |
Copies all the properties of config to obj.
obj | The receiver of the properties |
config | The source of the properties |
|
inlinestatic |
Copies all the properties of config to obj.
T | The Type of the obj param. |
obj | The receiver of the properties |
config | The source of the properties |
T | : | IComponent |
|
inlinestatic |
Returns the current document body as an Ext.Element.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
T | : | BaseControl | |
T | : | new() |
|
inlinestatic |
Calls this function after the number of millseconds specified, optionally in a specific scope.
|
inlinestatic |
Calls this function after the number of millseconds specified, optionally in a specific scope.
|
inlinestatic |
Returns the current HTML document object as an Ext.Element.
|
inlinestatic |
Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element - the dom node can be overwritten by other code. Shorthand of Ext.Element.fly Use this to make one-time references to DOM elements which are not going to be accessed again either by application code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element class.
node | The id of the node or any object which represents an Ext.Element |
|
inlinestatic |
Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element - the dom node can be overwritten by other code. Shorthand of Ext.Element.fly Use this to make one-time references to DOM elements which are not going to be accessed again either by application code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element class.
node | The id of the node or any object which represents an Ext.Element |
named | Allows for creation of named reusable flyweights to prevent conflicts |
|
inlinestatic |
Returns the current ASP.NET form as an Ext.Element.
|
inlinestatic |
Retrieves Ext.Element objects. This method does not retrieve Components. This method retrieves Ext.Element objects which encapsulate DOM elements. Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with the same id via AJAX or DOM.
control | The Control to get as an Element object. |
|
inlinestatic |
Retrieves Ext.Element objects. This method does not retrieve Components. This method retrieves Ext.Element objects which encapsulate DOM elements. Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with the same id via AJAX or DOM.
node | The id of the node or any object which represents an Ext.Element |
|
inlinestatic |
Returns a AbstractComponent by id.
id | The AbstractComponent id |
|
inlinestatic |
Returns the AbstractComponent by id and sets the .Value related fields by calling if available from the Request.
id | The AbstractComponent id |
T | The Type of AbstractComponent to return. |
T | : | BaseControl | |
T | : | new() |
|
inlinestatic |
Returns the AbstractComponent by id and sets the .Value related fields by calling if available from the Request.
id | The AbstractComponent id |
config | Config for proxy widget |
T | The Type of AbstractComponent to return. |
T | : | BaseControl | |
T | : | new() |
|
inlinestatic |
Returns the AbstractComponent by id and sets the .Value related fields by calling if available from the Request.
id | The AbstractComponent id |
ns | Namespace |
T | The Type of AbstractComponent to return. |
T | : | BaseControl | |
T | : | new() |
|
inlinestatic |
Returns the AbstractComponent and sets the .Value related fields by calling if available from the Request.
T | The Type of AbstractComponent to return |
component | The AbstractComponent instance |
T | : | BaseControl | |
T | : | new() |
|
inlinestatic |
Get the Control with the specified id.
id | The ID of the Control to find. |
|
inlinestatic |
Get the Control with the specified id.
T | The Type control to return |
id | The ID of the Control to find. |
T | : | Control | |
T | : | new() |
|
inlinestatic |
Given the ID of a form field, returns the raw submmitted form value as a string. Returns 'null' if value can not be found.
id | The ID of the submitted form field to be found |
|
inlinestatic |
Returns the current HTML head object as an Ext.Element.
|
inlinestatic |
Appends an event handler to this object.
events |
|
inlinestatic |
Redirects a client to a new Url.
url | The location of the target. |
|
inlinestatic |
Redirects a client to a new Url.
url | The location of the target. |
msg | The message to display in the loading mask which is rendered during the Redirect. |
|
inlinestatic |
Redirects a client to a new Url.
url | The location of the target. |
msg | The message to display in the load mask which is rendered during the Redirect. |
msgCls | A custom css class to apply to the load mask element. |
|
inlinestatic |
Reloads the page by window.location.reload() call
|
inlinestatic |
Reloads the page by window.location.reload() call
msg | The message to display in the loading mask which is rendered during reloading. |
|
inlinestatic |
Reloads the page by window.location.reload() call
msg | The message to display in the load mask which is rendered during reloading. |
msgCls | The custom CSS class to apply to the load mask element. |
|
inlinestatic |
Resumes layout activity in the whole framework.
|
inlinestatic |
Resumes layout activity in the whole framework.
flush | true to perform all the pending layouts. |
|
inlinestatic |
|
inlinestatic |
Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in one statement
selector | The CSS selector or an array of elements |
unique | true to create a unique Ext.Element for each element (defaults to a shared flyweight object) |
|
inlinestatic |
Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in one statement
selector | The CSS selector or an array of elements |
unique | true to create a unique Ext.Element for each element (defaults to a shared flyweight object) |
root | id of the root |
|
inlinestatic |
|
inlinestatic |
Sets the value of the component if the component is a typeof IField.
T | The Type of AbstractComponent to return. |
component | The component |
value | The value to set |
T | : | BaseControl |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Given an anonymous object with config options pertaining to a Toast component, display it on screen.
componentConfig | The anonymous object data. |
ExtNet.Toast(new { Html = "toast text", Title = "toast title", Align = JSON.EnumToString(ToastAlign.TopLeft) });
|
inlinestatic |
|
inlinestatic |
Display a toast with the specified arguments settings on default location of the screen.
message | Message to display on the Toast pop up. |
title | Title of the pop up frame. |
align | Alignment of the toast on screen. |
iconCls | Class describing an icon to display on the toast title bar. |
X.Toast("toast text", "toast title", ToastAlign.Bottom, "arrow");
|
inlinestatic |
Given an Ext.Net.Toast component, display it on screen.
component | Ext.Net.Toast component. |
ExtNet.Toast(new Ext.Net.Toast() { Html = "toast text", Title = "toast title", Align = ToastAlign.TopLeft });
|
inlinestatic |
Removes an event handler.
events |
|
inlinestatic |
Returns the current window object as an Ext.dom.Element. Typically used for attaching event listeners to the window. Note: since the window object is not an HTMLElement many of the Ext.dom.Element methods are not applicable and may throw errors if called on the returned Element instance.
|
staticget |
|
staticgetset |
|
staticget |
Determines if the current HttpRequest is an Ext.NET Ajax Request.
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
Returns an instance of the current Ext.NET ResourceManager.
|
staticget |