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/

Comments

  • edited 2:46PM
    Hello,

    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.
  • edited 2:46PM
    AlexTZ wrote: »
    Hello,

    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?
  • edited 2:46PM
    Please read the "Working with ASP.NET/Storing and loading a report" chapter of the programmer's manual.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.