NucleoAjaxManager

Introduction
This component is the core component to the framework. Each control must be able to reference this control, and so it must be within the master page, or at the top of the page, before any Nucleo controls are processed. Later on, I'll remove this dependency unless you desire it.

Properties
Some of the properties are:
  • JQueryScripts - Paths to scripts for JQuery; by default, the core script points to Google's CDN, as well as the Core UI script. This is pretty efficient to do it this way. The other two scripts refer to scripts on JQuery's web site. Using this property, you can override the default location of these scripts. This way, if the script is locally defined in your project, you can change the reference to point to your local web server.
  • PrototypeScripts - Paths to scripts for Prototype; by default, the core script points to Google's CDN. This is pretty efficient to do it this way. Using this property, you can override the default location of the script. This way, if the script is locally defined in your project, you can change the reference to point to your local web server.

Methods
Some of the methods you can use are:
  • GetInstance - A static method to get an instance to the manager. Later on, a NucleoAjaxMangerProxy will be available to assign additional features in child pages, but GetInstance also provides a way to refer to the manager component in code.
  • GetWebResourceUrl - Can be used to retrieve a web resource URL string. In testing mode, this returns an invalid string, using the direct parameters, which can be useful for testing.

Last edited Jun 18, 2009 at 1:19 AM by bmains, version 2

Comments

No comments yet.