
In short, what I think I need is a client-side parent refresh to happen -AFTER- the codebehind of the update button executes. Parent updates the treeview nodes as expected. Manually clicking the refresh button on the When the modify.aspx page posts back, I see the updates in that page, but not on the treeview on the parent. When I click Update, it looks like the refresh is happening on the parent, but I think it's happening before theĬodebehind executes, and therefore before updates are made to the database (the source of the treeview). I addedĪ small javascript to the onclick event of the update button on modify.ascx that executes the click event of the refresh button on admin.aspx. I thought I was getting smart by putting a refresh button on the admin.aspx page. The update button on the user control is a server control that runs codebehind to update the database. To force an update of the treeview on the parent (admin.aspx) page.

Therefore, after every update or insert in the Iframe, I have The catch is that the user control in the Iframe either modifies or adds to the data that's creating the TreeView.

Query string value to tell it which user control to make visible. By clicking on any of the TreeView nodes, the NavigateUrl and Target properties of the node loads modify.aspx in the Iframe along with a The right side of the screen, I have an IFrame which can contain one of 15 user controls on a page called modify.aspx. Here's the deal: I'm using the MS TreeView control on a page called Admin.aspx and its nodes are populated from a SQL database.

#Scriptcase iframe do not refresh how to#
OK all, I should know how to do this but I've been all over bunches of sites for days now and can't quite seem to get it right.
