Showing posts with label variable. Show all posts
Showing posts with label variable. Show all posts

Monday, March 26, 2012

Updating one updatepanle data from other updatepanel

I have a september ctp atlas dll. We have one updatepanel with timer which fires every 5 seconds & get application variable data from server.In second updatepanel we have a treeview which we want to update only if value in application variable changes.If we put timer in treeview updatepanel then treeview refreshes with images,nodes which we do not want.Can we add nodes in treeview from another updatepanel.Unfortunately, the treeview is not yet supported (as well as some other databound controls that use templates)...There are some hacks you can try in the meantime...for instance the gridview when template is not supposed to be supported but I have managed to get it to work by using a combinations of controls...another good post to read is this...

Saturday, March 24, 2012

UpdatPanel and Session Variable

I have a treeview which populates a session variable when treeview items are selected. The session variable in turn is used to create a datatable. I have the datatable inside of an updatePanel and the trigger is the selectednodechanged event of the treeview. All of this works great. However, while the Session variable and resulting datatable are updated within the updatepanel the session variable is not updated/current when accessed by other controls/methods (that is- none of the treeview items placed inside of the session variable are there). Without the updatePanel changes to the session variable are "global" and seen by other callers. Is there any way to make the changes to the session variable that occur inside of the updatepanel "global"? Is there a way to place the session variable inside of the updatepanel?

Thanks in advance for any help or advice.

Hi rudolph41,

You should ask your question in the"Atlas" Discussion and Suggestions forum because that's where all theUpdatePanel experts are.

Thanks,
Ted