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.