This is a migrated thread and some comments may be shown as answers.

Context Menu is Not open.

4 Answers 76 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
mohmedsadiq modan
Top achievements
Rank 1
mohmedsadiq modan asked on 21 Dec 2010, 11:38 AM
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.

4 Answers, 1 is accepted

Sort by
0
Accepted
Joshua
Top achievements
Rank 1
answered on 22 Dec 2010, 04:04 PM
  
0
Dimitar Terziev
Telerik team
answered on 23 Dec 2010, 02:02 PM
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.
0
mohmedsadiq modan
Top achievements
Rank 1
answered on 23 Dec 2010, 02:18 PM
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
0
Accepted
Dimitar Terziev
Telerik team
answered on 29 Dec 2010, 09:30 AM
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.
Tags
TreeView
Asked by
mohmedsadiq modan
Top achievements
Rank 1
Answers by
Joshua
Top achievements
Rank 1
Dimitar Terziev
Telerik team
mohmedsadiq modan
Top achievements
Rank 1
Share this question
or