[CLOSED] CycleButton - adding menu items in code behind

  1. #1

    [CLOSED] CycleButton - adding menu items in code behind

    When adding items to a cyclebutton's menu using code the items don't 'cycle' as expected, they simply remain checked.

    Using items in the markup works as expected.

    Am I right to be using CycleButton and CheckMenuItem?

    <ext:CycleButton ID="cycleTest" runat="server" ShowText="true">
      <Menu>
        <ext:Menu ID="menuTest" runat="server" />
      </Menu>
    </ext:CycleButton>
    Dim item1 As New CheckMenuItem()
    item1.Text = "Test"
    item1Checked = True
    menuTest.Items.Add(item1)
    
    Dim item2 As New CheckMenuItem()
    
    item2.Text = "Test 2"
    menuTest.Items.Add(item2)

  2. #2

    RE: [CLOSED] CycleButton - adding menu items in code behind

    Hi,

    Fixed. Please update from SVN


    P.S. Work-around for those who do not have access to SVN - just set Group for each CheckMenuItem



Similar Threads

  1. Replies: 2
    Last Post: May 21, 2012, 9:25 AM
  2. [CLOSED] CycleButton with menu only
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 22, 2011, 3:54 PM
  3. [CLOSED] Adding menu items with Ajax Event
    By gokcemutlu in forum 1.x Legacy Premium Help
    Replies: 13
    Last Post: Apr 21, 2011, 10:07 AM
  4. Adding items to Menu from code behind
    By maephisto in forum 1.x Help
    Replies: 1
    Last Post: Apr 21, 2011, 8:36 AM
  5. Replies: 3
    Last Post: Dec 12, 2008, 10:04 AM

Posting Permissions