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. Image for the cookie policy date

Treeview returns 0 items when i register a CallbackReference

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 ?


1 Reply

RP Rekha P Syncfusion Team 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


Loader.
Live Chat Icon For mobile
Up arrow icon