Jump to content
Software FX Community

Chart inside the updatepanel (AjaxControlToolkit)


wuttrain

Recommended Posts

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

Link to comment
Share on other sites

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!

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...