CheckMenuItem bug?

  1. #1

    CheckMenuItem bug?

    Hi! I have a button with a menu and some CheckMenuItem.





    <ext:Button ID="btnModulo" runat="server" 
    StyleSpec="display:inline;" Text="Módulo">
    
    
                    <Menu>
    
    
                        <ext:Menu ID="mnuModulo" runat="server" 
    Width="200">
    
    
                            <Items>
    
    
                                <ext:CheckMenuItem ID="A" runat="server" 
    Text="(A)" Hide&#111;nclick="false" />
    
    
                                <ext:CheckMenuItem ID="B" runat="server" 
    Text="(B)" Hide&#111;nclick="false" />
    
    
                            </Items>
    
    
                        </ext:Menu>
    
    
                    </Menu>
    
    
                    <Listeners>
    
    
                        <MenuHide Handler=" 
    #{AjaxMethods}.Seleccionar();" />
    
    
                    </Listeners>
    
    
                </ext:Button>




    This code is inside a user control "DETALLE" which is inside a window:





    <ext:Window ID="winNuevo" Show&#111;nload="false" runat="server" 
    Width="350px" Height="280px"
    
    
       Title="Nuevo" Icon="UserAdd">
    
    
        <Listeners>
    
    
            <Hide Handler="Coolite.AjaxMethods.BODY_DETALLE.Limpiar()" 
    />
    
    
        </Listeners>
    
    
        <Body>
    
    
            <ext:Panel>
    
    
                <uc1:DETALLE ID="DETALLE" runat="server" />
    
    
            </ext:Panel>
    
    
        </Body>
    
    
    </ext:Window>




    The procedure to reproduce the problem is: I open the window and check
    some options in the menu. Then, I close the window, which calls the
    function "Limpiar" (clean) where I set the checked property of every
    CheckMenuItem to false. When I open the window again, the CheckMenuItem
    looks clean (all of them not checked), but if I look the Checked
    property, it's set to true in the ones which I checked before.





    Is it the right behaviour of the control? How can I solve it?



    Thanks!
  2. #2

    RE: CheckMenuItem bug?

    Any idea? Should I provide more info about the problem?
  3. #3

    RE: CheckMenuItem bug?

    Can you post a simplified .aspx code sample demonstrating how to reproduce the issue. Something we can copy/paste into our local test project.

    I can't really tell what is happening based on the code snippet(s) you provided.




    Geoffrey McGill
    Founder
  4. #4

    RE: CheckMenuItem bug?

    Thanks, but I have already replaced the menu with other control. I'll try to get the previous code to send you.


Similar Threads

  1. CheckMenuItem layout problem in button menu
    By his363 in forum 2.x Help
    Replies: 0
    Last Post: Aug 08, 2012, 9:46 AM
  2. [CLOSED] error when clicking a CheckMenuItem
    By alexp in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 01, 2009, 11:10 AM
  3. [CLOSED] checkmenuitem issue
    By alexp in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 10, 2009, 2:31 PM
  4. Replies: 7
    Last Post: Jan 21, 2009, 2:20 AM

Posting Permissions