Connecting Tech Pros Worldwide Help | Site Map

Event handlers disappear

Vik
Guest
 
Posts: n/a
#1: Jun 14 '06
Often during development, some event handlers disappear from the code after
making changes to the controls in design view.
Why does this happen?

Thanks.


George Ter-Saakov
Guest
 
Posts: n/a
#2: Jun 15 '06

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
Guest
 
Posts: n/a
#3: Jun 15 '06

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
Guest
 
Posts: n/a
#4: Jun 15 '06

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]


Closed Thread