WebReport/problem in report load
I am using webreport to view reports in web application.i want to use a frx file at run time.but in line report.show() i saw this error:
DragDrop registration did not succeed
my code is follow:
Report report = new Report();
report.Load(Server.MapPath("Personel_Timesheet.frx"));
report.RegisterData(dst);
report.GetDataSource("Find_SchaduleForUser").Enabled = true;
report.Show();
report.Dispose();
pleas help me if you could/
DragDrop registration did not succeed
my code is follow:
Report report = new Report();
report.Load(Server.MapPath("Personel_Timesheet.frx"));
report.RegisterData(dst);
report.GetDataSource("Find_SchaduleForUser").Enabled = true;
report.Show();
report.Dispose();
pleas help me if you could/
Comments
You are trying to show a report in the preview window. This is not allowed in ASP.Net mode. Please use the WebReport component, as described in the programmer's manual, "Working with ASP.Net" section.
tnx.but if i want to use frx file in web,is there way for this?