Could you please elaborate a bit more on your scenario and the exact functionality you need to achieve. Pasting some code from your application which represents the Ajax settings you have, could help us provide more to-the-point answer.
I have a script that needs to fire OnResponseEnd that is designed to retain focus on the active element after an AJAX postback.
This script is registered in a global manner, e.g. in a master page:
But now I have a requirement that applies to a particular content page. After an AJAX postback, I need to make sure that any controls that have become visible are processed by some javascript. For example:
The problem is that the subpage's ResponseEnd script will overwrite the Master Page's ResponseEnd script.
This may not be obvious to the developer, resulting in subtle bugs.
0
Maria Ilieva
Telerik team
answered on 07 Dec 2010, 03:19 PM
Hi Andrew,
The ResponseEnd is a client event so you cannot call two functions in the same time. In your case I would suggest you to please the code used in the MasterPage function in the content page function so it will be executed in the same time.