I may be asking a very basic question and I am sorry for this.
I have a web application that is like a reporting portal. I have a ReportViewer.aspx page, which has Crystalport Viewer control, and I use the same viewer to show different reports I am doing Report is made by someone else so I have one. The RPT file that I have included in my project.
I am moving the report data source so there is no fixed data binding.
The problem occurs when I go to the next page, there is a postback and it restores all the databases again.
If I save the report document object in session and check the iSpostback and take it out of the session, then it works fine.
The question is whether it is the right way to do it. If I open a new tab and look at the same report then I will lose my first report ... (I can avoid this by managing a strange session and passing a good pass in the query string and then getting the right report object) But is this still the right way?
Cheers,
Oz
Some examples of how this is done will be really great ...
Div class = "post-text" itemprop = "text">
Well, you put the report document in session and bind it to CrystalWiver on postback.
Important though it is to do all in Page_Intern instead of Page_thand Otherwise the multiplex crystal reports will get stuck on page 2, when you click on the next button ...
Comments
Post a Comment