Topic: hide crystal report viewer Posted: 15 Dec 2008 at 12:30am
Hi ,
I am using VS.NET 2005. I can load CR to my CR Viewer. But the problem occurs when i click on CR Viewer's navigation/print button than i can't see any report on my page. same code is running fine when i put the code in Load() method. What's wrong!!!
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 15 Dec 2008 at 11:43am
Never put your code in the Load() event. There are timing issues with loading the viewer into memory and the ViewState object. Put your code in the Init() event instead and see if that helps.
I cover the problems with the Load() method in my CR.NET 2005/2008 book. You can find out more about my books at Amazon.com or reading the Crystal Reports eBooks online.
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>
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