MenuPanel update items from javascript

  1. #1

    0.82 MenuPanel update items

    Hello!

    I am new in Coolite toolkit and I recently faced with some MenuPanel troubles:

    1) I generate MenuPanel Items in codebehind and I need to update Menu items when Ajax client event has occurred.
    How can I initiate MenuPanel update items?

    2) I use MenuPanel with SaveSelection="true". It seems it is silly question, but how can I deselect all menu items using javascript when some client-side event has occurred?

    I will appreciate for any help.

    Cheers!
    Last edited by Paul D; Sep 23, 2010 at 11:55 AM.
  2. #2
    Hi,

    1. Coolite 0.8.x doesn't support to add/remove widgets (menu items) during AjaxEvent, it is possible in the Ext.Net 1.0 only
    2. You have to call 'clearSelection' js method (also there is the same server side method)
    MenuPanel1.clearSelection();
  3. #3
    Thanks!

    I solved the problem using TreePanel instead.
    When it will b possible to use 1.0 stable version?

    Cheers!

Similar Threads

  1. Replies: 0
    Last Post: Mar 12, 2012, 7:26 AM
  2. [CLOSED] MenuPanel Get Selected MenuItem from client side (javascript)
    By logicspeak in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Nov 23, 2011, 3:15 PM
  3. Replies: 1
    Last Post: Jun 26, 2010, 8:09 PM
  4. Replies: 5
    Last Post: Nov 02, 2009, 12:31 PM
  5. MenuPanel dynamic items add
    By yarlenvas in forum 1.x Help
    Replies: 3
    Last Post: Mar 11, 2009, 2:30 AM

Tags for this Thread

Posting Permissions