hello,
in my application I use a button to open the designer.
protected void DesignReport_Click(object sender, EventArgs e)
{
StiReport stiReport = new StiReport();
stiReport.Load(Server.MapPath("~/Reports/Templates/Test.mrt"));
try
{
stiReport.DataStore.RegData("ReportData", "Test");
this.ReportDesigner.Report= stiReport;
this.ReportDesigner.Design();
}
catch (ThreadAbortException exception)
{
RadWindowManager.RadAlert(exception.Message, 350, 100, "XXX", null);
}
}
I get the following error: Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
I searched nearly 2 days for any solution and could not find anything.
Any ideas?
ReportDesigner.Design() ThreadAbortException
-
- Posts: 8
- Joined: Wed Apr 16, 2014 10:25 am
Re: ReportDesigner.Design() ThreadAbortException
Hello.
Could you specify which designer do you use?
Please, send us sample project which reproduces the issue.
Thank you.
Could you specify which designer do you use?
Please, send us sample project which reproduces the issue.
Thank you.
-
- Posts: 8
- Joined: Wed Apr 16, 2014 10:25 am
Re: ReportDesigner.Design() ThreadAbortException
Hello,
I use the StiWebDesigner.
Now I prepared a sample project, but in this sample the designer works fine. In my "real" application it does not work.
I will search the differences between the projects. If I can reproduce the behavior I will send a sample.
Thanks
I use the StiWebDesigner.
Now I prepared a sample project, but in this sample the designer works fine. In my "real" application it does not work.
I will search the differences between the projects. If I can reproduce the behavior I will send a sample.
Thanks
Re: ReportDesigner.Design() ThreadAbortException
Hello.
We are waiting for your sample project.
Than you.
We are waiting for your sample project.
Than you.