Hi David,
Does my further response helps? If anything else we can help, please feel
free to post here.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| X-Tomcat-ID: 278091478
| References: <u9vaURrCGHA.336@TK2MSFTNGP14.phx.gbl>
<voh8NasCGHA.832@TK2MSFTNGXA02.phx.gbl>
<41i6gIGDGHA.1240@TK2MSFTNGXA02.phx.gbl>
<Og##w5yDGHA.3528@TK2MSFTNGP12.phx.gbl>
<O11zqO#DGHA.1088@tk2msftngp13.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: stcheng@online.microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Tue, 03 Jan 2006 09:57:17 GMT
| Subject: Re: Master Pages and Cross-Page Form Information
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
| Message-ID: <LYgcbwEEGHA.1240@TK2MSFTNGXA02.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
| Lines: 343
| Path: TK2MSFTNGXA02.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet.webcontrols:32193
| NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
|
| Thanks for your response David,
|
| If you want to record such a navigation path so that the user can move
| forward or backward through that path... I think using SessionState will
be
| prefered. CrossPage posting only make sense when the original using http
| post to submit to the second page, there're also many other navigation
| scenarios like Response.Redirect, clientscript redirect.... So I think
| use SessionState should be the better approach to record such info(when a
| certain new page is navigated....)..
|
| Hope helps. Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure!
www.microsoft.com/security | (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
|
| --------------------
| | From: "David R. Longnecker" <dlongnecker@community.nospam>
| | References: <u9vaURrCGHA.336@TK2MSFTNGP14.phx.gbl>
| <voh8NasCGHA.832@TK2MSFTNGXA02.phx.gbl>
| <41i6gIGDGHA.1240@TK2MSFTNGXA02.phx.gbl>
| <Og##w5yDGHA.3528@TK2MSFTNGP12.phx.gbl>
| | Subject: Re: Master Pages and Cross-Page Form Information
| | Date: Mon, 2 Jan 2006 12:47:48 -0600
| | Lines: 330
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| | X-RFC2646: Format=Flowed; Response
| | Message-ID: <O11zqO#DGHA.1088@tk2msftngp13.phx.gbl>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
| | NNTP-Posting-Host: ip24-255-143-36.ks.ks.cox.net 24.255.143.36
| | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| | Xref: TK2MSFTNGXA02.phx.gbl
| microsoft.public.dotnet.framework.aspnet.webcontrols:32185
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
| |
| | Steven-
| |
| | Okay, I do have a theory question. What happens if/when I need to move
| | through the web site non-linear? The Reference Page means that it has
to
| go
| | sequentially; however, I can foresee times where I'd want to allow the
| user
| | to go back and forth along the steps. Can you still make the variables
| | public and call them or would I need to place the information into a
| session
| | each page hop, then do a verification on the final "step"?
| |
| | Thanks!
| |
| | -David
| |
| | --
| | David R. Longnecker
| | CCNA, MCSA, Network+, A+
| | Management Information Services
| | Wichita Public Schools, USD 259
| |
| |
[quoted text, click to view] | | "David R. Longnecker" <dlongnecker@community.nospam> wrote in message
| | news:Og%23%23w5yDGHA.3528@TK2MSFTNGP12.phx.gbl...
| | > Steven-
| | >
| | > From what I can tell it worked like a charm... battling a IDE issue
| right
| | > now (VS 2005 locking up with "Visual Studio is Busy" that I'm working
| to
| | > resolve right now); however, it seemed to work exactly like I needed.
| | > Thanks for your help!
| | >
| | > -David
| | >
| | >
| | > --
| | > David R. Longnecker
| | > CCNA, MCSA, Network+, A+
| | > Management Information Services
| | > Wichita Public Schools, USD 259
| | >
| | >
[quoted text, click to view] | | > "Steven Cheng[MSFT]" <stcheng@online.microsoft.com> wrote in message
| | > news:41i6gIGDGHA.1240@TK2MSFTNGXA02.phx.gbl...
| | >> Hi David,
| | >>
| | >> Have you got the issue resolved or does my last reply helps you a
| little?
| | >> If there're anything else we can help, please feel free to post here.
| | >>
| | >> Regards,
| | >>
| | >> Steven Cheng
| | >> Microsoft Online Support
| | >>
| | >> Get Secure!
www.microsoft.com/security | | >> (This posting is provided "AS IS", with no warranties, and confers no
| | >> rights.)
| | >> --------------------
| | >> | X-Tomcat-ID: 121575119
| | >> | References: <u9vaURrCGHA.336@TK2MSFTNGP14.phx.gbl>
| | >> | MIME-Version: 1.0
| | >> | Content-Type: text/plain
| | >> | Content-Transfer-Encoding: 7bit
| | >> | From: stcheng@online.microsoft.com (Steven Cheng[MSFT])
| | >> | Organization: Microsoft
| | >> | Date: Tue, 27 Dec 2005 09:18:43 GMT
| | >> | Subject: RE: Master Pages and Cross-Page Form Information
| | >> | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
| | >> | Message-ID: <voh8NasCGHA.832@TK2MSFTNGXA02.phx.gbl>
| | >> | Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
| | >> | Lines: 193
| | >> | Path: TK2MSFTNGXA02.phx.gbl
| | >> | Xref: TK2MSFTNGXA02.phx.gbl
| | >> microsoft.public.dotnet.framework.aspnet.webcontrols:32037
| | >> | NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
| | >> |
| | >> | Hi David,
| | >> |
| | >> | Welcome to MSDN newsgroup.
| | >> | As for the querying TextBox values from Previous page when doing
| cross
| | >> page
| | >> | postback in asp.net 2.0, here are some of my understanding and
| | >> suggestion:
| | >> |
| | >> | 1. the form values did exist in the Page.Request.Form collection.
| | >> However,
| | >> | since we're using Master page, the textboxes are cotained in the
| | >> | ContentPlaceHolder which itself a child conttrol in the page's
| control
| | >> | structure, so to avoid naming clash, the asp.net page will
generate a
| | >> | unique ID for all the child controsl in it (mangling their ID)....
| So
| | >> we
| | >> | can not use those Textboxs' original ID to query value from
| | >> request.Form
| | >> | collection. But we can printout them through the following code (to
| | >> confirm
| | >> | that they did exists..):
| | >> | =====================
| | >> | protected void Page_Load(object sender, EventArgs e)
| | >> | {
| | >> | if (PreviousPage != null &&
PreviousPage.IsCrossPagePostBack)
| | >> | {
| | >> |