PDA

View Full Version : how do i ...


skat
12-21-2007, 09:12 PM
i am making a website and i want pieces of information on the page to appear at different times. for example, when a user clicks on a page, 3 pieces of information appear one after the other and finally they all remain on the page ... does anyone know how to do this using asp.net with visual basic

hope that makes sense thanks,

Philip M
12-22-2007, 12:33 PM
Double posted - this is contrary to forum rules.

1.2) Do not crosspost- CodingForums.com is divided into various categories. When initiating a thread, always locate the most appropriate category, and post your question only ONCE, in that category. Do not post the same question in multiple categories.

SouthwaterDave
12-23-2007, 02:53 PM
I don't fully understand your question, but I will try to cover most options:

The easiest option is to have 2 (or more) pages. When the user enters his data and clicks the Submit button the Submit button handling code on your page would then redirect to the page that can best provide the information you wish to show the user.

A variation of this would be to use a Wizard control. The next step shown to the user can be determined within your code depending on the user's selections, rather than just moving through a set sequence.

If you want the user to make his selection and for the page to dynamically update then you will need AJAX. Basically some client-side JavaScript in your page must pretend to be a browser, make a request for a page, and use the response to dynamically rebuild what the user sees.