Rad chart Dynamic Dissapear after click event

Thread is closed for posting
2 posts, 0 answers
  1. Ulises
    Ulises avatar
    5 posts
    Member since:
    Dec 2008

    Posted 18 Dec 2008 Link to this post

    Hi. I add many rad charts dynamically to my web site and i add a event chandler for each radchart. But when i click inside the rad chart, this dissapear and not preserve the state of my rad charts, the only one thing i can do is put in the page load event the function again. How i can preserve the state of the rad charts?? 
  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 20 Dec 2008 Link to this post

    Hello Ulises,

    RadChart, as any other server control, is destroyed before the page is sent to the client. So, on subsequent postback, it should be re-created on the server. In case it is not in the .aspx page, you need to create it ni code-behind. You can try this with a simple Button control.

    Greetings,
    Ves
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top