Connecting Tech Pros Worldwide Help | Site Map

Event handlers disappear

  #1  
Old June 14th, 2006, 05:55 PM
Vik
Guest
 
Posts: n/a
Often during development, some event handlers disappear from the code after
making changes to the controls in design view.
Why does this happen?

Thanks.


  #2  
Old June 15th, 2006, 02:45 PM
George Ter-Saakov
Guest
 
Posts: n/a

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]


  #3  
Old June 15th, 2006, 02:55 PM
Mark Rae
Guest
 
Posts: n/a

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


  #4  
Old June 15th, 2006, 10:55 PM
Vik
Guest
 
Posts: n/a

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