Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 27, 2012 06:52 AM by jkoross
Apr 26, 2012 03:06 PM|LINK
Kindly assist me. I have and dataset and a report. The report loads well, but when i try to move to page two or click on an item in the group tree(postback), i am prompted to enter the login credetials. I am not sure of what is supposed to be placed in the
CrystalReportViewer1_Init event to correct this. i will be glad if someone points me to the right direction. Below is my code:
da.SelectCommand = cmd;
dsreport = new
.xsd file name
dt = new
the name of data table
dt = getData();
CrystalReportViewer1.ReportSource = rptDoc;
(conn.State != ConnectionState.Closed)
Apr 27, 2012 06:00 AM|LINK
Just remove the if (!IsPostBack). Let the report to load every postback.
Apr 27, 2012 06:25 AM|LINK
Thanks, i have removed the post back. The group tree click item list is now working fine, the only challenge remaining is that the next page does not go beyond page two.Any ideas? I appreaciate the time you are taking to guide me.
Apr 27, 2012 06:33 AM|LINK
Try moving your code to Page_init method.
Apr 27, 2012 06:52 AM|LINK
Phew!Thanks, it worked