Jump to content
Software FX Community

ChartFX not visible when AJAX is used


vasanthsr

Recommended Posts

Hi,

I have a checkbox, chart fx control inside an updatePanel.

By clicking on the check box i should load the chartfx using the AsynchronousTrigger.

But when i click the check box that is inside the updatePanel, the ChartFX becomes invisible.

When i take the check box out of the updatePanel, it works fine.

 Please enlight me on this.

Thanks in advance 

 

Link to comment
Share on other sites

How are you rendering the chart? What's the value of RenderFormat?

We know that the UpdatePanel doesn't know how to handle <OBJECT> tags, so if you are rendering as .NET the UpdatePanel will choke.

If you are rendering as Image it should work, we have done some tests with this, if this is the case and you are experiencing a problem, please attach a sample project t that reproduces the problem.

Link to comment
Share on other sites

Agree, not supporting <OBJECT> tags is a major limitation of the ASP.NET AJAX Framework.

I don't understand your question about "how to keep the chart out of the update panel". Besides the obvious answer of "don't put it inside of it" which I'm sure is not what you are looking for.

Note that you can render the chart as an image and still have a lot of interactivity (we use AJAX) so you may want to consider switching to image rendering due to this limitation in the UpdatePanel.

 

Link to comment
Share on other sites

I am working on a legacy site. Previous programmers put update panel surrounding just about everything. I don't have leverage to rearrange those update panels right now. So you tell me how do I keep the chart out when the top level compoent inside the body tag is the update panel.

If I go with image output, can I show a custom snippet on a scattered chart point when user hoevers on it. The snippet could be a small window that could be shown using javascript.

Link to comment
Share on other sites

Hi Frank,

When using .NET as RenderingFormat, we have more nice options in 3D, Zoom etc.. than using it as Image format.

As .NET format doesnt work with UpdatePanel, we had to use Image format to make UpdatePanel work.

But is there any other way to make the options (3D, Zoom)  to work with Image format just like how it works in .NET format.

I request you to help me on this.

Thanks

Vasanth  

Link to comment
Share on other sites

If I am not wrong, advanced features are not available when using image format. Features like custom tooltips and some 3D options. Images have limited interactivity due to their inherent purpose. When graph is rendered as .NET, it is an interative web control so it can handle a lot of events.

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...