Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Event handlers disappear

Question posted by: Vik (Guest) on June 14th, 2006 04:55 PM
Often during development, some event handlers disappear from the code after
making changes to the controls in design view.
Why does this happen?

Thanks.


Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
George Ter-Saakov's Avatar
George Ter-Saakov
Guest
n/a Posts
June 15th, 2006
01:45 PM
#2

Re: Event handlers disappear
It's a bug in VS.
I had it happening on one page. The only remedy was to delete that page and
redo it.

PS: Save the HTML and Code in notepad first so you do not have to retype it.

George.


"Vik" <viktorum@==yahoo.com==> wrote in message
news:emAfBN9jGHA.456@TK2MSFTNGP05.phx.gbl...[color=blue]
> Often during development, some event handlers disappear from the code
> after making changes to the controls in design view.
> Why does this happen?
>
> Thanks.
>[/color]



Mark Rae's Avatar
Mark Rae
Guest
n/a Posts
June 15th, 2006
01:55 PM
#3

Re: Event handlers disappear
"George Ter-Saakov" <gt-nsp@cardone.com> wrote in message
news:ekSE9GIkGHA.1552@TK2MSFTNGP03.phx.gbl...
[color=blue]
> It's a bug in VS.[/color]

And one of the most annoying!

Luckily, it's fixed in v2



Vik's Avatar
Vik
Guest
n/a Posts
June 15th, 2006
09:55 PM
#4

Re: Event handlers disappear
Why do you need do delete the page? I just double-click the control and the
event handler (Handles ... in VB) is restored. Are we talking about the same
things?

Vik

"George Ter-Saakov" <gt-nsp@cardone.com> wrote in message
news:ekSE9GIkGHA.1552@TK2MSFTNGP03.phx.gbl...[color=blue]
> It's a bug in VS.
> I had it happening on one page. The only remedy was to delete that page
> and redo it.
>
> PS: Save the HTML and Code in notepad first so you do not have to retype
> it.
>
> George.
>
>
> "Vik" <viktorum@==yahoo.com==> wrote in message
> news:emAfBN9jGHA.456@TK2MSFTNGP05.phx.gbl...[color=green]
>> Often during development, some event handlers disappear from the code
>> after making changes to the controls in design view.
>> Why does this happen?
>>
>> Thanks.
>>[/color]
>
>[/color]



 
Not the answer you were looking for? Post your question . . .
180,793 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors