Skip navigation
Suchys
Currently Being Moderated

Handling menu items in menu created by CSXSInterface.instance.setPanelMenu

Mar 28, 2011 2:36 PM

Folks,

If I create menu using CSXSInterface.instance.setPanelMenu, such as new XML(<Menu><MenuItem Id="Item_1" Label="Item 1"/></Menu>) - (I removed some quotations intentionally), is there a way to enable/disable menu items on fly? I tried to add attribute enabled="false" but this does not look it has any effect.

Any idea appreciated.

--Petr

 
Replies
  • Currently Being Moderated
    Mar 28, 2011 2:42 PM   in reply to Suchys

    Nope.

     

    Harbs

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 28, 2011 2:51 PM   in reply to Suchys

    I'm not sure what you mean by "go native". CS SDK panel flyout menus do not support enabling/disabling. You can work around it by changing the contents of the flyout menu on the fly...

     

    HTH,

    Harbs

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 28, 2011 3:15 PM   in reply to Suchys

    Yes. Native panels can enable and disable menu items. It's a CSXS panel limitation...

     

    Harbs

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 12, 2012 12:54 AM   in reply to Harbs.

    Is there another way to create flyout menu without using CSXS?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points