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

Posting to a non-rendering Page

T.
Back in the earlier days of ASP it was easy for an HTML page (let's call it
page H) to post to an ASP page (we will call it page A), and then wire page A
so that based on what was posted by page H, transfer/redirect to either page
B or page C.
What I want to know is how does this scenio now work in ASP.NET 2.0? Do you
wire the code for determining which page to go to in the onload event handler
for page A or what?

Thanks in advance

T.
Mar 9 '06 #1
3 825
> Back in the earlier days of ASP it was easy for an HTML page (let's call it
page H) to post to an ASP page (we will call it page A), and then wire page A
so that based on what was posted by page H, transfer/redirect to either page
B or page C.
What I want to know is how does this scenio now work in ASP.NET 2.0? Do you
wire the code for determining which page to go to in the onload event handler
for page A or what?

Thanks in advance

T.


Regular scenario:
- page H is an aspx page, containing input controls ans one or more
buttons.
- when the user clicks on a button, the page posts back to itself!
- in the OnClick handler for that button you process the input,
possibly ending in a redirect to B or C

Hans Kesting
Mar 9 '06 #2
T.
Thanks Hans for the regular scenario. How about my scenario though, I want
page H to be HTML that posts to a non-rendering ASP page just for processing

T.

"Hans Kesting" wrote:
Back in the earlier days of ASP it was easy for an HTML page (let's call it
page H) to post to an ASP page (we will call it page A), and then wire page A
so that based on what was posted by page H, transfer/redirect to either page
B or page C.
What I want to know is how does this scenio now work in ASP.NET 2.0? Do you
wire the code for determining which page to go to in the onload event handler
for page A or what?

Thanks in advance

T.


Regular scenario:
- page H is an aspx page, containing input controls ans one or more
buttons.
- when the user clicks on a button, the page posts back to itself!
- in the OnClick handler for that button you process the input,
possibly ending in a redirect to B or C

Hans Kesting

Mar 9 '06 #3
> Thanks Hans for the regular scenario. How about my scenario though, I want
page H to be HTML that posts to a non-rendering ASP page just for processing

T.


In that case it's as you thought:

In the Page_Load, read the Request to find out all posted values and
act accordingly.
Hans Kesting
Mar 9 '06 #4

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

Similar topics

4
by: Matt Graham | last post by:
ok, I have 2 classes roughly like these 2: class A; // various data classes to be used in D class B { public: void x() { y() } protected: virtual void y(); };
2
by: Lauren Quantrell | last post by:
I have created a view named viewOutput that shows one column in a table. I insert a row into the table and then I'm using this code to create a file with the text in the single row. This code...
1
by: Markus Ernst | last post by:
Hi I wrote a function that "normalizes" strings for use in URLs in a UTF-8 encoded content administration application. After having removed the accents from latin characters I try to remove all...
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
2
by: Greg W. | last post by:
In our setup project, we have the standard web application folder, but we also have 4 web custom folders (virtual directories) that are created at the same level as the web application folder...
2
by: Steve W | last post by:
I have an ASP.NET app that calls into some VB.NET components. It passes in the current application's cache (HttpContext.Current.Cache). These VB.NET components also get called by a non-ASP.NET...
1
by: Dotnet Gruven | last post by:
I've posted this in the adonet group, however it was suggested I might have better luck here.... ============================================================= I'm trying to use a typed dataset and...
3
by: Gary H | last post by:
Hi, If I were to write an application hosted webservice (ie a webservice that is contained wholly within the application) what sort of .NET technology would I use? I am writing an application...
11
by: ypjofficial | last post by:
Hello All, So far I have been reading that in case of a polymorphic class ( having at least one virtual function in it), the virtual function call get resolved at run time and during that the...
7
by: mathieu | last post by:
Hello, I did read the FAQ on template(*), since I could not find an answer to my current issue I am posting here. I have tried to summarize my issue in the following code (**). Basically I am...
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: 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$) { } ...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.