M
Mike Hofer
Okay, here's the situation: we want to be able to display ASPX pages
in an UpdatePanel. The reasons for this are performance related. The
site in development uses *lots* of modal popups from some pages, and
we don't want to load all that content until it's requested.
So, what we want to do is place an IFRAME inside an UpdatePanel and,
in the onclick event for the linkbutton or button control, set the SRC
so that the content is loaded on demand. So far, so good.
What I can't seem to figure out, at this point, is how you would go
about closing the modal popup once it's displayed. In theory, the
heirarchy looks like this:
Page
Button/LinkButton
ModalPopupExtender
UpdatePanel
IFrame
Page
OK/Cancel button
I'm relatively new to this Ajax business, but I've manged to figure
out how to get the page to load display in the IFrame when I want it
to, and that's all spiffy. Now I just need to know how to get it to
close in response to the user's actions.
Any help would be greatly appreciated.
Thanks!
Mike
in an UpdatePanel. The reasons for this are performance related. The
site in development uses *lots* of modal popups from some pages, and
we don't want to load all that content until it's requested.
So, what we want to do is place an IFRAME inside an UpdatePanel and,
in the onclick event for the linkbutton or button control, set the SRC
so that the content is loaded on demand. So far, so good.
What I can't seem to figure out, at this point, is how you would go
about closing the modal popup once it's displayed. In theory, the
heirarchy looks like this:
Page
Button/LinkButton
ModalPopupExtender
UpdatePanel
IFrame
Page
OK/Cancel button
I'm relatively new to this Ajax business, but I've manged to figure
out how to get the page to load display in the IFrame when I want it
to, and that's all spiffy. Now I just need to know how to get it to
close in response to the user's actions.
Any help would be greatly appreciated.
Thanks!
Mike