|
-
May 14th, 2008, 05:47 AM
#1
Event handling in VS 2008
Hi,
I'm using Visual Studio 2008 for my project which is being constructed in ASP.NET with VB as codebehind.
In one of my pages I've a CrystalReportViewer added declaratively.
I also set its properties declaratively. The page takes layout from a Master page. The AutoEventWireup property is set to false.
I'm facing couple of unusual problems.
1. When I use the property-viewer to set the events of the CrystalReportViewer the event methods do not get added to the aspx page.
For example, when I double-click on Load event of CrystalReportViewer the property OnLoad = "CrystalReportViewer1_Load" does not get written automatically in the aspx but it does get added to the aspx.vb (codebehind). Is this normal for VB.NET?
2. I have attached breakpoints at CrystalReportViewer1_Load method and Page_Load method. While loading the page for the first time the debugger stops at these breakpoints but when it is a postback from the toolbar of CrystalReportViewer the debugger doesn't even stop at Page_Load. I've handlers for all the event thrown by the toolbar of CrystalReportViewer.
Please help urgently.
Thanks
Winay
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|