473,386 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Ascx and panels - Help

Hello all and thank you for your time. I have an application that I
have just taken maintenance over from a consulting firm. The
application uses a lot of user controls and panels to control
information. I see that when the page is loaded (aspx), it loads all
the user controls(ascx) as well. The problem I'm seeing that when the
user goes to a different panel (pnlMain.visible = true), the main page
is reload which causes all the user controls to reload. The is causing
many unneccessary calls to the server and time issues. How can I speed
up the process (I am checking Page.IsPostBack) and cut back on calls to
the server?

Sunshine

Apr 25 '06 #1
1 1335
Have it dynamically load only the Panels it needs. While this doesn't cut
down on the number of round-trips to the server (not a big deal) it does cut
down on the processing and memory useage on the server (big deal).

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

"Sunshine" <su************@yahoo.com> wrote in message
news:11**********************@t31g2000cwb.googlegr oups.com...
Hello all and thank you for your time. I have an application that I
have just taken maintenance over from a consulting firm. The
application uses a lot of user controls and panels to control
information. I see that when the page is loaded (aspx), it loads all
the user controls(ascx) as well. The problem I'm seeing that when the
user goes to a different panel (pnlMain.visible = true), the main page
is reload which causes all the user controls to reload. The is causing
many unneccessary calls to the server and time issues. How can I speed
up the process (I am checking Page.IsPostBack) and cut back on calls to
the server?

Sunshine

Apr 25 '06 #2

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

Similar topics

4
by: BBM | last post by:
I'm trying to set up a form with two panels divided by a Splitter control. I can make the Splitter work in the situations described in the documentation (Listbox or TreeView on left w/Dock set to...
6
by: Quentin | last post by:
I need to import an *;ascx, as an object, in my class, that is in myclass.vb. How can i do ? i saw the method LoadControl but i can't use it, or maybe i did wrong, if could help me it would be very...
2
by: Chad A. Beckner | last post by:
Hey all, I have a ASP .NET webpage which contains several panels. When I click a button on the first "panel" page, it postsback to the same page, and I switch the visibility of the panels...
2
by: Martin | last post by:
Hi, I want to create a number of ascx controls with edit and view modes. Previously I have put two panels in the ascx - one for view (with label subcontrols), and one for edit (with text box...
2
by: Michel | last post by:
Hi folks, Little questions: I need to load different aspx and ascx files, depending on user settings. The files are all identically (the pages contains the same asp components) , except some...
3
by: Sue | last post by:
I have created a web user control containing a web calendar (among other controls) that is shown/hidden when the user clicks an imagebutton. I've used SPAN tags to show/hide the calendar. I need to...
0
by: aarepasky | last post by:
I am using ASP.NET 2.0 and C#. I am creating a page with multiple panels on it. In the panels are user controls that have the screen layout to input data. I only show one panel at a time by...
1
by: koraykazgan | last post by:
Hi all, I have a user control (ASCX). In that user control there is a panel, and inside that panel there is a textbox and a button. The panel has a DefaultButton property set, which is set to the...
3
by: Andrea Gasperi | last post by:
Hi there not sure if this is the right place but i'm proud to use for the first time the "Managed Newsgroups" feature of my brand new MSDN subscription :-) So here is the problem. I've...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...

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.