473,750 Members | 2,668 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Loading custom user controls into asp.net 2.0 wizard help

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
--
ANeelima
Oct 2 '07 #1
1 1672
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
On Oct 2, 11:32 am, ANeelima <neel...@newsgr oups.nospamwrot e:
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
--
ANeelima
Oct 3 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1629
by: Dag | last post by:
Hi all, I have a project where we use lots of user controls. We would like to move them to private assemblied custom controls but from what I see this can't be done because the .ascx file must be in the main project as a file...in other words, it doesn't look like you can add a reference to a custom created control and leverage an .asxc within it. Is this correct?
5
1068
by: Arne | last post by:
What happened to custom controls in ASP.Net 2.0? I can't get my old custom controls from Asp.Net 1.1 to work in Asp.net 2.0
2
3559
by: John | last post by:
Hi I was working fine with create user wizard and the default membership provider. I have now customised the membership provider as per attached web.config. The create user wizard picks up the custom membership provider fine and removes the security question/answer fields as designated in the custom provider. The problem is that when I try to create a new user in the create user wizard by entering the info and pressing the 'create...
12
2210
by: Joe | last post by:
Hello All: Do I have to use the LoadControl method of the Page to load a UserControl? I have a class which contains three methods (one public and two private). The class acts as a control server. It "serves" back the required control (either WebControl or UserControl) based on the contents of an xml file. The code in the webform places each control in a TableCell. My problem is that the control server works as far as returning the...
0
1104
by: Damian | last post by:
I have created a custom calendar control for use in a VS 2005 wizard, which consists of a label, a textbox and a calendar control. When I select a date on the calendar control the textbox is updated with the date. If i move to a new wizardstep and select a date on the custom calendar control and select a date on one of the custom controls on that step I lose the instance of the custom calender control on the first wizard step. I...
15
6520
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt accept other controls. The control i drag drop on it becomes the child of my custom control's parent form and not the child of my custom control. Then i added this line "" before my custom control class (i dont know what this line does). Now
0
1714
by: AndySummers | last post by:
Hi We have just re-written a majour asp.net project to use a user control embedded in a web page. The main dll references 3 other custom controls and so to deploy the project I copy the 4 dll's to the server and the web page loads the control via the <object> tag. I have also added a iexplore.exe.config file (because of another thread) where I specify that .net v1.1 should be used. (The controls have been developed in VS2003) I have also...
0
1219
by: Mr. Bean | last post by:
Hi, I'm developing a web application that will be used build and executes complex search queries against a dB. col1 operator criteria (Add) (Remove) <==== an instance of a user control col2 operator criteria (Add) (Remove) <==== another instance of user control the add and remove are used to dynamically add or remove that sepcific
3
8612
by: robbp | last post by:
Hi guys, I have a problem where i have a web page (inheriting from a master page which contains the scriptmanager control) containing a dynamically created wizard control. At runtime i add the steps from custom controls i have created, basically simulating content etc. Now - when i try to add ajax extenders to the custom controls it errors out on load and says that the controls havent been registered - have scoured the web but cant seem to...
0
9583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9396
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9342
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8263
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4716
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4888
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3323
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.