MVC :: Asynchronous Ajax Partial Loading - The Page Load Slow

Feb 20, 2011

I have a MVC view using the following VM.

[Code]....

Currently the page load slow. I am thinking of using JQuery load and render List<A> and List<B> separately and asynchronously. Can I still use MVVM pattern? Or I had to create to controller methods returning List<A> and List<B> separately?]

View 2 Replies


Similar Messages:

JQuery :: Asynchronous Partial Page Loading? How To

Jul 7, 2010

I have a CRUD type page, where the user can modify an object

This page also has a JQuery Treeview (Async) , id like update part of the page depending on what the user clicks on the tree

Because its async, any postback will cause the tree to collapse - so ill like to have the ability to update the page partially

View 2 Replies

MVC :: Partial Page Loading Slow In A View Page?

Feb 12, 2011

I am developing an application in asp.net mvc 2.0.In my view page i am rendering five partial views.While loading view page it very slow with partial views.if i remove the partial pages it loading very fast.How to improve the performace of partail pages while rendering.

View 2 Replies

User Controls Is Very Slow In Loading Page (AJAX)

Aug 23, 2010

I have an .aspx page with multiple .ascx (User Controls on it). One of the User controls is very slow in loading (calls a very slow webservice for the data.). Now, my question is how to render all the controls on the page (so the User can view those) and have a rotating icon for this control (slow one) (till it loads). I know, I need to bring AJAX into picture, but any clarification on that would help as I will be new to AJAX programming.

View 4 Replies

AJAX :: HoverMenuExtender Flickers And Hides On Slow Loading Page

Jun 16, 2015

I have a gridview in which I use HoverMenuExtender to display gridview's respective row value. It is working very fine in my development PC. But after deployment of this web project in hosting site, this hovermenuextender displaying it PopupControl in webpage for very long time in slow internet connection.

View 1 Replies

MVC :: Asynchronous Partial Rendering In View Page

Nov 24, 2010

What is the best way to build a progress page? In short, I want a user to complete a series of "setup steps" and hit a "Start" button. I would like them to be immediately redirected to a "Progress" page that will show them the progress of each step. In my case these would be: Shutdown device, copy file, Start device.

My approach so far is to build a Progress View page and use partial views. Here is what I have so far. I would like the Progress page to show up right away even if the ShutdownStatus View has not finished rendering. At some point, I plan on including a progress bar but right now I'm just curious as to how I can show the Progress page immediately then show each partial View as it completes.

[Code]....

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

View 8 Replies

MVC :: How To Make An Ajax Call For A Partial View On Page Load

Dec 6, 2010

I have a list of items that loads when I call the page controller and I have an Ajax.BeginForm that calls the same (Index) Action. If the Action sees that it's an Ajax request (Request.IsAjaxRequest()) then it returns a partial view. I even have a div that contains a message about the results loading. That all works fine, but my results can sometimes take awhile and I'd like to hit the page first and then make the Ajax request so the user sees the page quickly and sees the "loading" message. I know I could click my filter button (triggering the ajax call) using jquery on document.ready, but is there a more MVC way to do this?

View 4 Replies

Forms Data Controls :: How To Asynchronous Loading On A Web Page

Jul 1, 2010

I have a scenario where I have two data grids (both dynamic) to be loaded onto a page. However, the data that needs to be shown on one of the grids has no dependence on the data of the other grid. So, when fetching the data, I want to fetch it in an asynchronous manner and bind that data to each of the grids individually. Currently we have a code like

GetData(ForGridOne) ;
GetData(ForGridTwo);

I want to make these calls asynchronously so that in order to load the page, the time taken would be lesser. What should be the ideal way to go forward with this ? One more thing, we would be hosting the application in a portlet which doesn't support AJAX.

View 1 Replies

AJAX :: Looking For A Good Guide To The Asynchronous Loading Of Data From The Database?

Mar 24, 2010

Looking for a good guide to the asynchronous loading of data from the database after 2 seconds from the page_load.I need a method that does not burden the operation site!

View 18 Replies

Page Loading Process Very Slow

Jun 3, 2010

i hit a case when my page loading is very very slow. I have find out that my page is slow for no reason. The read data process from database is fast and all the server code execute quite fast. The problem is the page loading process is slow, very slow. I am thinking one of the possible cause is jquery itself.

View 3 Replies

AJAX :: Asynchronous File Upload With Update Progress Using Loading Gif Image And Use Ajaxtoolkit 3.0

Apr 22, 2010

my application is running in visual studio 2005, i used ajax control toolkit for .Net framework 2.0.but now i want to use ajaxcontroltoolkit latest version which is for .net framework 3.5 in my application which is running on .net framework 2.0 and visual studio
2005.how to integrate or use ajaxcontrol toolkit ?because i have some functionality like there is one file upload control and when click button it will take 2 to 3 min for upload so
i need progress bar with loading gif file.because of asynchronous postback fileupload control has not file.so i must assign postback trigger to button if i assign postback trigger to button than loading gif or progress bar not working.so i want to use AsynchFileUpload control of newly release toolkit.

is there any way to do it? or any other way.my client also not want to switch over it's application from 2005 to 2008.My code is below

<asp:UpdateProgress ID="uppr" AssociatedUpdatePanelID="up" runat="server">
<ProgressTemplate>
<div id="IMGDIV1" align="center" valign="middle" runat="server" style="position: relative; display:none; [code]....

View 1 Replies

AJAX :: Asynchronous Data Load In Dropdownlist?

Aug 20, 2010

first i'll describe my problem:

I have payment form with a clients dropdownlist that is populated from a database on form load with:

value field = clientIdtext field = nameId
<asp:DropDownList ID="selClients" runat="server">
</asp:DropDownList>

When user makes a payment, it's necessary to chose a client from selClients, and so i get the clientsId value and build my insert SQL query.

Until here, no problems.

The problem with my UI has started since i had a lot of clients been registered: My dropdownlist became huge and it's taking too much time to load it's contents on page load. Also the dropdownlist area is taking a large area from page screen.

So i tryied a solution with jquery autocomplete plug in. I put a textbox with autocomplete for client name and another hiddenfield to receive the clientId when user select a item.

That solves both problems:

No more large amout of data loaded on page loadThe dropdownlist doesn't take a large area from page screen
But it gave me another problem!

With a textbox, there is a possibility for wrong input client name. So if i don't have a valid clientId in hiddenfield, it will generate a database INSERT exception because it doesn't respect the client table constraint:

payment table REFERS client table

I'm trying to find kind of dropdownlist where the user can type text with autocomplete. Like this, the user will be able to select only data within the possibilities of the dropdownlist and i always will have a valid clientId.

View 3 Replies

Slow Initial Page Load

Jan 22, 2010

I'm writing a simple web site using codebehind for each page, however using the "codefile" directive, not "codebehind" as such, because I'm not precompiling. I'm just using a text editor to edit the aspx and codebehind files. Problem is, every time I make a change to the code or the aspx file, and refresh the page in the browser, it takes a 2 or 3 seconds to come up the first time, like it's doing an on-demand initial compile. I assume that's what it's doing, as after the initial load, the page refreshes without any delay at all.

This behaviour is quite frustrating when making small changes to the html or code. I'm coming from classic ASP, where you could edit-refresh-edit-refresh etc. all day without your "stride" being broken by waiting for a "compile", you know? So I'd love to know if there's a setting which prevents this initial delay. When I want to deploy, I can do a compile or something, but while making lots of small edits, I just need the page to run without that initial delay.

View 6 Replies

Web Forms :: Page Load Very Slow?

Sep 21, 2010

I've developed a web page Client.aspx that is used for editing a client. This application has been deployed and I made sure that debug='false'.Upon selecting a client from the dropdownlist, his/her information is retrieved for editing. This retrieving process is very slow( about 9 seconds).Except this DropDownList, all the other controls on this page are within the Update Panel. There are 2-3 other Update Panels within the main Update Panel.

When a client is selected from the DropDownList, the Client_ID (DataValueField) is used to retrive the informationSELECT * FROM CLIENTS WHERE Client_ID=1576
This method returns a dataset.In the calling method I'm assigning these values to the respective fields.Some JavaScript is used for validating Phone#.I also have a RadioButtonList on this page. When one of the ListItem is selected I need to disable a TextBox. Even this process is taking much time than expected.

View 4 Replies

AJAX :: Using Pages Extremely Slow Load?

Feb 18, 2010

So i'm new to AJAX and just installed the AJAX toolkit.

When i have tried to used any of the object there my page are really slow, it like the server is forever to compile the site and when that is done the browser shows it in a flash.

You can see here :

[URL]

This is not a problem when using only ASP.NET.

When i debug in VS2008 i can see that is looking for some random files when compiling like C:AjaxBuildAjaxServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs and alot of other stuff, it goes through alot of setting there and i think that is the hold up, why it's so slow.

I have Sp1 installed, running Windows 7 64bit.

These pages are very small and standard. I basicly drag a toolkitscriptmanager, htmleditor, textbox and two buttons to the form. There isnt more.

This is the code for the first page :

[Code]....

The host has AJAX support and has installed SP1 for .NET.

View 8 Replies

AJAX :: ComboBox Load Slow On Postback?

Feb 23, 2011

I have a situation where I need to have close to 30 drop down lists on one form. The user also wants the autocomplete functionality. I decided to use the ASP.NET AJAX control. So that the page will load faster I hide them until they are needed. But, as more and more become visible the postback time is getting longer and longer.

I know this can be fixed, but I'm not sure how. Can anyone give me any advice, point me to some articles? Do you have a suggestion for another method of doing what I need? Maybe, I shouldn't even be using ComboBoxes for this?

View 2 Replies

Dropdown List Load Very Slow Using Ajax

Sep 20, 2010

my page contain a dropdownlist which binding many list of data with no categories. While refresh in one update panel is very slow.

View 4 Replies

Performance - Slow First Page Load On Site?

Jan 20, 2010

Every now and then (always after a long period of idle-time, e.g. overnight) when I access a site built using asp.net - it takes around 15 seconds to load the page (15 seconds before I see any progress whatsoever, then the page comes up fast).Further pages on that site, or refreshes, are quick as usual - they are also fast on other machines, only the first one seems to take the 'hit'.

Page tracing never through anything up (whole cycle was a fraction of a second) So my question is where else should I be looking? Perhaps IIS? Or could it still be my asp.net app and I'm just looking in the wrong place (the trace) for clues?As I don't have much control over the IIS server, anything I can check through asp.net would be more helpful, before I go ask that particular admin.

View 7 Replies

Configuration :: First Page Load Incredibly Slow?

Sep 3, 2010

The first time that my page loads (this is after it has been deployed), it is terribly slow.

My guess is that it is still compiling dynamically, and not precompiling.When I publish through VS2008 I have "Allow this precompiled site to be updatable" unchecked and "Use fixed naming and single page assemblies" checked.Could I be missing something in my web.config file?

I can post the URL of the site if you would like to view it, but it takes 10+ seconds to load upon first visiting, and then less than 1 second to navigate the site.

View 3 Replies

MVC :: How To Make Client Side Validation When Loading Partial View In Page Using Jquery

Jul 8, 2010

I am returning partial view

[Code]....

before begin form.

the problem is that when I click save the first time with wrong data the validation not working but it is working the second time I click save.

View 10 Replies

How To - Partial Page Load

Jan 31, 2012

I'm trying to build an igoogle like interface and I can get it to work, but my data for the panels loads to slow which makes the complete page load way to slow. So I need a way to load the page and then start loading panels individually. I looked at update panels but they seem to only work when post back occurs. I need a way to load the page by piece from the first time the person comes to the site.

View 8 Replies

Can Large External JavaScript Files Slow Down The Page Load Time

Aug 4, 2010

When we include Javascript files in our aspx files. either we write all the Javascript code in the Head section of aspx or we link to an external Javascript file.

So when the clinet makes a call to that page. Does that mean that all the Javascript will be loaded on the client side?

If that is the case then does not that mean that it will slow down the loading of page as all the Javascript has to be loaded on the client machine?

View 3 Replies

Configuration :: Slow Initial Page Load Speed And Compile Settings

Dec 8, 2010

Over the last week I've been investigating an issue for one of our clients whereby the initial page load following a deployment of their website takes around 1 minute, resulting in unacceptable downtime for end users. This was happening not only for code deplyments (bin dll's and .config files) but also if there were large numbers of .aspx pages updated. For code deployments it's not an issue, but for aspx updates it is; in this particular scenario, we are making use of a 3rd party content management system (RedDot from OpenText) in which every page of the site is published out as a distinct .aspx page. This means that for this website there's somewhere in the region of 2,400 separate .aspx pages. I realise this isn't an ideal situation but we're working within the constraints of the CMS, and we managed to correlate the instances where the site was unresponsive with App pool restarts, which also corresponded to publications of of .aspx pages.

I found an article by Tess Ferandez [URL] which describes all the reasons why the app pool may restart, and it does seem that if more than 15 .aspx pages are changed then the app pool will recycle and the pages will be re-compiled. Another msdn article [URL] then gave me a few pointers on how to start addressing this problem, and for the moment I've set a flag on the compilation options to prevent batch compilation:

<compilation batch="false">

This means that the initial page load now takes around 6 seconds instead of 1 minute, which is a great improvement. However, I also used the "Compilations Total" performance counter to investigate the number of pages that have been compiled by ASP.NET for my site and was quite surprised that the total number of pages that get compiled peaks at 44, which is odd given that there are 2,400 aspx pages in the site. If the batch flag is set to false, the counter slowly increments by 1 page at a time as you click around on the site; if batch mode is true, the initial compilation takes the number straight to 44 over the course of ~60 seconds. What I'm really struggling to understand is why all 2,400 pages aren't compiled. Does anyone have any inside info on what might be going on as all the documentation I've read seems to indicate that all of the pages should be compiled and this counter should be much higher.

View 1 Replies

AJAX :: Display Light Box Loading Image On Page When Update Panel Is Loading

Mar 6, 2013

I have update panel on the page to avoid postback and placed a dropdownlist control within that update panel. DrodownList is filled with Category names and also it's autopostback set to True.

Now whenever dropdownlist index change's on select, untill page loads complete  data it should show mesage as "Loading.... in center and middle of the page and background should become bit transparent". And when page load completely with data then that background and message should get disappear.

View 1 Replies

Security :: IE 6 - Information Causing Partial Load Of The Page?

Mar 11, 2010

I have a website where different comapny and users can login. Till now I have not seen any issue on IE 6. But in case of one account, when try to login the website, users are getting security information "This page contains both secure and non-secure items.

I can reproduce the same easily for the same customer but not happening for any other customer. I have "ReportViewer" control (gets rendered as iframes) on the page.

In this scenario, whether user selectes "Yes" or "No" button, the home page with charts loads 30% and other controls remains invisible. Though I see same out in "View source" for this and other customers. We dont change anything much then the data and charts for the users. We use https for this website and has few links with "http" in page. But then this is same for all the users, but it happens only in case of one customer.

View 2 Replies







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