Home Unanswered Active Tags New Question

Close popup and update calendar?

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

Asked by Onur Bozkurt 3 years ago.
Replies

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

Comment posted by azrajobs@gmail.com 3 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.

Comment posted by Arnicago 11 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java