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

radajaxpanel onresponseend from code

3 Answers 60 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 10 Sep 2015, 02:32 PM

Hi,

 

I like to set a conditional OnResponseEnd client event on RadAjaxPanel?

Would it be possible to set like this:

 

 

 if............

RadAjaxPanel1.ClientEvents.OnResponseEnd = "Doit"

 end if

 

My page keeps on saying "Object reference not set to an instance of an object" on this line​

 

Thanks,

Marc

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 14 Sep 2015, 10:58 AM
Hello Marc,

Find attached a sample runnable application that demonstrates the correct functionality of this approach. Test it on your end and see what the difference in your case is.

Regards,
Maria Ilieva
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 14 Sep 2015, 12:49 PM
Does the trick thank you
0
Maria Ilieva
Telerik team
answered on 17 Sep 2015, 06:47 AM
Hi,

I'm glad to hear that the provided sample helps. Do not hesitate to contact us back in case further assistance is needed.

Regards,
Maria Ilieva
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Ajax
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Maria Ilieva
Telerik team
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or