473,387 Members | 1,497 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,387 software developers and data experts.

page flashing..

EMW
Hi,

On my ASPx.NET page I have quite a lot of controls, so it takes a little
time to build it.
Because of this when you click on a button, the page is redrawn and whatever
the action was, the page is changed.
But most of the time, not always strangely enough, there is a white page
when the old page (the page is in black background) is discarded and the new
page is loaded.
So everytime one clicks on a button, you'll get a white flash on your
screen.
This is quite annoying, so my question: Is there a way to prevent this?

Like I said, sometimes the page is just changed and there is no flash...I
would like this always, but how?

rg,
Eric
Nov 18 '05 #1
5 1872
Short answer, no. you can use smart navigation but it is not without its
problems

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
Hi,

On my ASPx.NET page I have quite a lot of controls, so it takes a little
time to build it.
Because of this when you click on a button, the page is redrawn and
whatever
the action was, the page is changed.
But most of the time, not always strangely enough, there is a white page
when the old page (the page is in black background) is discarded and the
new
page is loaded.
So everytime one clicks on a button, you'll get a white flash on your
screen.
This is quite annoying, so my question: Is there a way to prevent this?

Like I said, sometimes the page is just changed and there is no flash...I
would like this always, but how?

rg,
Eric

Nov 18 '05 #2
Smart Navigation can accomplish the illusion that the page did not refresh,
thereby elimiting (or decreasing) the page flash:
http://msdn.microsoft.com/library/de...ationtopic.asp
http://msdn.microsoft.com/library/de.../cpconpage.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
Hi,

On my ASPx.NET page I have quite a lot of controls, so it takes a little
time to build it.
Because of this when you click on a button, the page is redrawn and whatever the action was, the page is changed.
But most of the time, not always strangely enough, there is a white page
when the old page (the page is in black background) is discarded and the new page is loaded.
So everytime one clicks on a button, you'll get a white flash on your
screen.
This is quite annoying, so my question: Is there a way to prevent this?

Like I said, sometimes the page is just changed and there is no flash...I
would like this always, but how?

rg,
Eric

Nov 18 '05 #3
On Sat, 29 May 2004 01:00:32 +0200, "EMW" <SomeOne@MicroSoftdotCom>
wrote:
Hi,

On my ASPx.NET page I have quite a lot of controls, so it takes a little
time to build it.
Because of this when you click on a button, the page is redrawn and whatever
the action was, the page is changed.
But most of the time, not always strangely enough, there is a white page
when the old page (the page is in black background) is discarded and the new
page is loaded.
So everytime one clicks on a button, you'll get a white flash on your
screen.
This is quite annoying, so my question: Is there a way to prevent this?

Like I said, sometimes the page is just changed and there is no flash...I
would like this always, but how?


Depends on the speed of the page download. If it's slower then there
will be a flash. What are you doing on the server that requires the
new data? Can this be done another way that does not require a
roundtrip each time?

Nov 18 '05 #4
EMW
For our planning we now use an excel sheet and I'm trying to accomplish a
bit of the same on my page, but then with imagebuttons.
My problem is the amount of buttons, 31 per row and 33 rows....
When I use the checkbox I don't have the flashingproblem because it doens't
have to post back to the server, that will be done when the user clicks on a
button.
I also want to be able to put extra information via a textbox in the
database for each day and each person. In excel that is done by the comments

I've tried the same with a datagrid, but then I couldn't figure out how to
control the imagebuttons in each cell.

Maybe I'm over my head here.....

rg,
Eric

P.s. Thanks Alvin, Steve and Dan for replying.
"Dan Brussee" <db******@nc.rr.com> schreef in bericht
news:bp********************************@4ax.com...
On Sat, 29 May 2004 01:00:32 +0200, "EMW" <SomeOne@MicroSoftdotCom>
wrote:
Hi,

On my ASPx.NET page I have quite a lot of controls, so it takes a little
time to build it.
Because of this when you click on a button, the page is redrawn and whateverthe action was, the page is changed.
But most of the time, not always strangely enough, there is a white page
when the old page (the page is in black background) is discarded and the newpage is loaded.
So everytime one clicks on a button, you'll get a white flash on your
screen.
This is quite annoying, so my question: Is there a way to prevent this?

Like I said, sometimes the page is just changed and there is no flash...I
would like this always, but how?


Depends on the speed of the page download. If it's slower then there
will be a flash. What are you doing on the server that requires the
new data? Can this be done another way that does not require a
roundtrip each time?

Nov 18 '05 #5
well i lied a bit. you can completely eliminate the page flashing by using
the webservice behaviors. data is delivered to the aspx page and it doesn't
post. posting is done via the webservice client side. I forgot about this
completely. Here is a link:
http://msdn.microsoft.com/library/de...e/overview.asp

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
For our planning we now use an excel sheet and I'm trying to accomplish a
bit of the same on my page, but then with imagebuttons.
My problem is the amount of buttons, 31 per row and 33 rows....
When I use the checkbox I don't have the flashingproblem because it
doens't
have to post back to the server, that will be done when the user clicks on
a
button.
I also want to be able to put extra information via a textbox in the
database for each day and each person. In excel that is done by the
comments

I've tried the same with a datagrid, but then I couldn't figure out how to
control the imagebuttons in each cell.

Maybe I'm over my head here.....

rg,
Eric

P.s. Thanks Alvin, Steve and Dan for replying.
"Dan Brussee" <db******@nc.rr.com> schreef in bericht
news:bp********************************@4ax.com...
On Sat, 29 May 2004 01:00:32 +0200, "EMW" <SomeOne@MicroSoftdotCom>
wrote:
>Hi,
>
>On my ASPx.NET page I have quite a lot of controls, so it takes a little
>time to build it.
>Because of this when you click on a button, the page is redrawn and whatever >the action was, the page is changed.
>But most of the time, not always strangely enough, there is a white page
>when the old page (the page is in black background) is discarded and the new >page is loaded.
>So everytime one clicks on a button, you'll get a white flash on your
>screen.
>This is quite annoying, so my question: Is there a way to prevent this?
>
>Like I said, sometimes the page is just changed and there is no
>flash...I
>would like this always, but how?
>


Depends on the speed of the page download. If it's slower then there
will be a flash. What are you doing on the server that requires the
new data? Can this be done another way that does not require a
roundtrip each time?


Nov 18 '05 #6

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

Similar topics

2
by: mirza i | last post by:
hi there! i got page X in asp and a button on it. when i click a button it will call other asp page (Y) then perform a function (delete a record, change a setting) and call back X. obviously, as...
0
by: Mark Travis | last post by:
Hi all, I have inserted a TreeView control on to a web page. When ever javascript changes the appearance of the page (such as expanding an IFrame), the tree view flashes and flashes alot. ...
3
by: Mark Travis | last post by:
Hi all, I have inserted a TreeView control on to a web page. When ever javascript changes the appearance of the page (such as expanding an IFrame), the tree view flashes and flashes alot. ...
3
by: Ray Stevens | last post by:
I know there is a setting that will prevent screen flashing when refreshing a web page but cannot seem to find it. Can someone point me in the right direction?
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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.