updating InitializeComponent()

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a user control that raises an event in the hosting page. I setup the
control and wired up the event in InitializeComponent(), and everything is
working fine, that is until VS re-creates InitializeComponent() when I add or
delete controls in the page. I know that the Summary says: "do not modify the
contents of this method with the code editor.", but looking at
http://support.microsoft.com/kb/822759/ there is a fix, but this fix was not
included in SP1 which is what I have, and I'm not sure if I should install it?

Is there another way to wire up events in my scenario: Raise web user
control events in the hosting page?
 
Back
Top