bind TreeView to ObjectDataSource and dynamically load data without postback

C

codefragment

Hi
Tried to get a fairly long but exact subject there?
I've got working code that uses PopulateNodesFromClient=true and adds
nodes using
the server without refreshing the rest of the screen, but can I do the
same thing but using an
ObjectDataSource. I don't know how to attach the 2 in terms of
properties, or even if this is possible.

Ta
 
G

Guest

I've also looked into it. It isn't possible. Upon binding, the tree
attempts to retrieve all data from the datasource; it doesn't wait until
nodes are expanded to do so. You have to manually add the data to the tree
in the event handler. Sucks, no?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top