TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Miroslav
NA
23
0
Asynchronous TreeView Nodes
Apr 23 2009 2:32 PM
Hello,
at first, sorry for my english. I have a problem with silverlight web page. I have stored tree hierarchy (almost 20.000 records) in database. This tree I need to display in silverlight treeview. Because of this huge amount of data, I decided to used asynchronous calls. In page load I add to treeview only root of the tree, on selected treeviewitem I ask asynchronous server for his nodes. I received an answer, update observableCollection (used like itemsource of treeview) with new nodes, but refresh of treeview did not happend :( .
Answer from server is represented like xml, so I am using LinqToXml to create a ObervableCollection of objects. Next :
this.MyTreeVIew.ItemSource = wups // ObservableCollection parsed from Xml.
In asynchronous answer I've got obervableCollection of all subnodes of selected node from treeView. So, I update main obervableCollection's object with new received obervableCollection.
In finally treeview I see only first node, but no sub-nodes :(. Is it possible to bind treeview asynchronously using this method, or not? Because of huge amount of data I do not want to ask server for all data and display them in treeview.
Please help and thanks for your answer.
Lycantrophe
Reply
Answers (
0
)
extract tabula data from pdf file to excel
question from interview