Use Visifire Silverlight Control on an UpdatePanel
Visifire have some nice open source chart controls for Silverlight:
They are easy to set up and run, but very difficult to manipulate since all the code used to set it up is in a javascript file (and I don’t have time to work it all out)
All I wanted it to do was put the control on an UpdatePanel, and refresh its datasource on a Client CallBack.
Luckially one guy called Reyza ( and according to google only one) has worked this out in Indonesian:
( What are the chances? I actually just went to Jakarta
)
Add the following code DIRECTLY after your UpdatePanel like this:
</asp:UpdatePanel>
<script type =”text/javascript”>
Basically it just builds it again after an update.
Tags: silverlight, visifire
You can comment below, or link to this permanent URL from your own site.
May 29, 2008 at 6:00 am
hey andrew,
i found visifire cool, thanks for sharing,
BTW i didn’t find it that hard to manipulate
May 29, 2008 at 11:02 pm
What I want to do is get a reference to the Visifire chart, change the data source and re-render it.
At the moment it rebuilds the entire control in order to do this, and that is what I meant by ‘hard to manipulate’.
Any ideas?
June 11, 2008 at 7:52 am
Hi guys,
I have seen their forum post …..
http://www.visifire.com/forums/index.php?showtopic=80&st=0&p=320&#entry320
Visifire will be supporting live updates of charts soon…../:);