This is a migrated thread and some comments may be shown as answers.

Setting timer.

3 Answers 74 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Karl Ranville
Top achievements
Rank 1
Karl Ranville asked on 22 Mar 2013, 02:58 AM
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.

3 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 22 Mar 2013, 05:32 AM
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.
0
Karl Ranville
Top achievements
Rank 1
answered on 22 Mar 2013, 04:08 PM
Thanks princy. But what about the second requirement (cancel the request if the request is not serviced within a partcular time interval) ?
0
Princy
Top achievements
Rank 2
answered on 25 Mar 2013, 11:51 AM
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.
Tags
ComboBox
Asked by
Karl Ranville
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Karl Ranville
Top achievements
Rank 1
Share this question
or