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

ICallbackEventHandler error message

5 Answers 156 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Patrick A. Lorenz
Top achievements
Rank 1
Patrick A. Lorenz asked on 18 Apr 2008, 08:17 AM
Hi there!

I just upgraded the Prometheus beta version to the release. I'm using a treeview with the ExpandMode property set to ServiceSideCallback. This worked fine so far but now I receive a client side error message when trying to populate nodes saying the control has not been found or it would not implement the ICallbackEventHandler interface (which is the fact as far as I know).

Any suggestions?

Thanks,

Patrick

5 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 18 Apr 2008, 04:36 PM
Hello Patrick A. Lorenz,

This is indeed weird. Can you put together a small and running project for us and attach the files to a new support thread? We will test them locally and try to find a working solution for you.

Sincerely yours,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Weibin
Top achievements
Rank 1
answered on 29 Jun 2008, 01:33 AM
yes, it puzzled me for a long time.

In a web user control, I dynamically build a tree, and set the tree node expand mode to ServerCallback.

then in some web page, I load this user control using LoadControl(virtualPath),
when try to expand the node, an error message is showing.
"cannot find the callback target or not implement ICallbackEventHandler iterface."

I need your help.thank you.

0
Simon
Telerik team
answered on 30 Jun 2008, 01:04 PM
Hello Weibin,

Most probably the problem in your case is that the LoadControl method is either not called or called too late in the page life cycle.

Please make sure that the method is called in an earlier moment in the page life cycle (Page_Load, ItemCreated, etc).

Kind regards,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Weibin
Top achievements
Rank 1
answered on 01 Jul 2008, 10:53 AM
but it's the truth that LoadControl was called in Page_Load.
0
Simon
Telerik team
answered on 15 Aug 2008, 02:43 PM
Hello Weibin,

Then, is it possible that you load the control only on the first page load?

It would be best if you could prepare a simple page or a project where the issue can be observed and send it to us via a support ticket, so that we can investigate the issue.

All the best,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Patrick A. Lorenz
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Weibin
Top achievements
Rank 1
Simon
Telerik team
Share this question
or