I have a button and update panel (with a listbox inside) in a control.
The button on this control I think DOES work with AJAX, and refresh my list box with the values filled in on OnClick. However, I have this control in a AtlasToolKit PopupControlExtender, and when I click the button in my control, it refreshes the whole page!
This is definatly something to do with the PopupControlExtender as when I put the control outside of it, it works perfectly.
Anyone have any ideas?
0 jcarter6/16/2006 1:42:53 PM
The button causing the postback needs to live inside of the UpdatePanel. The PopupControlExtender won't affect that. Make sure the content is within the UpdatePanel. If you're still having trouble, please post your markup.Don't forget, this posting is provided "AS IS" with no warranties, and confers no rights.
0 sburke_msft6/17/2006 4:12:29 AM
The button does not cause postback if i do not hold the whole WebUserControl inside a PopupControlExtender.
Markup:
StockSearchCriteriaControl.ascx:
0 jcarter6/19/2006 7:54:25 AM
I don't think that's related to the PopupExtender, but rather the nesting of the UpdatePanels within UserControls. Unfortunately, I'm not sure what the constraints are there, so this question would be better suited for the general Atlas forum.Don't forget, this posting is provided "AS IS" with no warranties, and confers no rights.