all groups > visual studio .net general > february 2006 >
You're in the

visual studio .net general

group:

Visual Studio 2003 'Loses' code


Re: Visual Studio 2003 'Loses' code BobF
2/24/2006 3:41:06 PM
visual studio .net general:
[quoted text, click to view]

If this:
<http://support.microsoft.com/kb/822759/>
doesn't address your problem, see if it is listed here:
Visual Studio 2003 'Loses' code Phillip N Rounds
2/24/2006 4:27:49 PM
I have had a recurring problem with my VS2003

1: It keeps loosing certain types of code, specifically

MyButton.Attributes.Add("onclick", "myJavaScriptFunction();");

I add this in the
private void InitializeComponent() method, after all the appropriate C#
event handlers are added.

Am I adding it in the wrong place?

I also occasionally lose JavaScript in the HTML. I've had instances where
all the JavaScript has been wiped out after re-compiling and debugging a
solution.
I've smartened up ( a bit ), and put all my JavaScript in separate files,
but I would like to know if this is a recurrent problem out there and if
there are any fixes.

Thanks

Phil

Re: Visual Studio 2003 'Loses' code Phillip N Rounds
2/24/2006 5:28:41 PM

[quoted text, click to view]

Well, I was able to re-create the instance where this hot-fix was supposed
to apply, so I can only hope it works when they get around to sending it to
me.
Thanks for the prompt reply

AddThis Social Bookmark Button