Connecting Tech Pros Worldwide Help | Site Map

Event handlers disappear

 
LinkBack Thread Tools Search this Thread
  #1  
Old June 14th, 2006, 04:55 PM
Vik
Guest
 
Posts: n/a
Default Event handlers disappear

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, 01:45 PM
George Ter-Saakov
Guest
 
Posts: n/a
Default 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, 01:55 PM
Mark Rae
Guest
 
Posts: n/a
Default 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, 09:55 PM
Vik
Guest
 
Posts: n/a
Default 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]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.