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.

treeview node operations

Thread ID:





58906 Mar 30,2007 09:55 AM Apr 2,2007 02:54 AM ASP.NET Web Forms (Classic) 1
Tags: Tools
sujith ks
Asked On March 30, 2007 09:55 AM

i implimented tree control without postback using your Tree.Refresh() clientside event and callback_refresh server side event.My problem is that i want to show a alert box saying that "added successfully".For that i want to get some data from server side like true/false.How can i impliment that? i have seen events like BeforeCallbackResponseProcessedScript.Can i return some data from serverside callback_refresh event in clientside ?

Valli [Syncfusion]
Replied On April 2, 2007 02:54 AM

Hi Sujith,

I have created a sample as per your requirement and you can download it from the following link:


The above sample helps you to show a alert box which prompts a message whether a new node is successfully added to the TreeView control or not.

1. 'AfterCallbackResponseProcessedScript' which specifies the script that will be executed after the callback result gets processed is defined on the serverside event TreeView1_CallbackRefresh where the TreeView nodes are being added without postback.

2. The script called by the 'AfterCallbackResponseProcessedScript' is passed with the argument 'true' or 'false',
which helps to display the status on the client side whether the node has been added successfully or not.

Please try running the sample and let me know if you have any further concerns.



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.