Hi all,
what is the best way to share the data of lets say a textbox text between
pages?
for example if I fill the textbox in one page and later redirect to a new
page, and
I would like to have that information there as well (VB). Thanks in advance.
Carlos. 5 1209
Session variable will do in all cases.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"Carlos" <ch******@yahoo.comwrote in message
news:uu**************@TK2MSFTNGP02.phx.gbl...
Hi all,
what is the best way to share the data of lets say a textbox text between
pages?
for example if I fill the textbox in one page and later redirect to a new
page, and
I would like to have that information there as well (VB). Thanks in
advance.
Carlos.
Hello Carlos,
My personal favourite for passing information between pages is
HttpServerUtility.Transfer(). http://msdn2.microsoft.com/en-us/lib...k7(VS.80).aspx
"Transfer method preserves the QueryString and Form collections." It means
you can access previous page's view state.
If you use ASP.NET 2.0, google for "Cross-Page Postings" and the PostBackUrl
property.
Cheers,
Leszek "TarTar"
"Carlos" <ch******@yahoo.comwrote in message
news:uu**************@TK2MSFTNGP02.phx.gbl...
Hi all,
what is the best way to share the data of lets say a textbox text between
pages?
for example if I fill the textbox in one page and later redirect to a new
page, and
I would like to have that information there as well (VB). Thanks in
advance.
Carlos.
You could use Server.Transfer instead of Response.Redirect.
Then you could use Context to access the PreviousPage (and it's controls)
directly.
Here's more info: http://SteveOrr.net/articles/PassData.aspx http://SteveOrr.net/faq/TransferRedirect.aspx
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider http://SteveOrr.net
"Carlos" <ch******@yahoo.comwrote in message
news:uu**************@TK2MSFTNGP02.phx.gbl...
Hi all,
what is the best way to share the data of lets say a textbox text between
pages?
for example if I fill the textbox in one page and later redirect to a new
page, and
I would like to have that information there as well (VB). Thanks in
advance.
Carlos.
That's great Steve. Thank you very much.
Carlos.
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:22**********************************@microsof t.com...
You could use Server.Transfer instead of Response.Redirect.
Then you could use Context to access the PreviousPage (and it's controls)
directly.
Here's more info: http://SteveOrr.net/articles/PassData.aspx http://SteveOrr.net/faq/TransferRedirect.aspx
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider http://SteveOrr.net
"Carlos" <ch******@yahoo.comwrote in message
news:uu**************@TK2MSFTNGP02.phx.gbl...
>Hi all,
what is the best way to share the data of lets say a textbox text between pages? for example if I fill the textbox in one page and later redirect to a new page, and I would like to have that information there as well (VB). Thanks in advance.
Carlos.
Thanks Eli
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:u$**************@TK2MSFTNGP05.phx.gbl...
Session variable will do in all cases.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"Carlos" <ch******@yahoo.comwrote in message
news:uu**************@TK2MSFTNGP02.phx.gbl...
>Hi all,
what is the best way to share the data of lets say a textbox text between pages? for example if I fill the textbox in one page and later redirect to a new page, and I would like to have that information there as well (VB). Thanks in advance.
Carlos. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: varlagas |
last post by:
We disabled the antivirus software but the problem persists. Any clues?
Many thanks in advance!
Panagiotis Varlagas
=======================================================================
...
|
by: Pete |
last post by:
Is there any possiblity of writing an Access or Visual Basic
application that provides a method of sharing the window focus between
Access and the Shell application? i.e....
|
by: Mervin Williams |
last post by:
I am using Infragistics UltraWebTab (a tab folder control for ASP.NET). My
tab folder control will include five tab pages with a separate web form on
each, and these web forms will share data.
...
|
by: Suresh |
last post by:
how to share Session Sharing Across the domain
|
by: abcd |
last post by:
I have an ASP application. It instantiaties some COM components and we put
those COM components in Session variables...COM components have license
restrictions...We have written new ASPX page ( for...
|
by: McGeeky |
last post by:
Is there a way to get a user control to remember its state across pages? I
have a standard page layout I use with a header and footer as user controls.
Each page uses the same layout by means of...
|
by: Vikas |
last post by:
Hi,
I am facing a very typical problem. I have a wizard like application,
where user enters information by moving back & forth between the pages.
At the end of wizard the data is submitted...
|
by: Kissi Asiedu |
last post by:
I have a database in a shared folder, however users with permission can only
access the database in read-only format. What have I done wrong? This is on
Win Xp Pro and Access 2003. Please help.
...
|
by: antonyliu2002 |
last post by:
We are extending a web application written in classic ASP long time
ago. We will add more components to this web application in ASP.NET
2.0.
To use the web application, our web users will have...
|
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...
|
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: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
| |