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. Image for the cookie policy date

TreeView1_NodeSelected server side event not working

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

5 Replies

KR Karthik Ravichandran Syncfusion Team May 1, 2017 04:28 AM UTC

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 



AD Armand De Lange May 1, 2017 03:16 PM UTC

Hi

I created a simple example. I get no postback.

THX
Armand

Attachment: Library_5e1a4473.zip


KR Karthik Ravichandran Syncfusion Team May 2, 2017 01:24 PM UTC

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 



AD Armand De Lange May 3, 2017 08:13 AM UTC

Hi

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

THX
Armand

Attachment: Projektivity.Kimlor_ac8ae868.zip


KR Karthik Ravichandran Syncfusion Team May 4, 2017 01:02 PM UTC

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 


Loader.
Live Chat Icon For mobile
Up arrow icon