Updating InitializeComponent

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?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top