BELOW IS A CUT OUT OF MY APPLICATION WHERE I USE REPORTENGINE TO LOAD REPORTS BUT AM TRYING TO USE CRAXDRT TO EXPORT REPORTS TO TEXT FORMAT. IF AT ALL POSSIBLE YOU COULD GIVE ME SOME FEEDBACK, I'D REALLY,REALLY APPRECIATE IT. MY TWO PROBLEMS ARE (1)GETTING MY REPORT FILE TO THE CRAXDRT.REPORT AND (2)I CAN SEE IN DEBUG THE REPORT AND ALL THE VALUES, BUT WHEN I EXPORT NOTHING HAPPENS IT JUST HANGS.
//To export to formats such as Text and Comma-separated values (CSV),
//use the RDC COM component (Craxdrt) through interop assemblies.
//Export the report without prompting
crxRpt.Export(false);
#region Web Form Designer generated code
//
override protected void OnInit(EventArgs e)
{
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
InitializeComponent();
base.OnInit(e);
#region Load viewer (I have a treeview where I display the reports on the server and then load them to the report viewer here)
#region LOAD VIEWER AND LOG ONTO REPORT(I have a treeview where I display the reports on the server and then load them to the report viewer here)
report = new ReportDocument();
report.Load(Request.QueryString[CRConstants.COMMON_REPORTPATH].ToString());
CRAXDRT.Application crxApp = new CRAXDRT.Application();
CRAXDRT.Report crxRpt;
//return an instance of the report
crxRpt = crxApp.OpenReport(Request.QueryString[CRConstants.COMMON_REPORTPATH].ToString(),1);
crConnectionInfo = new ConnectionInfo();
ect, ect, ect.
private void InitializeComponent()
{
this.Export.Click += new System.EventHandler
this.Export_Click);
BELOW IS A CUT OUT OF MY APPLICATION WHERE I USE REPORTENGINE TO LOAD REPORTS BUT AM TRYING TO USE CRAXDRT TO EXPORT REPORTS TO TEXT FORMAT. IF AT ALL POSSIBLE YOU COULD GIVE ME SOME FEEDBACK, I'D REALLY,REALLY APPRECIATE IT. MY TWO PROBLEMS ARE (1)GETTING MY REPORT FILE TO THE CRAXDRT.REPORT AND (2)I CAN SEE IN DEBUG THE REPORT AND ALL THE VALUES, BUT WHEN I EXPORT NOTHING HAPPENS IT JUST HANGS.
THANKS IN ADVANCE, MARYELLEN
//To export to formats such as Text and Comma-separated values (CSV),
//use the RDC COM component (Craxdrt) through interop assemblies.
//Export the report without prompting
crxRpt.Export(false);
#region Web Form Designer generated code
//
override protected void OnInit(EventArgs e)
{
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
InitializeComponent();
base.OnInit(e);
#region Load viewer (I have a treeview where I display the reports on the server and then load them to the report viewer here)
#region LOAD VIEWER AND LOG ONTO REPORT(I have a treeview where I display the reports on the server and then load them to the report viewer here)
report = new ReportDocument();
report.Load(Request.QueryString[CRConstants.COMMON_REPORTPATH].ToString());
CRAXDRT.Application crxApp = new CRAXDRT.Application();
CRAXDRT.Report crxRpt;
//return an instance of the report
crxRpt = crxApp.OpenReport(Request.QueryString[CRConstants.COMMON_REPORTPATH].ToString(),1);
crConnectionInfo = new ConnectionInfo();
ect, ect, ect.
private void InitializeComponent()
{
this.Export.Click += new System.EventHandler
this.Export_Click);
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.