This is a migrated thread and some comments may be shown as answers.

conditional updating

1 Answer 51 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Anne Chinn
Top achievements
Rank 1
Anne Chinn asked on 13 Aug 2008, 09:56 PM
I have a splitter with a treeview on the left and a grid on the right. The user is able to drag nodes (files) from the treeview onto the grid.  For most of the operations on the treeview only the treeview needs to be updated (moves, deletes, adds), but in the case when the user renames a node the grid needs to be updated as well. Also, when the user drags a node to the grid only the grid needs to be udpated and not the treeview.

How do a conditionally update certain controls in certain scenarios?

.

1 Answer, 1 is accepted

Sort by
0
Pavel
Top achievements
Rank 1
answered on 14 Aug 2008, 08:41 AM
I use standard MS UpdatePanel with UpdateMode="Conditional" for this purpose. You should wrap your grid with UpdatePanel and manually call Update() when you update grid. I hope this will help.
Tags
Ajax
Asked by
Anne Chinn
Top achievements
Rank 1
Answers by
Pavel
Top achievements
Rank 1
Share this question
or