Click here to Skip to main content
15,911,711 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How can achive this. I have tried the following:
ScriptManager.RegisterStartupScript(this, this.GetType(), "Refresh", "<script language='javascript'>window.top.parent.location = " + Session[lObjClsGlobals.mStrViewStateCurrentOpenedChildPage].ToString() + "; window.top.parent.Refresh();</script>", false);

But it is refreshing the page with previous session values. But I need the latest. Please guide me.

Thanks
Sreenath.
Posted
Updated 30-Jan-11 18:26pm
v2

1 solution

Do you even need to do that? Have a look at the NavigateUrl property of the TreeNode object:

http://msdn.microsoft.com/en-us/library/6c3xb205.aspx
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900