ASP.Net Ajax 2.0

Topics: Developer Forum, User Forum
Dec 4, 2007 at 12:39 AM
The bulk edit gridview skips over UpdatePanels. I tried sticking this in but no luck. I can't find the actual controls that are in the UpdatePanels. Can anyone offer a hint?

private void AddChangedHandlers(ControlCollection controls)

...

else if (ctrl is UpdatePanel)
{
AddChangedHandlers(((UpdatePanel)ctrl).TemplateControl.Controls);
}
Apr 8, 2008 at 8:52 AM
I don't know if this issue is still pending. However, I had the same issue.

Following, the AddChangedHandler ist called by InitializeRow. For each row you call AddChangeHandler with its controls. But in case of an Update Panel the controls do not exist yet. Therefore, I take the concrete row from the InnerTable instead. If you access the Controls from the InnerTable all Controls are present.

Hope this helps.

br
Thomas