在Treenode上刷新页面选择 [英] Refresh Page on Treenode select

查看:104
本文介绍了在Treenode上刷新页面选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



怎么能做到这一点.我尝试了以下方法:

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);


但是它正在使用以前的会话值刷新页面.但是我需要最新的.请指导我.

谢谢
Sreenath.


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

Thanks
Sreenath.

推荐答案

您是否还需要这样做?看一下TreeNode对象的NavigateUrl属性:

http://msdn.microsoft.com/en-us/library/6c3xb205.aspx
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


这篇关于在Treenode上刷新页面选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆