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

RadAjaxPanel - Exception has been thrown by the target of an invocation

4 Answers 121 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
sbinet
Top achievements
Rank 1
sbinet asked on 29 Dec 2008, 09:28 AM
Hi there,

I am using Q3, asp.net 2.0 and I have run into this error: Exception has been thrown by the target of an invocation.

I do know what causes it, but I cannot find out how to solve.

I wrap a detailsview into the RadAjaxPanel and everything works fine. The problem is that I have some textboxes which do not allow the value null. Everything is fine if I type some values in these textboxes, but it throws this error if this textboxes are left null.

 I have set the RequiredFieldValidator for these textboxes, hoping it to show some alert messages to users to type in these boxes but they do not work with RadAjaxPanel. Perhaps I miss something with using validation with RadAjaxPanel?

Please advice.
Thanks.

4 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 29 Dec 2008, 12:04 PM
Hello,

Have you wrapped the Validator controls into the RadAjaxPanel with the corresponding text box? The validators and the validated controls should be updated together if ajax is used.

Kind regards,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
sbinet
Top achievements
Rank 1
answered on 29 Dec 2008, 12:32 PM
Hi Maria Ilieva,

Thanks for your kindly and quick reply.

For my problem: Yes, I have already wrapped all of them together into the Panel.

0
Maria Ilieva
Telerik team
answered on 29 Dec 2008, 12:51 PM
Hi,

Please test the application by using regular asp UpdatePanels instead of RadAjax and let us know if the problem still persists.

Regards,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Don
Top achievements
Rank 1
answered on 04 Apr 2012, 08:13 PM
i just drag the RadAjaxManagerProxy from toolbox to my user control and it shows:

Exception has been thrown by the target of an invocation.


i dont have any other manager and it will show this error plz help me
Tags
Ajax
Asked by
sbinet
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
sbinet
Top achievements
Rank 1
Don
Top achievements
Rank 1
Share this question
or