Sunday, August 2, 2009

How to display crystal reports in a popup window in ASP.NET?

I want the output of the crystal report in a pop-up window instead in the default web form itself. Can you tell me how can it be done in ASP.NET with C#.

How to display crystal reports in a popup window in ASP.NET?
Use a javascript function.





function whatever() {


window.open(' CrystalReport.aspx, 'Report', 'width=608,height=884');


}





I don't know the right extension for Crystal Reports..probably not aspx but you get the idea. Play with height and width as you like.





call it with a hyperlink


%26lt;a href="javascript:singleSend%26gt;





hope that helps


No comments:

Post a Comment