Loading custom user controls into asp.net 2.0 wizard help

G

Guest

I am using the asp.net 2.0 wizard with 5 steps and would like to do the
following:

Load a different .ascx (control) into each of the 5 steps

I can load them fine but I notice that every time I navigate between steps,
the entire UI 'flickers'.

By debugging the problem, I noticed that the page_load event for each of the
controls is called each time I click 'Next' or 'Previous' in the wizard
instead of just the control that got loaded into that step. Perhaps this
posting back to server each time is triggering the 'flicker'. I am not sure.

Any help/feeback will help!

Thanks
 
M

Mike Placentra II

That's normal, it should post back to the server to change pages
unless you are using AJAX.

You can put the entire wizard in an UpdatePanel from the ASP.net AJAX
Framework ( http://www.asp.net/ajax/ ) to have it load independently
of the rest of the page when postback is caused from within it
(changing pages). Then it shouldn't "flicker", but as another averse
effect it may not respond to page changes immediately and not inform
the user that it is loading (should be quick enough in most cases,
though). There is another control, the UpdateProgress control, which
can inform the user that it is loading.

-Michael Placentra II
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top