I have a webpage that has two buttons.
Button 1 : When you click on this button it opens up a modal window.
Button 2: Is to save the page data.
Scenario: When We click on Button1 it opens up a modal window..
Then We close the window using windows close icon. (X)
Then when we save the page(By clicking on button 2)
The modal window popus up again.
Please advise how can I avoid poping up the modal window on save button click.
Here is the code of Button1 click event
protected void Button1_Click(object sender, EventArgs e)
{
RadWindow _menuwindow = new RadWindow();
_menuwindow.NavigateUrl = "~/Console/L/Details.aspx";
_menuwindow.VisibleOnPageLoad = true;
_menuwindow.ShowContentDuringLoad = true;
_menuwindow.Style.Value = "z-index:7010;";
_menuwindow.ID = "Button1";
_menuwindow.Modal = true;
_menuwindow.Height = 600;
_menuwindow.Width = 900;
_menuwindow.DestroyOnClose = true;
_menuwindow.Title = "Button1";
CathWindowManager.Windows.Add(_menuwindow);
}
Thanks.
Button 1 : When you click on this button it opens up a modal window.
Button 2: Is to save the page data.
Scenario: When We click on Button1 it opens up a modal window..
Then We close the window using windows close icon. (X)
Then when we save the page(By clicking on button 2)
The modal window popus up again.
Please advise how can I avoid poping up the modal window on save button click.
Here is the code of Button1 click event
protected void Button1_Click(object sender, EventArgs e)
{
RadWindow _menuwindow = new RadWindow();
_menuwindow.NavigateUrl = "~/Console/L/Details.aspx";
_menuwindow.VisibleOnPageLoad = true;
_menuwindow.ShowContentDuringLoad = true;
_menuwindow.Style.Value = "z-index:7010;";
_menuwindow.ID = "Button1";
_menuwindow.Modal = true;
_menuwindow.Height = 600;
_menuwindow.Width = 900;
_menuwindow.DestroyOnClose = true;
_menuwindow.Title = "Button1";
CathWindowManager.Windows.Add(_menuwindow);
}
Thanks.