View Full Version : [ADDED] [V0.8.0] Loadmask on AjaxMethod

Dec 20, 2008, 12:42 AM
It will be nice if you can setup a loadmask for an AjaxMethod as part of the config object. Right now, I manually create and show a mask before calling the AjaxMethod and define a success and failure function to remove the mask.

Jan 07, 2009, 9:42 AM
The LoadMask API has bothered me for a while and I have some ideas on how to simplify. Maybe during the v0.8 release cycle we can refactor the LoadMask functionality and create a global singleton with simple .show/hide functions.

Adding a LoadMask config to the AjaxMethod config object should not be a problem. 

Jan 29, 2009, 7:32 PM
The EventMask property has been added to the [AjaxMethod].


[AjaxMethod(ShowMask = true, Msg = "Testing...")]

Or, you can explicitly set/configure in js by using the "eventMask" property.


eventMask: { showMask:true, msg:'Testing...' }