Try stepping though your code - it will give you an indication of why it happens (i.e. is it there there are several items that all have a listitemtype of footer.)
Try stepping though your code - it will give you an indication of why it happens (i.e. is it there there are several items that all have a listitemtype of footer.)
So my understanding is that when a row is created, itemCreated will fire, and when the data is bound to the row, itemCreated will fire. That explains two, not three.
Specifically,
are several items that all have a listitemtype of footer
No, there is only one footer in this datagrid. I do have template collums with editItemTemplate specified, so maybe it fires once for normal colums which use the datagrid footer, once for templatecollums looking for a specific footer, and once for databinding. I'll try and test for that.
That doesn't make perfect sense though, because it should fire twice for normal columns (round trip and data binding) and twice for template columns (round trip and data binding)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.