Microsoft
Software
Hardware
Network
Question : How to share the same ModalPopupExtender and the popup panel by buttons within different UpdatePanel
Hi everyone,
As in my question title: I got several update panels in a page, and each of them contains a "Add Extra" button. I also added a modal popup extender, and a popup panel.
My question is how can I reuse this ModalPopupExtender for all these "Add Extra" buttons click,
it only has one TargetControlId attribute.
In addition, because I put this ModalPopupExtender outside any update panel, so I got an error when I try to open this page:
" Error:An extender can't be in a different UpdatePanel than the control it extends. "
How can I get rid of this problem, and why an extender can't be in a different UpdatePanel than the control it extends?
Many thanks!
Answer : How to share the same ModalPopupExtender and the popup panel by buttons within different UpdatePanel
Dont do that.
Just on OnClick event of button, manually show ModalPopupExtender as:
ModalPopupExtender1.Show()
;
Hope you get what i mean.
Random Solutions
Win 7 and home network
Was Noach's wife idolizer woman?
SBS 2008 / Exchange 2007 intermittent email delivery issues
Ms Access 2000 Forms Moving, Resizing
LINQ problem, get data from var
code help needed
How can I run a stored procedure in ms sql server 2008 from excel 2003 vba
how can i determine window size using javascript and then use it as table width and height ?
Problem with contacts in Exchange....
SharePoint Document Library