We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

TreeView1_NodeSelected server side event not working

Thread ID:

Created:

Updated:

Platform:

Replies:

130234 Apr 30,2017 05:27 PM May 4,2017 09:02 AM ASP.NET Web Forms 5
loading
Tags: TreeView
Armand De Lange
Asked On April 30, 2017 05:27 PM

Hi

On node selection there is no postback and the server side event is not triggered.

<ej:TreeView ID="TreeView1" runat="server"
                                DataTextField="Text"
                                DataIdField="Id"
                                DataParentIdField="Parent"
                                DataExpandedField="Expanded"
                                DataSelectedField="Selected"
                                ClientSideOnCreated="onCreate"
                                ClientSideOnNodeAdd="updateData"
                                ClientSideOnNodeDelete="updateData"
                                ClientSideOnNodeEdit="updateData"
                                AllowEditing="true"
                                AllowDragAndDrop="true"
                                EnablePersistence="true"
                                ClientSideOnNodeDropped = "dropped"
                                DataValueField="Order"
                                OnNodeSelected="TreeView1_NodeSelected" FullRowSelect="true" >
                            </ej:TreeView>

      protected void TreeView1_NodeSelected(object sender, Syncfusion.JavaScript.Web.TreeViewEventArgs e)
        {
            string nodetext = e.NodeText;
        }

THX
Armand

Karthik Ravichandran [Syncfusion]
Replied On May 1, 2017 12:28 AM

Hi Armand, 
 
Thanks for contacting Syncfusion support. 
 
We have checked your query (“NodeSelected server side event not working”). We are unable to reproduce the reported issue and NodeSelection event is triggered properly in our side.  
 
For your reference, we have attached our online demo link below, 
 
 
If you still facing the same issue, please provide the sample to reproduce the issue in our side. This will help us to provide the solution at earliest. 
 
Regards, 
Karthik R 


Armand De Lange
Replied On May 1, 2017 11:16 AM

Hi

I created a simple example. I get no postback.

THX
Armand

Attachment: Library_5e1a4473.zip

Karthik Ravichandran [Syncfusion]
Replied On May 2, 2017 09:24 AM

Hi Armand, 
 
Thanks for your update. 
 
We have checked your query with your provided files in our project. We are not able to reproduce the reported issue in our side and server side events are working properly in our ejTreeView  
 
 For your reference, we have attached the sample below. 
 
 
 
 
If you still facing the same issue, please let us know the following details.

1. If possible, share your project web.config file to us.
 
2.Please attached the screenshot of errors if any. 
3.Share your machine configuration. 
4.In which browser, you have facing the issue. 
 
This will help us to provide the solution at earliest. 
 
 
Regards, 
Karthik R 


Armand De Lange
Replied On May 3, 2017 04:13 AM

Hi

I build a new app with just treeview in, I am using Chrome browser.

THX
Armand

Attachment: Projektivity.Kimlor_ac8ae868.zip

Karthik Ravichandran [Syncfusion]
Replied On May 4, 2017 09:02 AM

Hi Armand, 
 
We have checked with your query and created a new incident under your account to track the status of the issue reported in this forum. Please log on to our support website to check for further updates. 
 
 
Regards, 
Karthik R 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;