If you are executing that javascript in a click then you could add a server control, ie:
<asp:LinkButton id="MYLINK" runat="server" click="MYLINK_Click">link</a
and put it inside the update panel or add it as a trigger for the update panel.
on every click the updatepanel will reload, if you want you coul also add the code to update the tree in the click event handler.
Main Topics
Browse All Topics





by: davrob60Posted on 2009-08-18 at 06:33:19ID: 25122988
that code is to cause a full postback,
here a solution
http://codeclimber .net.nz/ar chive/2007 /06/26/how -to-refres h-an-updat epanel-fro m-javascri pt.aspx
The idea is to use another control that have async trigger (the control is hidden using style="display:none;") ,
Then use javascript to "push" that trigger.