A Web Page How-To question


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: A Web Page How-To question

  1. #1
    WEB1110 Guest

    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



  2. #2
    Itai Raz Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center