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

Treeview returns 0 items when i register a CallbackReference

Thread ID:

Created:

Updated:

Platform:

Replies:

77851 Nov 19,2008 09:10 AM UTC Nov 19,2008 11:18 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Subramanya Bhat
Asked On November 19, 2008 09:10 AM UTC

Hi,

I have a treeview which gets its data from a xml datasource.

I am registering a CallBackReference on node expand (using the ICallbackEventHandler interface)

Basically my requirement is to reach to the server side without posting the page as my treeview has more than 500 nodes.

Problem: In the server side when i do a Treeview.Items.Count i get 0.

Any idea on this or else any other approach you can suggest to achieve the same functionality ?


Rekha P [Syncfusion]
Replied On November 19, 2008 11:18 AM UTC

Hi Subbu,

Thank you for your interest in Syncfusion Products.

Please refer the below link for samples files which illustrates of getting the TreeView items count value from server side using CallbackMultiplexer and without posting the page.
http://websamples.syncfusion.com/samples/Tools.Web/F77851-TreeView_CallBack.zip

Please let me know if this sample helps you.

Thanks,
Rekha


CONFIRMATION

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.

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

;