search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Close popup and update calendar?

Asked by Onur Bozkurt
16 years ago.

Hi. I'm opening a popup window on time range selection. On popup window I'm creating the event on server side. How can I close the popup window and update the calendar at the same time with server-side code?

Thanks

Comment posted by azrajobs@gmail.com
16 years ago.

use window.opener JS to call parent window and refresh the object.

Comment posted by Arnicago
13 years ago.

Hi, i'm following your example (Scheduler/New.aspx) to create modal dialog and it works fine.

But, my problem is my cancel button: i can't close the modal dialog on my event Click.

Snippet code:

protected void btnCancel_Click(object sender, EventArgs e)
{
Modal.Close(this);
}

It says 'Modal' doesn't exists on the current context.

Modal is a global variable of the class ? or a method static?

Thank you for your help.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.