Context Menu is Not open.

5 posts, 2 answers
  1. mohmedsadiq modan
    mohmedsadiq modan avatar
    26 posts
    Member since:
    May 2010

    Posted 21 Dec 2010 Link to this post

    Hello,

    I have implemented tree-view with context-menu.

    Code look like as below
    ======================================================================
    <Telerik:RadScriptManager runat="server" ID="RadScriptManager1" >
    </Telerik:RadScriptManager>

    <Telerik:RadTreeView runat="server" ID="TVtreeview" BorderWidth="1px" Height="300px"
        padding="2px" Width="800px" BackColor="#CCCCCC" ShowLineImages="false" BorderStyle="Solid"
        LoadingStatusPosition="BeforeNodeText">
        <ContextMenus>
            <Telerik:RadTreeViewContextMenu ID="ContextMenuVerbatium" runat="server">
                <Items>
                    <Telerik:RadMenuItem Value="0" Text="Alphabetically Asending" PostBack="True" Enabled="false" />
                    <Telerik:RadMenuItem Value="1" Text="Alphabetically Desending" PostBack="True" />
                    <Telerik:RadMenuItem Value="2" Text="Ascending By Character Length" PostBack="True" />
                    <Telerik:RadMenuItem Text="Desending By Character Length" Value="3" PostBack="True" />
                </Items>
            </Telerik:RadTreeViewContextMenu>
        </ContextMenus>
        <Nodes>
            <Telerik:RadTreeNode Text="Root">
            </Telerik:RadTreeNode>
        </Nodes>
    </Telerik:RadTreeView>

    ======================================================================
    I am binding record in above tree-view, it is working perfect last 15 days. Now it is working with some data and in some data it is not working properly it gives error like as below.

    Error: this._element is undefined
    Source File: http://localhost/mysite/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3de828f0-5e0d-4c7d-a36b-56a9773c0def%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.2.713.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a7302be66-e7a1-4bc1-8280-71f03d66eba0%3a16e4e7cd%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3ac8618e41%3ae4f8f289%3ae524c98b
    Line: 447
    9

    Can you please me help me out.

    Thanks in advance.
  2. Answer
    Joshua
    Joshua avatar
    1 posts
    Member since:
    Jul 2010

    Posted 22 Dec 2010 Link to this post

      
  3. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1268 posts

    Posted 23 Dec 2010 Link to this post

    Hello Mohmedsadiq,

    Unfortunately i couldn't reproduce the problem you are experiencing. Could you verify the version of the controls you are using and send us live URL so we could examine the error.


    Regards,
    Dimitar Terziev
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  4. mohmedsadiq modan
    mohmedsadiq modan avatar
    26 posts
    Member since:
    May 2010

    Posted 23 Dec 2010 Link to this post

    Hello,

    Thanks for you response.

    Actually I have license  version 2010.2.713.35 also I have posted support ticket with name of Joshua, and I can not share link because it is my end-client's web site.

    Actual problem is Tree-view node is loaded but it's event is loaded or set with the nodes.

    May be all errors are come from the Telerik.Web.UI.WebResource.axd because it's point out this line in error console.

    when I select node then error occur  also node is not look as selected also then when I perform right click on the tree-view then also error occur, but it has to be open the context-menu, it is not perform like that.

    Do let me know if you need further information.

    Thanks in Advance
    Sadiq Modan
  5. Answer
    Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1268 posts

    Posted 29 Dec 2010 Link to this post

    Hello Mohmedsadiq,

    Sorry for my late response.

    Unfortunately the information provided is not enough to determine what is causing the error you are experiencing . Since there is a support ticket opened on this issue please send us a sample project where we could investigate the reason for this problem.

    Greetings,
    Dimitar Terziev
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top