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

set OnResponseEnd event value on client

2 Answers 98 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
farsica
Top achievements
Rank 1
farsica asked on 17 Jun 2008, 11:30 AM
Hi.
I want to set the OnResponseEnd event value on client. I test

$finde('radajaxmanager1').set_onResponseEnd('sampleFunctionName')  or
$finde('radajaxmanager1').set_OnResponseEnd('sampleFunctionName')  or
$finde('radajaxmanager1').onResponseEnd = 'sampleFunctionName';   or
$finde('radajaxmanager1').OnResponseEnd = 'sampleFunctionName';

but these scripts dosn't worked. how can I do it?
best rigards

2 Answers, 1 is accepted

Sort by
0
Kevin Babcock
Top achievements
Rank 1
answered on 20 Jun 2008, 10:43 PM
Hi Qaz,

There are no client-side 'get' or 'set' methods for the OnResponseEnd and OnResponseBegin events in the RadAjaxManager. You can get/set these methods on the client by making the following call:

$find('RadAjaxManager1').OnResponseEnd = newResponseEndMethod; 

You had it right, you just need to leave off the quotes. I tested this on my machine and verified that it works correctly. Please let me know if you have further questions.

Sincerely,
Kevin Babcock
0
farsica
Top achievements
Rank 1
answered on 21 Jun 2008, 05:13 AM
thanks Kevin for your replay.that work.

best regarsd
Tags
Ajax
Asked by
farsica
Top achievements
Rank 1
Answers by
Kevin Babcock
Top achievements
Rank 1
farsica
Top achievements
Rank 1
Share this question
or