It's certainly possible to achieve this on the client side, but not using
server-side controls and properties (such as "visible"). Since you aren't
willing to do a roundtrip to the server (postback), you'll need to use
javascript. I use something like that on my own webpage, it's pretty
straightforward (assuming you know some javascript and DOM) so feel free to
take a look. The "Books" tabs in the bottom right uses it (the rest does
round trips to the server). If you scroll down to the source you'll see the
tabs, the contains and the content, along with the SetContent javascript
call
http://openmymind.net/ http://openmymind.net/script.js
Cheers,
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Steve Commisso" <to***********@hotmail.com> wrote in message
news:ee**************@TK2MSFTNGP14.phx.gbl...
I'm working with the following scenario:
I'm building a wizard. Each 'step' of the wizard is its own User Control
page. I'm trying to minimize the 'round trips' (e.g. runat=server) I
make to the server so I want to try to do the following:
When the user clicks the 'next' button on one user control, that control
disappears and the next 'step' in the wizard appears.
So to dothis, I load all of the User Controls as web parts, and then
possibly set the .Visible property on them to make them disappear -- but
for this to happen on the client side.
Is it feasible? Does anyone have another, more efficient way, of doing
this?
Thanks,
-----
Steve Commisso
*** Sent via Developersdex http://www.developersdex.com ***