Click here to Skip to main content
15,902,114 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My requirement is end user report designer in asp.net
Steps:
I am adding devexpress dlls into web application.
After that i am adding Xtrareport1 class. It is derivied from xtrareport into the solution, In that class i am designing label controls and assign the dataset , dataadpter to the xtrareport1.

After that In default.aspx page , I am addig divexpress reportviewer.
In this default.aspx.cs page below code is written

XtraReport1 report=new XtraReport1();
reportviewer1.Report=report;

report.ShowDesigner(); ----------- In this method sending exception i.e, In this method is inappropriate in the web context.


How to solve this error.Please send reply as soon as possible .


Thank you,
Padmavathi.
Posted
Updated 3-Sep-12 21:20pm
v2

1 solution

According to this link, you can't use this feature for a web application since it only supports WindowsForms:
http://documentation.devexpress.com/#XtraReports/CustomDocument1198[^]
 
Share this answer
 
Comments
Espen Harlinn 4-Sep-12 8:31am    
Right :-D

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900