on 01-25-2007 8:58 PM
In my program i have three tabs. When i save some data in one tab and click on the other tab to see the updates, it does not show me the updates. It is getting stored in the backend and when cancel out and go back again it works.
I think i have update problem.
Can any body tell me how to update a view when i move from one tab to another. Is there any event handler which i can use when a tab is clicked so i can invalidate the view?
And code or suggestion will be appreciated.
Thanks
Nahman
Nahman,
Typically it's enough to re-load data used: check binding of your UI controls on second tab to context attributes and depict what nodes are used. Then re-initialize these nodes: either just via invalidating them or via re-binding elements / re-executing queries + re-binding elements.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.