Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Loading custom user controls into asp.net 2.0 wizard help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ANeelima - 02 Oct 2007 16:32 GMT
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
Signature

ANeelima

Mike Placentra II - 03 Oct 2007 01:11 GMT
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

> I am using the asp.net 2.0 wizard with 5 steps and would like to do the
> following:
[quoted text clipped - 14 lines]
> --
> ANeelima

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.