C
Claude Vernier
Hi,
I got my web application in C# finally running,
users can select an OLAP cube name, this cube gets loaded
in a pivot table
on their IE and a OWCChart is also linked to it.
Now, I need to give something to those users who does not
have OfficeXP...
Right now, for almost each cubes, I got an XML file that
contains the XMLData,
I send the content of this file in javascript and load it
into the OWC on the client side.
I'd like to create a OWC server-side, feed it the same
XMLData, and send the HTMLData to those users...
Here's my code:
Microsoft.Office.Interop.OWC.PivotTable oPT = new
Microsoft.Office.Interop.OWC.PivotTableClass();
oPT.XMLData = "Same XML that I send to
javascript...";
this.tdWithOWC.InnerHtml = oPT.HTMLData;
Here's the result:
The query could not be processed:
o The data provider didn't supply any further error
information.
What must I do ??
If anyone also any idea on the best way to identify users
who can't use the OWC.. tell me.
Right now, I'm using:
bool bExcelIsAccepted = false;
string[] aTypes = Page.Request.AcceptTypes;
foreach( string sType in aTypes )
{
if( sType == "application/vnd.ms-excel" )
bExcelIsAccepted =true;
}
Thanks you very much !!
Claude
ps: Sorry for my poor english
I got my web application in C# finally running,
users can select an OLAP cube name, this cube gets loaded
in a pivot table
on their IE and a OWCChart is also linked to it.
Now, I need to give something to those users who does not
have OfficeXP...
Right now, for almost each cubes, I got an XML file that
contains the XMLData,
I send the content of this file in javascript and load it
into the OWC on the client side.
I'd like to create a OWC server-side, feed it the same
XMLData, and send the HTMLData to those users...
Here's my code:
Microsoft.Office.Interop.OWC.PivotTable oPT = new
Microsoft.Office.Interop.OWC.PivotTableClass();
oPT.XMLData = "Same XML that I send to
javascript...";
this.tdWithOWC.InnerHtml = oPT.HTMLData;
Here's the result:
The query could not be processed:
o The data provider didn't supply any further error
information.
What must I do ??
If anyone also any idea on the best way to identify users
who can't use the OWC.. tell me.
Right now, I'm using:
bool bExcelIsAccepted = false;
string[] aTypes = Page.Request.AcceptTypes;
foreach( string sType in aTypes )
{
if( sType == "application/vnd.ms-excel" )
bExcelIsAccepted =true;
}
Thanks you very much !!
Claude
ps: Sorry for my poor english