-
A Web Page How-To question
Hi y'all,
A reminder, I have an outstanding question posted for which I have been
unable to find an answer regarding the web TreeView control..
Here's another one I for which I haven't found an example. Lets say I have
a web page with a form to fill out. When the data is complete and a submit
button is pressed, the postback occurs, the code behind verifies the data
and responds with a web page other than the one containing the form.
Exactly how do I issue a response with a diferent web page? I'd appreciate
some pointers.
Thanx,
Bill
-
Re: A Web Page How-To question
A couple of ways to go about that, and you need to choose the one that fits
you the most.
One way is to have your codebehind actually generate the page
(response.write still works), and so you can render any page that you like.
Another way, which is probably better if the response page is completely
different from the page before it is to use server.transfer or
response.redirect, depending on what it is exactly that you're doing.
Server.Transfer works better in a load balanced environment.
Good luck,
--itai
"WEB1110" <wbrandley114495@comcast.net> wrote in message
news:3e5c0394@tnews.web.devx.com...
> Hi y'all,
>
> A reminder, I have an outstanding question posted for which I have been
> unable to find an answer regarding the web TreeView control..
>
> Here's another one I for which I haven't found an example. Lets say I
have
> a web page with a form to fill out. When the data is complete and a
submit
> button is pressed, the postback occurs, the code behind verifies the data
> and responds with a web page other than the one containing the form.
> Exactly how do I issue a response with a diferent web page? I'd
appreciate
> some pointers.
>
> Thanx,
> Bill
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks