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