set_clicked() not supported?

2 posts, 0 answers
  1. Charles Forsyth
    Charles Forsyth avatar
    47 posts
    Member since:
    Sep 2006

    Posted 10 Jun 2008 Link to this post

    I am trying to do what is shown in this example:

    http://www.telerik.com/help/aspnet-ajax/expand-root-item-on-click-only.html


    However, when I run it, I get the following JavaScript error

    Object doesn't support this property or method

    Any ideas?


    Here's my sample code that is failing for me...

        <form id="form1" runat="server">  
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
        </asp:ScriptManager> 
        <div> 
            <telerik:RadMenu ID="RadMenu1" 
               runat="server" 
               ClickToOpen="True" 
               OnClientMouseOver="OnClientMouseOverHandler">   
                <CollapseAnimation Duration="200" Type="OutQuint" /> 
                <Items> 
                    <telerik:RadMenuItem runat="server" Text="Root RadMenuItem1">  
                        <Items> 
                            <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">  
                            </telerik:RadMenuItem> 
                            <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2">  
                            </telerik:RadMenuItem> 
                        </Items> 
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Root RadMenuItem2">  
                        <Items> 
                            <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">  
                            </telerik:RadMenuItem> 
                            <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2">  
                            </telerik:RadMenuItem> 
                        </Items> 
                    </telerik:RadMenuItem> 
                </Items> 
            </telerik:RadMenu> 
        </div> 
        </form> 
        <script type="text/javascript">  
        function OnClientMouseOverHandler(sender, eventArgs)  
        {  
           if (eventArgs.get_item().get_parent() == sender)  
           {  
               sender.set_clicked(false);  
           }  
        }  
        </script>  
  2. Charles Forsyth
    Charles Forsyth avatar
    47 posts
    Member since:
    Sep 2006

    Posted 10 Jun 2008 Link to this post

    I was using build 1 415, I upgraded to 1 515 and that fixed it.

    Both are Q1 2008
Back to Top