Closing modal from inside modal.

rated by 0 users
Not Answered This post has 0 verified answers | 3 Replies | 2 Followers

Top 500 Contributor
55 Posts
Points 850
PKnopf posted on Sat, Aug 23 2008 9:26 PM

I figuired out how to use Telligent.Glow.Modal

Now that the modal is open, how do I then close it (cancel or save button).

I would like one of the buttons to do a postbock (async) and close it.

  • | Post Points: 20

All Replies

Top 10 Contributor
3,559 Posts
Points 53,735
TelligentSupportTeam

You need to tell your page to call the closeAndRefresh(); javascript script once the postback has completed.  If you're using a Chameleon Control, just add a

                <CSControl:ExecuteScriptAction runat="server" Script="closeAndRefresh();" />

to your form's SuccessActions.

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 20
Top 500 Contributor
55 Posts
Points 850
PKnopf replied on Sun, Aug 24 2008 8:11 AM

I should of mentioned, I am not using the Modal in CS.

Where would I find this method? Is it embeded into an CS assembly? Point me in the direction and I could find it.

Thanks!

  • | Post Points: 20
Top 10 Contributor
3,559 Posts
Points 53,735
TelligentSupportTeam

I don't know where it comes from, I just know it works Wink.  As it's Javascript, I'd assume It's outputted when the modal is rendered, most likely through WebResource.axd.

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 5
Page 1 of 1 (4 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com