Articles in this section
Category / Section

How trigger clientSideEditValidation event in MVC(Classic) Treeview?

3 mins read

Problem

In TreeView control, edit the node by double click or pressing F2 key. Rename the value of the node and then focus the node using ESC key or Enter Key, the ClientSideInlineEditValidation Event is triggered. But instead of focussing from edited node, directly when you can click another node, the ClientSideInlineEditValidation Event is not triggered.

Reason 

With JQuery scripts, the blur event from Input didnt fire when focussed on another draggable/ droppable DOM element. You have logged this as an issue and the reference ticket is available in the following link:

http://bugs.jqueryui.com/ticket/4261

Solution

JQuery has fixed this issue in JQuery UI 1.11.0 version. So you can refer to the JQuery UI 11.1.0 scripts locally in your project and add the key sfJqueryload as false in webconfig file to overcome the jQueryUI conflict issue with two different jQueryUI script versions. You can refer to the following code example.

 [webconfig]
  <appSettings>              
<add key='sfJqueryload' value='false'/>
  </appSettings>

 

Conclusion

I hope you enjoyed learning how trigger clientSideEditValidation event in MVC(Classic) Treeview.

You can refer to our ASP.NET MVC TreeView feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our ASP.NET MVC TreeView example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!


Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied