将变量从一帧传递到另一帧 [英] Passing a variable from one frame to another frame

查看:108
本文介绍了将变量从一帧传递到另一帧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含三个框架(顶部,左侧,右侧)的页面,顶部和左侧框架始终保持不变,并且每当我单击右侧框架中的树视图节点时,只有右侧框架才会更改.我有一个文本框并进行搜索在顶部框架中单击按钮,我需要在左侧框架(具有不同页面)的gridview中显示搜索到的数据.有人可以帮助我吗?在此先感谢您.

I have a page with three frames(top,left,right) and the top and left frame remains the same throughout and only the right frame changes whenever i click a treeview node in the right frame.I have one textbox and search button in top frame and i need to display the searched data in gridview in left frame(which have different page).Can anyone help me? Thanks in advance.

推荐答案

这可能对您有帮助

http://www. kirupa.com/forum/showthread.php?336386-How-to-pass-a-variable-to-another-frame-or-function [ ^ ]

http://www.codingforums.com/showthread.php?t=37562 [ ^ ]
This may help you

http://www.kirupa.com/forum/showthread.php?336386-How-to-pass-a-variable-to-another-frame-or-function[^]

http://www.codingforums.com/showthread.php?t=37562[^]


您可以将值放在Session变量中可以在另一帧中访问.当您重定向到另一个页面时,将会话设置为空
You can put the value in Session variable can access in another frame. when your are redirect to another page make session NULL


这篇关于将变量从一帧传递到另一帧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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