protected void OnRemoveButtonClick(DualListBoxEventArgs e)
 {
     if (RemoveButtonClick != null)
     {
         RemoveButtonClick(this, e);
     }
 }
 protected void OnAddButtonClick(DualListBoxEventArgs e)
 {
     if (AddButtonClick != null)
     {
         AddButtonClick(this, e);
     }
 }
Beispiel #3
0
 protected void OnRemoveButtonClick(DualListBoxEventArgs e)
 {
     if (RemoveButtonClick != null)
     {
         RemoveButtonClick(this, e);
     }
 }
Beispiel #4
0
 protected void OnAddButtonClick(DualListBoxEventArgs e)
 {
     if (AddButtonClick != null)
     {
         AddButtonClick(this, e);
     }
 }
        protected void ctlPortals_RemoveButtonClick(object sender, DualListBoxEventArgs e)
        {
            if (e.Items != null)
            {
                foreach (string portal in e.Items)
                {
                    DesktopModuleController.RemoveDesktopModuleFromPortal(int.Parse(portal), DesktopModule.DesktopModuleID, false);
                }
            }
            DataCache.ClearHostCache(true);

            BindDesktopModule(false);
        }
Beispiel #6
0
        protected void OnRemoveModuleClick(object sender, DualListBoxEventArgs e)
        {
            if (e.Items != null)
            {
                foreach (string desktopModule in e.Items)
                {
                    DesktopModuleController.RemoveDesktopModuleFromPortal(_portalId, int.Parse(desktopModule), false);
                }
            }
            DataCache.ClearPortalCache(_portalId, false);

            BindDesktopModules();
        }