AjaxActionAttribute API Document
Defines that an action is accessible through AJAX calls, so Castle.MonoRail.Framework.Helpers.AjaxHelper can generate a JavaScript proxy for it.
Constructors
AjaxActionAttribute()
Method marked with this attribute will be accessible through AJAX calls, and Castle.MonoRail.Framework.Helpers.AjaxHelper will be able to generate a JavaScript proxy for them.
AjaxActionAttribute(String name)
Method marked with this attribute will be accessible through AJAX calls, and Castle.MonoRail.Framework.Helpers.AjaxHelper will be able to generate a JavaScript proxy for them.
| Parameter | Description |
|---|---|
| name | A name for the action, on the JavaScript proxy. Useful when dealing with overloaded Ajax actions, as JavaScript does not support function overloading. |
Properties
| Name | Type | Description |
|---|---|---|
| Name | String | A name for the action, on the JavaScript proxy. Useful when dealing with overloaded Ajax actions, as JavaScript does not support function overloading. |