Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Tumurbaatar S. #1
Event handlers called multiple times
My DataGrid's event handlers looks like:
Grid_ItemDataBound(...)
{
switch (e.Item.ItemType):
{
case ListItemType.Footer:
...// BREAKPONT FooterBound
break;
case ...// other item types
}
}
and
Grid_ItemCreated(...)
{
if (e.Item.ItemType == ListItemType.Pager)
{
...// BREAKPONT PagerCreated
}
}
During debug session I put 2 breakpoints as shown above. And I noted strange
things:
1. On the first time, events are called in this order: PagerCreated,
FooterBound, PagerCreated.
I.e. Pager item created event raised 2 times!
2. After postback they are called: PagerCreated, PagerCreated, PagerCreated,
FooterBound, PagerCreated
Now Pager item created event raised 4 times!!!
What is happening?
P.S. Can anybody recommend me any reference about event calling in ASP.NET
which explains all above things?
Tumurbaatar S. Guest
-
Control Event Handlers aren't called when used in PlaceHolder
I have a custom control that I'm adding to a Placeholder, when I click on a button within my control, it should fire an event handler. This works... -
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... -
URG... Function getting called multiple times for no reason
This is really driving me crazy: I've got a simple picker menu, generated by AC. There is a master MC, which contains the different menu... -
#24661 [Opn->Fbk]: xmlCleanupParser called multiple times and causes crash
ID: 24661 Updated by: rrichards@php.net Reported By: wez@php.net -Status: Open +Status: Feedback... -
COM dll being called multiple times
> This issue I am seeing is the same information being How are you using the DLL from the asp code?



Reply With Quote

