从另一个重定向页面返回后,保持当前页面状态和单选按钮的选择 [英] maintain current page state and selections of radio buttons after returning back from another redirected page

查看:331
本文介绍了从另一个重定向页面返回后,保持当前页面状态和单选按钮的选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个页面,在网格视图中有一些单选按钮和事件。在每个单选按钮选择页面重定向到另一个页面之后。我希望在完成操作后从重定向的页面重新定向页面,重新定向到上一页面上的所有先前选择的单选按钮。

i have a page which have some radio buttons in grid view and there events. after each radio button selection page redirect into another page.i want from the redirected page after completing an action the page redirect back on the previous page with all the previous selection of radio buttons.

推荐答案

两种可能性:



1。而不是将页面重定向到另一个页面,只需打开在sampe页面上的弹出窗口,执行操作以及弹出窗口关闭Popup的过程的子目标。因此该页面不会被重定向,父页面上的数据也不会丢失



2。在重定向到另一页面之前保存所有会话中的数据,重定向到另一个页面,当您重定向到原始页面时,再次从会话中绑定网格数据。



建议:

如果我必须选择以上两种可能性,我会选择第一种。这不会将数据存储在内存中(如会话)并提高性能。它将是用户友好的。
Two Possibilities :

1. Instead of redirecting Page to another page, Just open the popup on the sampe page, perform action and on submition of the process of the Popup close that Popup. So that page will not be redirected and data on the parent page will not be lost

2. Before redirecting to the another page save all the data in Session, Redirect to another page and when you redirect to original page bind grid data again from the session.

Suggestion :
If i have to choose from above two possibilities, I will select first one. This will not store data in memory (like session) and improve the performance. and it will be user friendly.


这篇关于从另一个重定向页面返回后,保持当前页面状态和单选按钮的选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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