How To Handle Heavy Page

Feb 26, 2011

I have been asked to design & develop a page in asp.net which contains 7 tabs. Each table contains 2 Editable gridview & clicking on gridview cell should open a popup & that popup will open a new popup ( I would say nested popup). Even when I switch from one tab to another. It should hold the griddata & whenever user will finish all the operations he/she will click on save button which will save all the data contained in the tabs. The page is really too heavy. It will definitely take a long time to load as it contains gridview operations, popup related jobs, tab data & tab switching. I am finding the best way I can achieve this with an acceptable speed of operation.

View 3 Replies


Similar Messages:

Architecture :: Designing Heavy Page (Takes Time To Load)

Aug 17, 2010

What should be the approach while designing when you know that your page would take considerable time to load? e.g. if it has controls which are heavy & some which are lighter? Can we make use of any of the design patterns to solve this issue?

View 4 Replies

AJAX :: WebSite Performance Decreasing Due To Heavy Page Size

Apr 10, 2012

In my website for one project we have 5000+ records in sql database. If I give page size is 100 for gridview then the paze size showing 800kb in firebug net panel and it is taking 20-30 seconds to load webpage. If I give page size is 10 for gridview then the paze size showing 160kb in firebug net panel and it is taking 5-6 seconds to load webpage.  If I give page size is 5for gridview then the paze size showing 130kb in firebug net panel and it is taking less than 6 seconds to load webpage. I noticed that due to heavy paze size the performance decreasing but as per my requirent the paze size should be 100 or above and the page should be load less than 2 seconds.

Note: I am using Ajax Update panels

View 1 Replies

Web Forms :: 'Page Could Not Be Displayed' Error When Application Performing Heavy Task

Jun 23, 2010

I have set executionTimeout in web.config to 3600 (which I found out that the scripttimeout will follow this value), and in the production server, I have set debug=false, session time out = 20 min. sql command time out = 1200 seconds

However, when the application is performing heavy sql task that exceed 90seconds, I got the 'Page Could Not be Displayed' error.

When I change debug=true, the application works fine. The application also works fine when I turn off the 'Show HTTP friendly message'.

View 4 Replies

Forms Data Controls :: Faster Loading With Data Heavy Page

Aug 10, 2010

I am trying to find the best way to have a page with a lot of data from queries to a database load faster. Looking at [URL], when viewing information about a domain, I see that their page loads and each section has a loading symbol, so the page itself displays fast and the data comes when it is available. How do they do this? Update panels around each section with a call to a Web Service? Also, Google AdWords seems to do this too when you load the Ads or Keywords tabs of a Campaign.

View 3 Replies

Web Forms :: Ajax Makes Website Heavy?

Jun 1, 2010

Just wanna ask every one, does excess use of Ajax in ASP.NET makes website heavy?

If it does, then when to use and when to not use ajax control?

View 4 Replies

How To Send Email From Heavy Traffic Site

Jan 6, 2010

My question is today, i have a web system. its every we need send more than 1000 emails to system users and for their activity. its must we need send from asp.net application. so i have written common class to send email its worjing well. but when i'm use without thread it take time to send email adn re direct to thier pages. but after that i try use this

ThreadPool.QueueUserWorkItem(delegate { SendEmail(emailto, subjecttext, bodyText, IsHtmlFormat, CCEmails, BccEmails, enumSenderFrom, hasLogo); });

Its now workign well, but i have read some articles ThreadPool.QueueUserWorkItem is not good when site get heavy traffic. so what is best way to do i'm expecting expert comments to this

Here :[URL]

View 7 Replies

State Management :: Viewstate Size Too Heavy (Around 2MB)

Sep 16, 2010

I am developing a a web application of a general store where the operator has to enter the things what customer has purchased. Like daily usage item,or anything. So I have form in which I first ask how much item u wannt to register...(if he has 20-30 number of items then operator will enter 20-30 then in gridview 20-30 item are opened. With bind dropdownbox containing name of item ,then textboxs containing mrp, value, stock avail of that item. Here is the link for demo. [URL]. Problem is suppose the operator enter the value above 20, then viewstate size id about 1.50Mb that's too heavy.
[Code]....

Here is .cs code
[Code]....

View 1 Replies

AJAX :: Heavy CSS On ASP Site, Not Displaying Correctly In IE7?

Apr 4, 2010

I developed a webapp which is working great in IE8, and newer versions of Safari, Opera, Firefox and Chrome. I've noticed that there are many things wrong with the page in IE7. Resizing isn't working properly, margins aren't being set correctly. Floating within a cleared div isn't working property. My unordered lists with a display:inline are not displaying correctly.I'm just not sure where to start with this. I feel like i need to be supporting IE 7. Is this a common issue with other developers?Edit : for example....a page will with div's containing these classes does not work....TreasureContainer

View 1 Replies

How To Make Website That Response Even On Heavy Traffic Load

Aug 28, 2010

i wanted to know that how to make the website that performance never goes down even if the load is increased up to some extent rather than the general websites.

i am confusued that is this related to the database server or the coding...

View 3 Replies

DataSource Controls :: Web Application Crashing Due To Heavy Data?

Mar 13, 2010

In my application i am getting data fROM sql server 2008.It is coming from collection of nearly 12 tables. I have to fillter this data in my application and of fillter data i have to write Xml.

my problem is that to fillter i need to that retrieve data to hold in my application and to achieve this i am using the help of dataset and datatable.But most of time when i am running application ,my application getting hang and very slow OR getting crashes.

View 1 Replies

Want To Create A Webpage Which Can Handle User Events Like Page Navigation And Page Close

Sep 13, 2010

I would like to create a webpage which can handle user events like page navigation and page close. And also I would like to handle the event on server-side coding.

View 1 Replies

How To Handle Master Page Button Event In Content Page

Apr 20, 2010

My problem is this I have a base page that creates content dynamically. There are buttons on my Master Page that fire events that my base page needs to know about. But the OnLoad function on my base page fires before my Button_Command function on my master page. So I either need to figure out a way to load my base page after the Button_Command function has had the chance to set a variable or I must call a function in my base page from the Button_Command function.

View 3 Replies

C# - How To Handle All Sql Exceptions Throughout The Page

Jul 18, 2010

"I DONOT WANT TO use the default error page tachnique, because i donot want the webpage to redirect!"

yes there is the try and catch

yes there are way to add exception handling mathods overwrite for controls

but what i need is,

it may just be a simple sql command,it may be a control such as formview, it may be a control such as datagrid, whatever it may be, when an illegal entry is done into the table of the database,

"THE BIG ERROR PAGE SHOULD NOT COME!!"

instead

a label at the top of the same page (where the illegal operation is performed) should display the error like

"error caused by "this control" and the error message is "null is not allowed in this field blah blah"

View 2 Replies

Handle Page Height Dynamically?

Feb 23, 2010

I set the page height(div) 600 px. i have a grid in the page if gridview records Increases page height also dynamically change. if there is no records in gridview page height should be the 600 px default.

View 2 Replies

Configuration :: Let Each Page Handle It's Own 404 Error IIs7?

Nov 17, 2010

want my pages to handle their own 404 errors because they can suggest better alternatives for the user. Eg, a category page which produces a 404 error can suggest alternative categories etc.In iis6 this was trivial as I was able to declare statuscode 404 and everything worked out well, but in iis7 I was getting the IIs' 404 error page.Adding this:

[Code]....

I get a different 404 error page but still produced by iis7 itself ("The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.").

View 1 Replies

C# - Handle Page Event In The Detail View?

Aug 9, 2010

Using C#

Table

ID Name

001 Raja
002 Ramu
003 Ravi
004 Sajuee

Detail View Code:

<asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" Height="50px" Width="125px" AllowPaging="True" EnableViewState="False">
<Fields>
<asp:BoundField DataField="ProductName" HeaderText="Product" SortExpression="ProductName" /> <asp:BoundField DataField="vehiclename" HeaderText="Category" ReadOnly="True" SortExpression="vehiclename" /> <asp:BoundField DataField="platecode" HeaderText="Supplier" ReadOnly="True" SortExpression="platecode" /> <asp:BoundField DataField="inscom" HeaderText="Qty/Unit" SortExpression="inscom" /> <asp:BoundField DataField="inedate" HeaderText="Price" SortExpression="inedate" /> </Fields>
</asp:DetailsView>

When i run the code, Details View is Displaying First ID, First Name from the table.

Detail View Displaying like this

ID 001

Name Raja

Link: 1 2 3 4

But when i click the link2 it showing errors as "The DetailsView 'DetailsView1' fired event PageIndexChanging which wasn't handled."

Details View is not displaying all the data.

View 1 Replies

C# - Handle All Errors/messages In One Place On Page?

May 7, 2010

On my site I put things in Web user controls. For example, I will have a NewsItem Control, an Article Control, a ContactForm control.These will appear in various places on my site.

What I'm looking for is a way for these controls to pass messages up to the Page that they exist on.

I don't want to tightly couple them, so I think I will have to do this with Events/Delegates. I'm a little unclear as to how I would implement this, though.

A couple of examples:

1: A contact form is submitted. After it's submitted, instead of replacing itself with a "Your mail has been sent" which limits the placement of that message, I'd like to just notify the page that the control is on with a Status message and perhaps a suggested behaviour. So, a message would include the text to render as well as an enum like DisplayAs.Popup or DisplayAs.Success

2: An Article Control queries the database for an Article object. Database returns an Exception. Custom Exception is passed to the page along with the DisplayAs.Error enum. The page handles this error and displays it wherever the errors go.

I'm trying to accomplish something similar to the ValidationSummary Control, except that I want the page to be able to display the messages as the enum feels fit.

Again, I don't want to tightly bind or rely a control existing on the Page. I want the controls to raise these events, but the page can ignore them if it wants.I'd love a code sample just to get me started.

I know this is a more involved question, so I'll wait longer before voting/choosing the answers.

View 3 Replies

Handle Querystring With JQuery Or In APSX Page?

Feb 16, 2011

I have the following querystring (where kvks is dynamic):

http://api.openkvk.nl/json/SELECT bedrijfsnaam FROM kvk WHERE kvks = 27312152 LIMIT 1;


If you execute this querystring, it will return json data.What is the best approach to handle this? I tried it in this way, but nothing alerts

url.append("http://api.openkvk.nl/json/SELECT bedrijfsnaam FROM kvk WHERE kvks = ");
url.append(Dossierno);
url.append(" LIMIT 1");[code]....

If yes, how can I send a querystring and return the json object on the getaddress aspx page?

View 2 Replies

Web Forms :: Create One Subroutine To Handle All Deletes For Page?

Mar 5, 2011

I am trying to create one subroutine that can handle all deletes for a web app. I have one delete popup panel in my master page, and I call it each time from my content pages. When an instance of delete is called from a content page, I store the name of a delete subroutine specific to the delete instance in a session variable and popup the delete panel in the master page. If a user types YES into a delete textbox in delete popup panel, a confirmDelete Subroutine in codebehind of the Masterpage is called. When the confirmDelete subroutine in the Masterpage is callled, I want to call a subroutine in the content page that has the name stored in the session variable. What is the simplest way to do that?

View 1 Replies

Web Forms :: Handle Lots Of Drop Down Lists On 1 Page?

Mar 22, 2011

I have a page that has a data grid and about 25 drop down lists.The datagrid displays Name and has an id col not visible. I was thinking that whan the user selects the select link button on the grid to then get all the data for all the ddl and populate the list and select the value or multiple values for that specific name that was selected. Thinking of it seems more like i should populate all the ddl and when a grid name is selected only get the keys for that specifc record and then mark the ddl items per that name. there are lots of ddl and lots of data, im not really sure the best way to proced. Any ideas appreciated.
I have a table with id typeId and Name that contains all of the data for the drop down list (different types of service providers , (plumbers, elec)I was thinking of selecting everything from that table and then in the page applying a filter by service provider type and using that to populate the ddls.

View 2 Replies

Web Forms :: URL Routing - Route To Aspx Page To Handle Processing?

Aug 20, 2010

I am able to route my urls to an existing page. Here is how our scenario is currently working:

On Default.aspx, we have several links that link to pdf files on the server. The filenames of these files change dynamically which is why we need the url routing. When the user clicks on of the urls, the link is routed to the getFile.aspx page that has logic in it to determine which file to open.

Is there a way to have the getFile.aspx page to open in the same window as the default.aspx page?

Otherwise, I need for the getFile.aspx page to close after the intended processing is complete, and I've not been able to close it without getting the close window dialog box. I figure if it opens in the same browser window, I can redirect back to the default.aspx page when processing is finished.

View 1 Replies

How To Handle Dynamic User Control Events In Aspx Page

Oct 28, 2010

I have an aspx webpage in which an user control is added dynamically as follows:

UserControl testUsrControl = LoadControl("TestUsrControl") as UserControl;
testUsrControl.ID ="test";

Then I tried adding an event handler of user control inside aspx like below:

testUsrControl.Drpdatafield_SelectIndexChanged += new EventHandler(this.Drpdatafield_SelectIndexChanged);

But this line is giving error at **testUsrControl.Drpdatafield_SelectIndexChanged **. The error is "Drpdatafield_SelectIndexChanged" doesn't exist in UserControl.How can get the testUsrControl's events inside aspx page dynamically.

View 1 Replies

Exceptions - Catch In Page Or Handle In Global.asax (Application_Error)

Jan 27, 2011

Looking for best practice focused answers here with explanations.

Should the presentation layer of an ASP.Net app catch and handle exceptions thrown from the business layer, or should these be allowed to bubble out, where they can all be logged and handled uniformly in the Global.ascx's Application_Error handler?

[code]....

View 2 Replies

MVC :: Multiple Forms On The Same Page / How To Handle (including Validation From Model)

Jan 12, 2010

It should be simple; although I'm having a hard time to figure out the best way to do it. I've MVC2 pages with multiple forms on the same page having different functionalities.

What's the best way to handle this; including the MVC2 way of validation from the model?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved