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

[Solved] Load on Demand callback : the missing event

0 Answers 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
nachid
Top achievements
Rank 1
nachid asked on 27 Mar 2011, 07:46 PM
So many components have load on demand option (ajaxRequest)
This is really a great feature and I am over using it with success.

However, very often, I find myself doing something after the load on demand returns.
Usually, I am doing it in a setTimeout function that I usually hook to the onSelect event or something else depending on the component.
Beside the fact I am loosing some precious milliseconds, this is does not sound very clean and maintainable.
So, I am not really happy with it.

Ideally, I would have hooked this processing to an OnComplete event.
On the same, OnError and OnSuccess events would certainly make my developer life easier.

Can I dream to see those events in a next release?

Tags
General Discussions
Asked by
nachid
Top achievements
Rank 1
Share this question
or