Ask a Question related to ASP.NET General, Design and Development.
-
Matt Sogla #1
Losing event handlers
I have written an ASP.NET app with C# code-behind. While modifying
the code and testing it, I find that I will sometimes lose all event
handlers on the page(SortCommand, PageIndexChanged, Load, and
ItemCommand). There doesn't seem to be a pattern. Sometimes I make
no changes at all and when I run the app, nothing happens because the
eventhandlers are gone. Does anyone know what is going on here???
Also, when I say I am losing the event handlers, sometimes they do not
appear in the code-behind, sometimes they are missing from the
properties window in design mode, and sometimes they are missing from
both.
Can anyone give some insite on this problem?
Thanks.
Matt Sogla Guest
-
are there any event handlers besides onClick?
hi, i've made a command for my extension which is called by a menuitem in the File menu via dw.runCommand("myCommand.html"); this .html is... -
Event handlers: How exactly do they work?
I'm working on a C# serial connection. I'm talking to a device that's running embedded C. I have an event handler that handles incoming data.... -
Event handlers called twice, or not at all
Ok, sorry for the long post in advance, but I need an expert opinion here. I have already crawled through the groups via google and additionally... -
Missing Event Handlers
I created a custom control derived from DataGrid. It work well, but I have the following problem: Sometimes, the event handlers that are declared... -
event handlers
Does anyone know how to cause the cursor to advance to the next field on a form after the first field has been filled? -
Alvin Bruney #2
Re: Losing event handlers
No,
it's a bug. i don't think it is documented either. If you are using source
safe it is more likely to happen. there was a patch for this sometime ago.
"Matt Sogla" <mjsogla@hotmail.com> wrote in message
news:547d801a.0307300556.423b537a@posting.google.c om...> I have written an ASP.NET app with C# code-behind. While modifying
> the code and testing it, I find that I will sometimes lose all event
> handlers on the page(SortCommand, PageIndexChanged, Load, and
> ItemCommand). There doesn't seem to be a pattern. Sometimes I make
> no changes at all and when I run the app, nothing happens because the
> eventhandlers are gone. Does anyone know what is going on here???
>
> Also, when I say I am losing the event handlers, sometimes they do not
> appear in the code-behind, sometimes they are missing from the
> properties window in design mode, and sometimes they are missing from
> both.
>
> Can anyone give some insite on this problem?
>
> Thanks.
Alvin Bruney Guest



Reply With Quote

