Thread: Wrox CMS in C#
View Single Post
  #5 (permalink)  
Old February 22nd, 2007, 05:22 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

Wow, great and fast service.... ;)

There may be more that you need to do. You said this:
quote:by removing Handles Me.Load
Did you also remove those for other events, like Selecting / Selected / ItemDataBound and stuff like that?

If so, you'll find that a lot of stuff won't work. You'll need to explicitly set them. Here's how to do it:

1. Look in the code behind for event handlers. They follow the naming pattern ControlName_EventName.

2. Switch to Design View and locate ControlName.

3. Open the Properties Grid, click the Events button and then under EventName select the appropriate event from the list.

Hope his helps,

Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.