Delay AjaxProxy firing

  1. #1

    Delay AjaxProxy firing

    First, hi again!

    I'm using an AjaxProxy to search a ComboBox's input and display results. When I use client side listeners, using the Buffer property of the Change listener to control firing of the remote call. In current case there is no local listener I'm using. Below is the code part for AjaxProxy definition of the ComboBox's Store. How can I tell this Proxy to fire let's say if the last user search keyword input was 1 seconds or so. (similar to the Change event listener buffer)

    Best,

                Proxy.Add(new AjaxProxy()
                {
                    Url         = new UrlHelper(HttpContext.Current.Request.RequestContext).Action(controllerMethod, "Home"),
                    Reader      = { new JsonReader() { Root = "data", } },
                    ActionMethods = { Read = HttpMethod.POST },                    
                });
  2. #2
    QueryDelay property of ComboBox is what I needed. For whom that may need it...
    Please close if you wish.

Similar Threads

  1. [CLOSED] Delay firing of Direct Method ...
    By rthiney in forum 2.x Premium Help
    Replies: 1
    Last Post: Apr 10, 2014, 4:28 PM
  2. Replies: 0
    Last Post: Jun 11, 2013, 5:12 PM
  3. Replies: 4
    Last Post: Jun 05, 2013, 10:09 AM
  4. Old HttpProxy and new AjaxProxy
    By retto in forum 2.x Help
    Replies: 0
    Last Post: Jan 02, 2013, 8:59 PM
  5. AjaxProxy Example
    By yash.kapoor in forum 2.x Help
    Replies: 8
    Last Post: Dec 20, 2012, 9:39 AM

Posting Permissions