[ADDED] [V0.8.0] Loadmask on AjaxMethod

  1. #1

    [ADDED] [V0.8.0] Loadmask on AjaxMethod

    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.
  2. #2

    RE: [ADDED] [V0.8.0] Loadmask on AjaxMethod

    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. 


    Geoffrey McGill
    Founder & CEO
  3. #3

    RE: [ADDED] [V0.8.0] Loadmask on AjaxMethod

    The EventMask property has been added to the [AjaxMethod].

    Example


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

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


    Example


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

    Geoffrey McGill
    Founder & CEO

Similar Threads

  1. Replies: 12
    Last Post: Jun 04, 2012, 11:18 AM
  2. LoadMask
    By Krisller in forum 1.x Help
    Replies: 0
    Last Post: Jun 10, 2010, 7:35 PM
  3. Replies: 2
    Last Post: Jan 08, 2010, 2:47 AM
  4. help with LoadMask
    By idrissb in forum 1.x Help
    Replies: 0
    Last Post: Sep 16, 2008, 3:48 AM
  5. [CLOSED] How do you use a LoadMask?
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 09, 2008, 3:52 PM

Posting Permissions