473,803 Members | 3,913 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

stop page loading

Gav
is it possible to put something in the pageload event to stop the page
rendering the rest of the page. or to tell the browser to execute the html
that it already has instead of wating until the page has finished loading?
Nov 15 '05 #1
2 6137
are you talking of the Page.Load event?

If so you can always call Response.End to finish the current execution,
take a look at HttpResponse.En d method in the doc.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Gav" <sp**@spam.co m> wrote in message
news:OK******** *****@tk2msftng p13.phx.gbl...
is it possible to put something in the pageload event to stop the page
rendering the rest of the page. or to tell the browser to execute the html
that it already has instead of wating until the page has finished loading?

Nov 15 '05 #2
Gav
Thats exactly what I was looking for thankyou. I didn't think to look in the
Repsonse methods.

Cheers
Gav

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > wrote
in message news:eQ******** ******@TK2MSFTN GP11.phx.gbl...
are you talking of the Page.Load event?

If so you can always call Response.End to finish the current execution,
take a look at HttpResponse.En d method in the doc.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Gav" <sp**@spam.co m> wrote in message
news:OK******** *****@tk2msftng p13.phx.gbl...
is it possible to put something in the pageload event to stop the page
rendering the rest of the page. or to tell the browser to execute the html that it already has instead of wating until the page has finished loading?


Nov 15 '05 #3

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

Similar topics

0
1370
by: Adrian Stovold | last post by:
I've written an ASP.NET application in VB.NET. It works fine on all Windows platforms and browsers, but there's a problem on the Mac version of IE (v5.1.5) running on Mac OS 9.2. I can reproduce the problem as follows: In my application I have two pages. Page 'A' lists records from a database. I click on the link to the first record and it takes me to Page 'B', where I can edit the record. I wait for Page 'B' to finish loading. Then,...
2
2095
by: Geraldine Hobley | last post by:
Hello, In my application I am trying to load up some forms, however the loading of the forms is causing a lot of flickering. Are there any commands that can stop showing the repainting of the forms and thus make for a smoother running application. mdiClient.DkManager.LoadConfigFromFile("c:\alpine\aims\QuoteHistoryconfig.xml") mdiClient.ActiveForm.Controls.Add(mdiClient._filler) 'Controls.SetChildIndex(_filler, 0)...
1
4078
by: HC | last post by:
Hi all, Can Javascript be used to stop loading in another frame? I'm writing a script that does the following: 1) Start loading a page in another frame 2) If after 10 seconds the page hasn't loaded, timeout. The best I've got so far is "if after 10 seconds the page hasn't loaded,
5
11232
by: Amit | last post by:
Hello, I have a simple search screen, with two drop-downs and a text box. There's also a GridView control that is using a SqlDataSource control to show the matching results. The SqlDataSource uses the control values in its query as parameters. Two questions: 1. When the Find button is clicked, how do I tell the GridView to load the data? 2. How do I stop the GridView from data binding when the page first loads? I don't want to...
4
8052
by: Chris Moltisanti | last post by:
Hi, I am executing a piece of javascript that does some intensive processing (sorting large tables). This can take a good few seconds so I have an animated gif as a progress bar to let the user know that something is happening. However, the GIF does not animate when the javascript is processing. Anyone know why? I am aware that animated GIFs stop animating when a page is loading, but I am not loading the page here.
4
52563
dmjpro
by: dmjpro | last post by:
i want to stop loading page after loading starts ... using js how can i do it thanx in advance
10
1953
by: x.meglio | last post by:
I'm looking for simple class to get web-page with some members to control execution: 1. string Get(string URL) - just get html-page 2. bool Busy - return true while object loading resource 3. Stop() to stop execution There are problems to use HTTPWebRequest.GetResponse as it lock main thread. any ideas?
2
7182
by: adiel_g | last post by:
I added a user control to a webform in Asp.net 2.0. I am also adding several other user controls to this webform. Now I am trying to find a way to stop the user controls from loading up when I call the webform. I could possibly have 10 user controls in this page and I would not want all of them to load up. I would like to control which user control loads up. I have tried placing each user control in a separate placeholder and then...
1
2327
BeemerBiker
by: BeemerBiker | last post by:
I am using CancelAsyncPostback in an attempt to stop a page from loading. It actually works (the page wont get a postback) but the server keeps running, processing data I dont want processed until it gets done with a task I really didnt want done because I didnt realize how long it took I tried adding a button to do a server transfer to "./Default.aspx" but it only transfered AFTER the processing was complete. what I tried that didnt work...
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10548
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...
1
10295
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
10069
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...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6842
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
5629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4275
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
2
3798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.