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

Node expand serversidecallback message

1 Answer 45 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
ali
Top achievements
Rank 1
ali asked on 06 Mar 2009, 10:39 AM
Hi,
If I set my node expand to serversidecallback and there is an exception thrown in my application, a message box is displayed with 'Exception has been thrown by the target of an invocation... I wanted to know if there is a way I can override this event and perform my own error handling.

The reason is, that although I can guard against my code throwing exceptions, I cant guard against transport errors or if the server is down. I dont want this message box appearing for my clients.


Thanks for your help

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 06 Mar 2009, 11:12 AM
Hi ali,

Have you tried subscribing to OnClientNodePopulationFailed event?

I hope this helps.

Regards,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TreeView
Asked by
ali
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or