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

How to change "Loading.." text on a TreeView LoadOnDemand ?

Thread ID:





69712 Nov 8,2007 10:36 PM UTC Jan 8,2008 08:43 PM UTC ASP.NET Web Forms (Classic) 8
Tags: Tools
Asked On November 8, 2007 10:36 PM UTC


First, I would like to thank Raji who answered two past questions.

I am now searching how to change the default text "Loading.." from the LoadOnDemand Treeview..

We are working on a french site, so if we could translate this text, it wouldb be perfect..

Thank you very much


Replied On November 12, 2007 12:54 PM UTC


Is there any solution for this problem ?
Or is there an object property that I didn't find ?

Thank you very much

Rajarajeswari S [Syncfusion]
Replied On November 12, 2007 02:03 PM UTC


Thanks for your patience,

Yes, it is possible to change the text from english to french using Localization and Globalization. But since it is taking more time to work, we will update you with in 1 business day.


Replied On November 13, 2007 02:52 PM UTC

Hello Raji,

Thanks a lot.

I'll wait for your answer then.

Rajarajeswari S [Syncfusion]
Replied On November 14, 2007 05:49 AM UTC


Thanks for your patience.

In TreeView you can change the text "Loading..." easily by using the property called LoadingMessage. Please refer the below code snippet which illustrates this:

TreeView1.LoadingMessage="Text in French";

Please let me know if this helps you.


Replied On November 14, 2007 10:12 AM UTC

Hello Raji,

Thank you.

Well, I don't find the LoadingMessage property for my instance of SyncFusion Treeview..

Is it because I am working on a version ?

We cannot upgrade to last version because some major functionnalities of Essantial PDF have change and make our application not compile correctly. For this, we are wondering how we are going to do. Is there a solution to have multiple version of SyncFusion in our bin folder ?

If the property is not available on, we are not going to be able to translate the LoadingMessage ?

Thank you again,


Suresh Sekarean [Syncfusion]
Replied On November 15, 2007 03:02 AM UTC


TreeView loading message can be customized by accessing the current expanded element. This element can be accessed through TreeView client Side events which were triggered on Node select and Node expand. Also Custom Text cannot be set in these itself. So We override the TreeView callback event and Custom text is set in this event before callback.

Please refer the below code snippet,


//Element which shows the loading message
var LoadingElement=null;

//This event used to store the current expanded element on Node click and Node expand actions
function OnExpand(nodeObj)

//Override TreeView callback event to change the 'Loading Message'
function Override()
//Here '_sfTreeView1' is the clientSideObject Property of TreeView. This can be changed by using clientSideObject Property
var _sfTreeView1_callback= _sfTreeView1.callback;
_sfTreeView1.callback = function(arg, async, ev )
//Set Custom Text
LoadingElement.rows[0].cells[0].innerHTML = "(Custom Text...)";
_sfTreeView1_callback(arg, async, ev );

Please refer the below sample and let us know if you need further assistance.



Replied On November 15, 2007 01:45 PM UTC


I'll try this in next days (actually working on something else). In case of problem, I will come back and tell you..

Thank you very much

Replied On January 8, 2008 08:43 PM UTC

Hi Raji,

I come back for this problem I met before..
I'm working on it again.

Your code works well, but not if I click on the + or - image

the onexpand javascript function does not raise in this case..

And we still cannot use the last version of syncfusion for the moment, because it will not work with some page using essential pdf (which has been recoded in the last version)


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