Dundas Chart in User Control

狂风中的少年 提交于 2019-12-12 01:33:58

问题


I have a dundas chart with ajax zooming and scrolling enable. It works fine in a webform page. But once I put in a user control and called it from another page I get this error -

the target 'ctl00$ContentPlaceHolder1$uc2$chartVisits' for the callback could not be found or did not implement ICallbackEventHandler.

-when I try to use the zoom and scroll functionality.

What can I do to resolve this problem. Thank You.


回答1:


I've seen this error when dynamically adding controls that use AJAX. Make sure you're adding any controls in the OnInit method, or during the Page_Init event. That has solved this problem for me in the past.



来源:https://stackoverflow.com/questions/3956327/dundas-chart-in-user-control

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!