Saturday, March 24, 2012

Ajax and TargetCOntrolID issue

In Atals, toolkit control can be out side of Updatepanel that includes the target Control. But For AJAX, it reports

An extender can't be in a different UpdatePanel than the control it extends.

or

The TargetControlID of 'PopupControlExtender1' is not valid. A control with ID 'DateTextBox' could not be found

How to solve this issue? It's painful if I need to change all toolkit controls in page for AJAX.

Beta 1 changed how everything worked compared to Atlas. You will need to place the extenders and target control within the same Update Panels (With exception of the ModalPopup - if you use this weeks Release Build on CodePlex)... Yes it will probably be a little more work but whats in the Betas now will be the RTM version so - its either now or then...

No comments:

Post a Comment