Sure.  Write the content update code as a function on the main page,
making your AJAX connection and performing the panel update.  Then,
before the top.GB_hide() command is run in the greybox, trigger this
function using top.<function name>().  If the greybox is fetching the
data via AJAX, you can pass the data back to the top page via the
parameters of your newly written function and ditch the AJAX stuff
from it.

Tyler Style
http://www.nirdvana.com

ahaid wrote:
> If you're talking about inserting GB_Show* instead of those alerts,
> that works well but that is not my issue. I can launch the greybox
> successfully but when it closes, I want the parent to refresh - but
> not the entire parent page, just the ajax panel that launched the
> greybox. Is there a way to do that?
>
> On Dec 7, 7:08 am, Logos <[EMAIL PROTECTED]> wrote:
>> Absolutely.  Just use a GB_* function (from the advanced
>> documentation) and use that instead of alert.
>>
>> Tyler Stylehttp://www.nirdvana.com
>>
>> On Dec 6, 9:32 pm, ahaid <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>> Look at this solution to having an ajax panel update when a modal
>>> window that was openend by javascript closes. Can you mimic this with
>>> Greybox?
>>> http://www.codeproject.com/KB/ajax/AjaxUpdateParentPage.aspx- Hide quoted 
>>> text -
>> - Show quoted text -
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to