Closing Telligent modal and refreshing the base page.

Closing Telligent modal and refreshing the base page.

This question has suggested answer(s)

I am opening telligent model dialog from one of my custom pages on the site. I need to close the dialog and refresh the base page.

I am able to open the dialog from an anchor tag using javascript:Telligent_Modal.Open('url',500,300)

and close it from the code behind Modal.ClosePage(this.Page);

Final missing part is refreshing the base page.

Any help much apreciated.

I am using Telligent Community 5.5.

Thanks.  

All Replies
  • I believe you should just be able to use simple JavaScript:

    location.reload(true);

    or

    window.location = window.location;

  • Try this before closing the modal
     
    window.parent.Telligent_Modal.GetWindowOpener(window).location.reload(true);
     
     
    Patrick Mason
    Development Lead- Extensibility
    o: 214.420.1329
    telligent.com
     
    From: Adam Seabridge [mailto:bounce-aseabridgethebuildingblockscouk@communities.telligent.com]
    Sent: Wednesday, April 25, 2012 5:47 AM
    To: bugsandissues@communities.telligent.com
    Subject: RE: [Bugs and Issues - Telligent Community] Closing Telligent modal and refreshing the base page.
     

    I believe you should just be able to use simple JavaScript:

    location.reload(true);

    or

    window.location = window.location;