Setting timer.

4 posts, 1 answers
  1. Karl Ranville
    Karl Ranville avatar
    28 posts
    Member since:
    Mar 2013

    Posted 21 Mar 2013 Link to this post

    Hi,

    I am having a RadCombobox which is beinv populated from a Webservice. So my requirement is I want to know if it is possible to set a delay timer before requesting for items as well as to cancel the request if the request is not serviced within a partcular time interval?

    Thanks,
    Karl.
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 22 Mar 2013 Link to this post

    Hi Karl,

    You can use the ItemRequestTimeout property of the RadComboBox to specify a timeout (in milliseconds) before the server call is executed.

    Thanks,
    Princy.
  3. Karl Ranville
    Karl Ranville avatar
    28 posts
    Member since:
    Mar 2013

    Posted 22 Mar 2013 Link to this post

    Thanks princy. But what about the second requirement (cancel the request if the request is not serviced within a partcular time interval) ?
  4. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 25 Mar 2013 Link to this post

    Hi Karl,

    You could achieve this functionality, by canceling the OnClientItemsRequesting client-side event, or handling the OnClientItemsRequestFailed if any error has occurred while loading elements using the load-on-demand mechanism.

    Thanks,
    Princy.
Back to Top