Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: PostBack event of Crystal report viewer Post Reply Post New Topic
Author Message
padreport
Newbie
Newbie


Joined: 20 Mar 2007
Location: India
Online Status: Offline
Posts: 38
Quote padreport Replybullet Topic: PostBack event of Crystal report viewer
    Posted: 04 Apr 2007 at 10:10pm
Hi...
 
I'm using Crystalreportviewer control in web form. in page navigation and other clicks page_load of aspx is executing with postback. how stop that or how to handle the postback of crystalreportviewer in page navigation....
 
urgent....
 
Thanks in advance....
 
PAD
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 05 Apr 2007 at 10:56am
Save the report object to the Session collection. Then on IsPostBack(), load the report object from the Session collection (cast it as a ReportDocument class) and then assign it to the viewer.

And please stop cross-posting. This gives me more work to clean up the posts and its not like I'm getting paid for this.


Edited by BrianBischof - 05 Apr 2007 at 10:57am
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.