473,385 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Redirect to other page

If I have <form runat=server> then I can't submit to other page.

If I remove runat=server then my controls on that page doesn't work?

So I should redirect to other page from codeBehind but how can I read values
on the second page from the first page.
Old way was: value=request.form.item("")

Thank you for your help,
Simon
Nov 18 '05 #1
4 1321
put the values in the session

"simon" <si*********@stud-moderna.si> wrote in message
news:uI**************@TK2MSFTNGP12.phx.gbl...
If I have <form runat=server> then I can't submit to other page.

If I remove runat=server then my controls on that page doesn't work?

So I should redirect to other page from codeBehind but how can I read values on the second page from the first page.
Old way was: value=request.form.item("")

Thank you for your help,
Simon

Nov 18 '05 #2
thank you, I thought there is some other way, something like request.form,
because I don't feel comfortable with sessions.

The other way in fact are also pannels, but than the page is not readable
with many panels.

Thank you,
Simon

"angus" <an***@angus.com> wrote in message
news:OT**************@TK2MSFTNGP11.phx.gbl...
put the values in the session

"simon" <si*********@stud-moderna.si> wrote in message
news:uI**************@TK2MSFTNGP12.phx.gbl...
If I have <form runat=server> then I can't submit to other page.

If I remove runat=server then my controls on that page doesn't work?

So I should redirect to other page from codeBehind but how can I read

values
on the second page from the first page.
Old way was: value=request.form.item("")

Thank you for your help,
Simon


Nov 18 '05 #3
Check out this faq,
http://www.extremeexperts.com/Net/FA...tInASPNET.aspx
--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"simon" <si*********@stud-moderna.si> wrote in message
news:uf**************@TK2MSFTNGP10.phx.gbl...
thank you, I thought there is some other way, something like request.form,
because I don't feel comfortable with sessions.

The other way in fact are also pannels, but than the page is not readable
with many panels.

Thank you,
Simon

"angus" <an***@angus.com> wrote in message
news:OT**************@TK2MSFTNGP11.phx.gbl...
put the values in the session

"simon" <si*********@stud-moderna.si> wrote in message
news:uI**************@TK2MSFTNGP12.phx.gbl...
If I have <form runat=server> then I can't submit to other page.

If I remove runat=server then my controls on that page doesn't work?

So I should redirect to other page from codeBehind but how can I read

values
on the second page from the first page.
Old way was: value=request.form.item("")

Thank you for your help,
Simon



Nov 18 '05 #4
"simon" <si*********@stud-moderna.si> wrote in message
news:uf**************@TK2MSFTNGP10.phx.gbl...
thank you, I thought there is some other way, something like request.form,
because I don't feel comfortable with sessions.


Forget everything you knew about Session in ASP. All of the problems ASP had
with Session are gone in ASP.NET.
--
John Saunders
johnwsaundersiii at hotmail
Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Damo | last post by:
Could someone please help me. I am a newbie at PHP. I downloaded formail.php Version 5.0 from Jacks scripts( http://www.dtheatre.com/scripts/ )and changed the required areas to my email address and...
7
by: Donna Hawkins | last post by:
I want to use javascript to redirect to a URL which has been passed as a variable (in php). I have searched but cannot find any solution. I think this code is a basic redirect: <script...
6
by: Sam | last post by:
I have some issues with HTTP Headers and I was hoping for some pointers or references to good articles. Here is the problem. I have 6 .aspx pages, each page contains a common .ascx. This ascx...
1
by: MikeM | last post by:
We are getting a behavior on a Response.Redirect("SomeUrl", True) that I'm hoping someone can explain. This all refers to the code snip at the end. By the way, this is all VB ASP.NET v1.0 code. ...
5
by: =?Utf-8?B?d2ViZ3V5QGNvbW11bml0eS5ub3NwYW0=?= | last post by:
We have been running into some problems where using Response.Redirect causes the page to hang and it never actually redirects. Here's the scenario: User opens the page, selects an item from the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.