Hello,
When I add programatically radchart control and see the chart control on given page. I had found this error:
"The target 'Control 1#RadChart1' for the callback could not be found or did not implement ICallbackEventHandler"
So, please let me know what's the issue.
When I add programatically radchart control and see the chart control on given page. I had found this error:
"The target 'Control 1#RadChart1' for the callback could not be found or did not implement ICallbackEventHandler"
So, please let me know what's the issue.
8 Answers, 1 is accepted
0
Hello ajmal,
We have addressed your inquiry in the other forum ticket you have opened on the same topic.
All the best,
Manuel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
We have addressed your inquiry in the other forum ticket you have opened on the same topic.
All the best,
Manuel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Keith Thorne
Top achievements
Rank 1
answered on 25 Feb 2010, 12:19 AM
A link to the other topic would have been nice.
0
Hi Keith,
You can find the respective forum thread here, however, note that we were unable to reproduce the described problem in our local tests.
All the best,
Manuel
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items.
You can find the respective forum thread here, however, note that we were unable to reproduce the described problem in our local tests.
All the best,
Manuel
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items.
0

shootermv
Top achievements
Rank 1
answered on 29 Jul 2010, 02:40 PM
Hi fellows!
The poblem happnes when you add the control programmaticlly as ajmal wrote.
It happenes for example when control added at button_click event.
This event places the control on the page but not in the controls tree.(Thus it cannot be found)
Solution:to place it at PageLoad that comes in responce of Button1_Click postback
Good luck
The poblem happnes when you add the control programmaticlly as ajmal wrote.
It happenes for example when control added at button_click event.
protected
void
Button1_Click(
object
sender, EventArgs e)
{
Uc uc = (Uc)
this
.LoadControl(
"Uc.ascx"
);
PlaceHolder1.Controls.Add(uc);
}
This event places the control on the page but not in the controls tree.(Thus it cannot be found)
Solution:to place it at PageLoad that comes in responce of Button1_Click postback
protected
void
Page_Load(
object
sender, EventArgs e)
{
if
(IsPostBack)
{
Uc uc = (Uc)
this
.LoadControl(
"Uc.ascx"
);
PlaceHolder1.Controls.Add(uc);
}
}
0

pallav
Top achievements
Rank 1
answered on 10 Sep 2010, 09:58 AM
I am facing the problem in dynamic loading of RadControl.
I loading it in the page load event.
and in other case i am loading it in protected void lvDataViews_ItemDataBound(object sender, ListViewItemEventArgs e) event.
Microsoft JScript runtime error: The target 'ctl00$ContentPlaceHolder1$lvDataViews$ctrl0$ctl00$0$cvReportData' for the callback could not be found or did not implement ICallbackEventHandler.
Please provide the solution
thanks
I loading it in the page load event.
and in other case i am loading it in protected void lvDataViews_ItemDataBound(object sender, ListViewItemEventArgs e) event.
Microsoft JScript runtime error: The target 'ctl00$ContentPlaceHolder1$lvDataViews$ctrl0$ctl00$0$cvReportData' for the callback could not be found or did not implement ICallbackEventHandler.
Please provide the solution
thanks
0

Bartholomeo Rocca
Top achievements
Rank 1
answered on 15 Sep 2010, 05:03 PM
Hi pallav,
Did you try the solution provided by shootermv in his last reply in this thread? I was able to implement it successfully in a project of mine a while ago.
Greetings,
Bart.
Did you try the solution provided by shootermv in his last reply in this thread? I was able to implement it successfully in a project of mine a while ago.
Greetings,
Bart.
0

pallav
Top achievements
Rank 1
answered on 21 Sep 2010, 01:40 PM
Microsoft JScript runtime error: The target
'ctl00$ContentPlaceHolder1$lvDataViews$ctrl0$ctl00$0$cvReportData' for
the callback could not be found or did not implement
ICallbackEventHandler.
I calling the function to dynamically load the Rad Chart control.
I am calling the function in IsPostBack event
I calling the function to dynamically load the Rad Chart control.
I am calling the function in IsPostBack event
0
Hello pallav,
Find attached a sample application to get you started.
Hope this helps.
Regards,
Freddie
the Telerik team
Find attached a sample application to get you started.
Hope this helps.
Regards,
Freddie
the Telerik team
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 Public Issue Tracking
system and vote to affect the priority of the items