Office Web Components Javascript Hangs IE

R

Rodrigo

Hi,
I'm using the Office Web Components 2003 in one ASP.NET 1.1 web application.
In summary (little big, sorry), I needed to present graphs of diffrent types
in a web page. To avoid code duplicattion I created one web custom control
that makes allt the work for one graph. I use this web custom control in many
web pages for different kinds of graphs. I followed the strategy to write
Javascript to the page instead of using codebehind for the objects of the OWC
library, as for example PivotTable and ChartSpace. This requirement appeared
because my users wanted to use the potential of filtering in runtime, drag
fields to the fieldlist, etc... Being this the strategy, the web custom
control that I spoke previously writes Javascript in the customer who
initializes a Pivottable object. After this the same Pivottable loads the
data from the DB using a RDS DataFactory and after this the populated
Pivottable is used as datasource for the ChartSpace.
My doubt and current problem:
- When I execute the Query method of RDS DataFactory to populate the
Pivottable IE hangs the user interface. The same happens when I say to the
CHartSpace that its DataSource is the PivotTable. This, delays some seconds
and as I have more than 2 graphs per webpage the interface hangs during all
this time. Is there some way to exceed this problem in Javascript or NET? I
am using Ajax but it's not very handfull. The ideia is to have something to
say the user that the graph is loading but without hanging the interface of
the IE! Thanks for the patience reading this long request!
 
A

Alvin Bruney [MVP]

Strip down your call to a simple pivot table that will work and not hang.
The problem may be in the type of data or query complexity that you have in
your code. If you can get a simple example working you can slowly work up
from there.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top