wuttrain Posted August 14, 2008 Report Share Posted August 14, 2008 Hi, My page has an updatepanel, inside that updatepanel are 2 controls: A linkbutton and the chartfx control. I also have a javascript code shown below. The linkbutton's OnClientClick property is set to MyRefresh_Click(). < script type="text/javascript">function MyRefresh_Click() {SFX_SendUserCallback('cDetail','My Param Data',false); } </script>When I click the page, the UserCall back was triggered, and inside the UserCallback I've reloaded the data. My problem is the chart didn't refresh with the new data or sometimes it just disappears. What am I missing here? Thanks! Protected Sub cDetail_UserCallback(ByVal sender As Object, ByVal e As ChartFX.WebForms.UserCallbackEventArgs) Handles cDetail.UserCallback---code to reload new data here End Sub Quote Link to comment Share on other sites More sharing options...
wuttrain Posted August 14, 2008 Author Report Share Posted August 14, 2008 I just read from the forum that chartfx may not work inside the updatepanel if it is RenderFormat is .Net. Since I want to use .Net as the RenderFormat, I removed the updatepanel and the chartfx control should be inside the form now. But I'm still getting the same problem, it doesn't refresh the value. Any help is always appreciated. Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.