The target 'Control 1#RadChart1' for the callback could not be found or did not implement ICallbackEventHandler

Thread is closed for posting
9 posts, 0 answers
  1. ajmal
    ajmal avatar
    3 posts
    Member since:
    Nov 2008

    Posted 01 Dec 2008 Link to this post

    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.

  2. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 01 Dec 2008 Link to this post

    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.
  3. Keith Thorne
    Keith Thorne avatar
    7 posts
    Member since:
    Feb 2010

    Posted 24 Feb 2010 Link to this post

    A link to the other topic would have been nice.
  4. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 26 Feb 2010 Link to this post

    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.
  5. shootermv
    shootermv avatar
    8 posts
    Member since:
    Jul 2010

    Posted 29 Jul 2010 Link to this post

    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.
    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);
        }
    }
    Good luck
  6. pallav
    pallav avatar
    3 posts
    Member since:
    Sep 2010

    Posted 10 Sep 2010 Link to this post

    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
  7. Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 15 Sep 2010 Link to this post

    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.
  8. pallav
    pallav avatar
    3 posts
    Member since:
    Sep 2010

    Posted 21 Sep 2010 Link to this post

    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
  9. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 23 Sep 2010 Link to this post

    Hello pallav,

    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
Back to Top