Click here to Skip to main content
15,886,056 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
CS1061: 'ASP.default_aspx' does not contain a definition for 'CrystalReportViewer1_Init' and no extension method 'CrystalReportViewer1_Init' accepting a first argument of type 'ASP.default_aspx' could be found (are you missing a using directive or an assembly reference?)
Posted
Updated 26-Nov-14 2:00am
v2
Comments
DamithSL 26-Nov-14 8:04am    
do you have CrystalReportViewer control in your page?
right click on CrystalReportViewer1 control and go to properties, in the events section check for init event, if you have event in front of init event clear that one.

1 solution

The error message is quite clear: the code-behind for your page doesn't contain a method called CrystalReportViewer1_Init with the appropriate signature.

Check that your .aspx page is pointing to the correct code-behind file, and add the missing event handler.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900