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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TextChange event not fired

Thread ID:





117794 Dec 16,2014 12:40 AM UTC Dec 17,2014 06:32 AM UTC ASP.NET Web Forms 3
Tags: Diagram
Jim Jacobs
Asked On December 16, 2014 12:40 AM UTC


OK, I've been burnt before so I did comment out the following line in DiagramBuilder.js :

    // diagram.model.textChange = textChanged; 

I have tried the following in my code behind (why are there two?):

        //DiagramContent.ClientTextChange = "nodeTextChange";
        DiagramContent.Model.TextChange = "nodeTextChange";

And then my event handler in the main aspx page:

            function nodeTextChange(args) {
                alert('In nodeTextChange');

I double-click on a node, add some text and then click outside the node.
The alert is never reached.

What am I doing wrong?



Shyam G [Syncfusion]
Replied On December 16, 2014 12:39 PM UTC

Hi Jim

Thanks for using Syncfusion products.

Please note that “DiagramContent.Model.TextChange” is a server side event and “DiagramContent.ClientTextChange” is a client side event. Currently we don’t have support for server side event(DiagramContent.Model.TextChange). so we suggest you to use the client side event. Please see the code snippet below to trigger client side event.

Code snippet:

DiagramContent.ClientTextChange = "nodetextchanged"

function nodetextchanged(args) {

     alert('In nodeTextChange');


Please let me know if any concerns.


Shyam G

Jim Jacobs
Replied On December 16, 2014 03:00 PM UTC

Hi Shyam,

I'm using the client side event as you suggested and it's working fine now.


Shyam G [Syncfusion]
Replied On December 17, 2014 06:32 AM UTC

Hi Jim

Thanks for the update.

Please let us know if you require further assistance on this.


Shyam G


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon