Hello,
I have created an asp.net web page with 3 datagrids. Every datagrid
binds to a diferent sql query, against a sql server. I first bind
one, then the other and then the last, all using code on Page_Load
event.
When I load this page, the navigator doesn't show anything until the
page load finish. Then I can see the results of the 3 datagrids.
What I want is to bind the first datagrid, show the results and
continue binding the second one, show the results and bind the
third.
In CLASSIC ASP I used Response.Buffer =true at the beginning of my code
and Response.Flush every time i wanted to show the results. I've
tried to use this commands with asp.net but it doesn't function.
Is it possible to do this? How?
Thank you very much.
Jc
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
---------------------------------------------------------- http://www.usenet.com 3 2547
nope what you want to do is not possible...
you are binding the datagirds in page load event and you want to render them
at one at a time so that user can see some data...
but webcontrols are not rendered untill page_load is finished... any if any
events are handled. It is at this point that render is called.. and one of
the calls it
rendering the child objects.. this is where actual data is written to the
response.output stream
you only other option is to not use datagrid rather use classic
Response.Write and output your own html for the grid generation (table like
we used to use in classic asp)
(or what you could potentially do is reduce the amount of data that is
fetched... use paging... query only for records you need (custom paging)
even resort to caching if it helps..
--
Regards,
HD
"jcfilth" <jc*****@navega lia-dot-com.no-spam.invalid> wrote in message
news:40******** **@Usenet.com.. . Hello,
I have created an asp.net web page with 3 datagrids. Every datagrid binds to a diferent sql query, against a sql server. I first bind one, then the other and then the last, all using code on Page_Load event.
When I load this page, the navigator doesn't show anything until the page load finish. Then I can see the results of the 3 datagrids.
What I want is to bind the first datagrid, show the results and continue binding the second one, show the results and bind the third.
In CLASSIC ASP I used Response.Buffer =true at the beginning of my code and Response.Flush every time i wanted to show the results. I've tried to use this commands with asp.net but it doesn't function.
Is it possible to do this? How?
Thank you very much. Jc
Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** ---------------------------------------------------------- http://www.usenet.com
Thank you very much, Hermit Dave, now I understand. Hermit Davewrote:
nope what you want to do is not possible... you are binding the datagirds in page load event and you want to
render them at one at a time so that user can see some data...
but webcontrols are not rendered untill page_load is finished... any
if any events are handled. It is at this point that render is called.. and
one of the calls it rendering the child objects.. this is where actual data is written
to the response.output stream
you only other option is to not use datagrid rather use classic Response.Write and output your own html for the grid generation
(table like we used to use in classic asp)
(or what you could potentially do is reduce the amount of data that
is fetched... use paging... query only for records you need (custom
paging) even resort to caching if it helps..
--
Regards,
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
---------------------------------------------------------- http://www.usenet.com
You might want to check out this technique:
Progress Bar in Web Application http://www.myblogroll.com/Articles/progressbar/
and this one: http://www.ddconsult.com/blogs/illum...es/000089.html
"jcfilth" <jc*****@navega lia-dot-com.no-spam.invalid> wrote in message
news:40******** **@Usenet.com.. . Hello,
I have created an asp.net web page with 3 datagrids. Every datagrid binds to a diferent sql query, against a sql server. I first bind one, then the other and then the last, all using code on Page_Load event.
When I load this page, the navigator doesn't show anything until the page load finish. Then I can see the results of the 3 datagrids.
What I want is to bind the first datagrid, show the results and continue binding the second one, show the results and bind the third.
In CLASSIC ASP I used Response.Buffer =true at the beginning of my code and Response.Flush every time i wanted to show the results. I've tried to use this commands with asp.net but it doesn't function.
Is it possible to do this? How?
Thank you very much. Jc
Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** ---------------------------------------------------------- http://www.usenet.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: TJS |
last post by:
Can anyone see why the javascript below will not work in Firefox ?
=====================================================
<script runat = "server">
Private Sub Page_Load(sender As Object, e As System.EventArgs)
' This really doesn't serve any purpose, other than to help with the
sample code.
' After 10 seconds, the page will stop loading and the progress bar will
disappear.
|
by: Kenneth Keeley |
last post by:
Hi,
I have a page that uploads files to my server and I wish to display a
"Please wait while uploading" page to the user while the file is uploading.
I have been able to redirect the user once the file is finished uploading
but am not sure how to do it while file is uploading.
Some sample code would be welcomed with open arms.
Thank You.
|
by: jcfilth |
last post by:
Hello,
I have created an asp.net web page with 3 datagrids. Every datagrid
binds to a diferent sql query, against a sql server. I first bind
one, then the other and then the last, all using code on Page_Load
event.
When I load this page, the navigator doesn't show anything until the
page load finish. Then I can see the results of the 3 datagrids.
|
by: simon |
last post by:
when I execute aspx page, it works about 5 minutes - I calculate some
statistics.
Is there some way, that I can show user time bar or smething similar? That
he nows, that page is working.
Thank you,
Simon
|
by: Timo |
last post by:
My (intranet) aspx page finishes loading but the progress bar continues to
advance very very very slowly, i.e. a new chunk on the bar is added 10
seconds or so, and then progress bar stops about halfway and never gets any
further. Is there any way to monitor activity on the web server that would
give some indication as to what process is still ongoing that makes the
browser (IE6) display the progress bar?
The page uses a hidden IFRAME to...
| |
by: Oleg |
last post by:
I have a web form let's say 'YYZ.aspx'.
It has an iframe in it.
When it loads it shows progress bar in IE this way: loading for page then
again loading for page in iframe.
This part is fine.
Problem is when I put page 'YYZ.aspx' in iframe of another page, let's say
'Home.aspx'.
In short: (page (page in iframe(page in iframe) ) )
Progress bar shows ones (fast), then second time(kind of fast) and then
third time. And this time it never...
|
by: Vikas Kumar |
last post by:
Hi if I want to show a progress bar in my web application
how can i do it
Like this much % of task has been completed as its shown when installing
some desktop application
i want to do same in my web application
|
by: Max2006 |
last post by:
Hi,
I have the following code to show the UpdateProgress contents at the center
of page:
<asp:UpdateProgress ID="UpdateProgress1" runat="server"
AssociatedUpdatePanelID="UpdatePanel1"
DisplayAfter="0">
<ProgressTemplate>
<div id="Layer1" style="position:absolute; z-index:1; left: 50%;
|
by: frozenade |
last post by:
Hello all..
merry christmas.. :)
I need to show progress status when a button is clicked.
I use this script. but I know that this code is still very bad.
<html>
|
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...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |