[CLOSED] Disable/hide desktopmodule / Launcher

  1. #1

    [CLOSED] Disable/hide desktopmodule / Launcher

    Hi,

    I would like to disable a certain desktop module for specific visitors. Is that possible from codebehind ?
    Certain visitors see an open window with a dashboard. Others don't have to see the dashboard at all.

     <modules>
                    <ext:desktopmodule moduleid="dmDashboard" windowid="winDashboard" autorun="true">
                        <launcher id="mnuDashboard" text="Dashboard" icon="ChartCurve"/>
                    </ext:desktopmodule>
    </modules>
    I've tried to change the visibility of the launcher, but without any result.

    Martin
    Last edited by Daniil; Dec 09, 2010 at 8:29 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Module cannot be disabled. You have to remove a module from Modules collection or add only required modules in the code behind
  3. #3
    Hi Martin,

    Also you could hide or disable a Launcher:
    MyDesktop.Modules[0].Launcher.Disabled = true;
    MyDesktop.Modules[0].Launcher.Hidden = true;
    To hide a Shortcut you could use the following code:
    MyDesktop.Shortcuts[0].IconCls = "x-hidden";
  4. #4
    Thanks guys...

    this did the trick for what I wanted:

    MyDesktop.Modules[0].Launcher.Disabled = true;
    MyDesktop.Modules[0].Launcher.Hidden = true;
    MyDesktop.Modules[0].AutoRun = false;

    Martin

Similar Threads

  1. [CLOSED] EventMask hide/disable
    By ndotis in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 08, 2011, 8:06 PM
  2. [CLOSED] DatePicker: hide or disable previous and next arrow
    By RomualdAwessou in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 15, 2010, 2:43 PM
  3. [1.0] Checkboxselectionmodel hide/disable checkbox
    By SouthDeveloper in forum 1.x Help
    Replies: 1
    Last Post: Mar 22, 2010, 2:19 PM
  4. How to hide or disable checkboxcolum in gridpanel
    By balaramu76 in forum 1.x Help
    Replies: 0
    Last Post: Feb 08, 2010, 1:41 PM
  5. [CLOSED] Combo Disable/lock/hide trigger
    By CMA in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 19, 2010, 11:22 AM

Posting Permissions