bind TreeView to ObjectDataSource and dynamically load data without postback

  • Thread starter Thread starter codefragment
  • Start date Start date
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
 
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

Back
Top