Click here to Skip to main content
13,552,932 members
Rate this:
Please Sign up or sign in to vote.
See more:
when we redirect one form to another then return back to first checkbox doest not show true..
I want that show check true please help me
Posted 2-Feb-13 0:53am
KrunalRohit 2-Feb-13 6:58am
What have you done so far ?
mandy-nagra 2-Feb-13 7:00am
i have redirect from one form to another nw redirect to first form checkbox remain unchecked
mandy-nagra 2-Feb-13 7:01am
i want it should be checked
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

When you open a webpage, it is as if you have never been there before, unless you code explicitly checks and loads information into it.
Normally, this information would be stored in the Session or in Cookies.

Session[^] for data you want to throw away when the browser is closed (or before).
Cookies[^] for data that you want to preserve even if the PC is powered down and restarted. (Shopping baskets are an example)
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

use querystring to maintain the checkbox state when it revert back.
mandy-nagra 2-Feb-13 7:03am
oliver-grace 2-Feb-13 7:10am
in your second form call response.redirect within that write your previous form name and checkbox.checked,
this will redirect your checkbox value to first form. call this in first form pageload.
then u will get it........
oliver-grace 2-Feb-13 7:11am
have u heard about namevaluecollection try to use this to get it...
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

i think you can use query string...
mandy-nagra 2-Feb-13 7:56am
m just confused
because i want after redirect to first form from second that checkboxes are true that i have done earler

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.180515.1 | Last Updated 2 Feb 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100