Jump to content
Software FX Community

Met error when run as WebForm(about olap)


Recommended Posts

I am using ChartFX for VS2005 Trial and it works well in Winform program. But error occurs when I use it in Webform. The

issues are  listed as belw:

1) Add Chart(Webform) control and all the DLLs needed. Add CharFX Extension. Connect to one cube in Sql Server Analysis

Server. Then run the program. In the Category Bar, select one dimension (such as TIME) and one level (such as YEAR). Now the

Year list appears(such as 2005,2006,2007). The error is that CheckBoxes before these YEAR values do not work. But, in

Winform, it works well.  It seems that the WebForm only support Dimension and dose not support DimensionLevel. The error

message is "it is not an known element. There maybe some compilation error".

2) When running in WebForm, the ToolTip in both Category Bar and ScrollBar is a big yellow one. While when running in

Winform, it is normal.

Please help on that. Thanks!!

Link to comment
Share on other sites

DimensionLevel is supported in both WinForms and WebForms. I was able to replicate the issue while rendering the chart as an image. I then changed the render format to .NET, and those features worked as expected.

To change the render format, you can do the following:

Chart1.RenderFormat = ".NET";

In any case, I will report this as a bug to our development team.

Link to comment
Share on other sites

Thank you very much for your help!~

I set the RenderFormat=".NET" and everyting is ok now.

But,there is a new problem when use the ".NET":I cann't swap or drag the Dimension. The "DrillDown" and "Analyze" are not enabled.When I set the

RenderFormat="Auto" as before,they're all ok.

Please give me some help.Thanks!!!!

Link to comment
Share on other sites

  • 11 months later...

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.

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