Other day I was experimenting with finding which UpdatePanel will be updated during page post back.
I found out that my solution was not working correctly for complex triggers, like user controls with custom events, which will trigger async postbacks and update of panel.
Or for grids with buttons. It was big issue. Also it was not pointing to correct UpdatePanel
if name of control was not entirely unique (for example when you have multiple same custom controls on page). It would return first panel, even if it wasn’t updating. Continue reading “Better algorithm for finding UpdatePanel that will be updated during page request.”