Example #1
0
    private void LoadExisting()
    {
        control = ReloadControl();
        IScreenDefault screen = (IScreenDefault)ControlContainer.FindControl(control.GetType().Name);

        screen.LoadExisting();
        // btnSave.Enabled = false;
    }
Example #2
0
    protected void btnNew_Click(object sender, EventArgs e)
    {
        SavedControlVirtualPath = "~/Controls/Notification/NotificationType.ascx";
        Control        control = (Control)ReloadControl();
        IScreenDefault screen  = (IScreenDefault)control;

        screen.ShowNew();
        // btnSave.Enabled = true;
    }
Example #3
0
 protected void btnSave_Click(object sender, EventArgs e)
 {
     control = this.LoadControl(SavedControlVirtualPath);
     IScreenDefault screen = (IScreenDefault)ControlContainer.FindControl(control.GetType().Name);
     bool           result = screen.Submit();
 }