473,322 Members | 1,538 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,322 software developers and data experts.

aspx - passing variables through URL

I want to pass variables through the URL from one page to
another, and I am trying to use the request object in the
code-behind of the receiving page. I am passing through
the URL because I have created a URL link dynamically on
the sending page. What I suspect is that I need to use
the request statement on the aspx page of the receiving
page, put that into an object or variable (still on the
aspx page) and then in the code behind refer to the
object/variable. Am I making this too complicated? Any
input is appreciated.
Jul 19 '05 #1
2 10427
SR
Hi

Would recommend the approach given by MS for the same.
This is a neat and maintainable way to do the same

http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpguide/html/cpconpassingservercontrolvaluesbetweenpages
..asp

hope this helps

regards,

sr
-----Original Message-----
I want to pass variables through the URL from one page to
another, and I am trying to use the request object in the
code-behind of the receiving page. I am passing through
the URL because I have created a URL link dynamically on
the sending page. What I suspect is that I need to use
the request statement on the aspx page of the receiving
page, put that into an object or variable (still on the
aspx page) and then in the code behind refer to the
object/variable. Am I making this too complicated? Any
input is appreciated.
.

Jul 19 '05 #2
If u're talking about passing some values thro the querystring .. then
u should be able to capture the values in the page_onload event using
the request.querystring.
i guess this is what u're looking for ..?
regards,
Soni
Jul 19 '05 #3

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

Similar topics

3
by: domeceo | last post by:
can anyone tell me why I cannot pass values in a setTimeout function whenever I use this function it says "menu is undefined" after th alert. function imgOff(menu, num) { if (document.images) {...
2
by: Robin | last post by:
I want to pass variables through the URL from one page to another, and I am trying to use the request object in the code-behind of the receiving page. I am passing through the URL because I have...
4
by: Doruk | last post by:
The problem that we are experiencing is simple: We want to pass certain parameters from a page with several server controls to another page. We want to do this in a dotnet compliant manner,...
5
by: francois | last post by:
I would like to pass information between ASPX pages. For now, my navigation are hardcoded links. In some case I do a Response.Redirect("pages.aspx") Now I wonder is this is a good way to do. ...
2
by: Alessandro Rossi | last post by:
Hi, I have a usercontrol with a button. In the button's click event I have to open an instance of an aspx page, passing some values to some public variables of the page. How can I call the instance...
1
by: Eric | last post by:
Hello, I am trying to come up with the best way to pass large amounts of data from page to page, namely a data table. The user needs to enter data into a form in one page and confirm it on...
2
by: macyp | last post by:
I have to pass values from one aspx page to another. The controls I have in the first page are: a textbox, 3 drop down lists, and 2 check boxes, and a submit button. It is a search page, and the...
5
by: GeRmIc | last post by:
Hi, I have an ASPX application from which I need to pass session variables (ex:username and password) to an ASP Page. How do I do this? Could you pls give a n example code for both aspx and asp....
0
by: James Robertson | last post by:
OK so I have that and get it. Now here is my code, I want to insert the www.mydomain.com?email=username@domain.com to the string "USER@DOMAIN.NET" to accept the variable from elier. How and where?...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.