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

method to avoid the "screen-flicker-refresh" of postbacks?

hello,
i have a section of a page that has multiple dropdowns.
each dropdown calls the same method on a change of selection by the
user. the method loops over all the dropdowns and if the newly
selected items matches a previously set item, it changes the
dropdown's background color from white to yellow and nulls out the
previous selections value.
this is working just fine functionally, but every postback causes the
screen to refresh and display the page at the top (same position as
when the page is first pulled up).
is there a way to handle the form element changes without doing a full
page refresh and reposition?
thank you for any advice.

Mar 23 '06 #1
4 4451
Yes you need to use AJAX really, MS is developing a set of AJAX libraries
called ATLAS to help you do this, they can be found here
http://atlas.asp.net/ they are still in Beta but they seem to work well.

"simon" wrote:
hello,
i have a section of a page that has multiple dropdowns.
each dropdown calls the same method on a change of selection by the
user. the method loops over all the dropdowns and if the newly
selected items matches a previously set item, it changes the
dropdown's background color from white to yellow and nulls out the
previous selections value.
this is working just fine functionally, but every postback causes the
screen to refresh and display the page at the top (same position as
when the page is first pulled up).
is there a way to handle the form element changes without doing a full
page refresh and reposition?
thank you for any advice.

Mar 23 '06 #2
thank you guys, AJAX seems to be the what i'm looking for. reading up
now...

On Thu, 23 Mar 2006 01:06:30 -0800, clickon
<cl*****@discussions.microsoft.com> wrote:
Yes you need to use AJAX really, MS is developing a set of AJAX libraries
called ATLAS to help you do this, they can be found here
http://atlas.asp.net/ they are still in Beta but they seem to work well.

"simon" wrote:
hello,
i have a section of a page that has multiple dropdowns.
each dropdown calls the same method on a change of selection by the
user. the method loops over all the dropdowns and if the newly
selected items matches a previously set item, it changes the
dropdown's background color from white to yellow and nulls out the
previous selections value.
this is working just fine functionally, but every postback causes the
screen to refresh and display the page at the top (same position as
when the page is first pulled up).
is there a way to handle the form element changes without doing a full
page refresh and reposition?
thank you for any advice.


Mar 23 '06 #3
You could also enable SmartNavigation. I'm not sure how much
cross-browser support there is for it but it works in IE.

Mar 23 '06 #4
Heres a link to atlas on microsofts site. Atlas is microsofts version
of AJAX, still a little buggy it seems, but integrates nicely into
asp.net, only requiring one or two controls to have full ajax
functionality.

http://atlas.asp.net/Default.aspx?tabid=47

Mar 23 '06 #5

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

Similar topics

0
by: Bo | last post by:
Hi The rectangles I draw in paint() always hide underneath the "Select one to launch" screen, while the string "Hello World" is drawn over the "to launch" screen. What am I doing wrong? jdk...
5
by: Stan Brown | last post by:
The page http://w3development.de/css/hide_css_from_browsers/media/ suggests using @media all { } around rules to hide them from older browsers. Suppose the above occurs in a style sheet that...
0
by: PeterK | last post by:
Hi, I am trying to install Visual Studio .Net 2003 (Academic Edition) on my PC with a 64 bit AMD processor. This is what happens: 1. The install process installs the prerequisites -> ok 2....
1
by: Ryan | last post by:
Hello, I have a c++ application and I would like to simply play a short video clip (mpg file) as a splash screen when the application first begins to execute. I seem to be having trouble so far. ...
1
by: u::l | last post by:
Hi I would like to ask directions regarding the creation of a screen that will pop up when a user logs in. He'll have to accept the terms of usage (a lab we are running). If he accepts he can...
73
by: PC Datasheet | last post by:
Does anyone know how to do a "screen scrape" to get data off a website and enter it into an Access table? Thanks for all help? Steve PC Datasheet
1
by: Simon Verona | last post by:
I have a usercontrol which when entered pops up a form. I want the form to be aligned with the bottom edge of the user control. I was doing this by passing the usercontrol into the form as a...
0
by: Chris | last post by:
Hey guys, I'm pulling my hair. I have a bunch of web services, some IHttpModules and some SoapExtensions that get loaded through the web.config. When there is an exception in one of those...
1
by: fischermx | last post by:
My software should take snapshots from the current screen from an icon in the try area. I need to programmatically emulate what the "print-screen" keyword does. How do I do that ? Thanks in...
2
by: Cirene | last post by:
I have a dropdownlist on the bottom of a long form which does a postback. How can I make the form "stay" where it's it and not go back to the top of the page after the code is ran? I can't use...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
jinu1996
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...
0
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...
0
agi2029
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,...

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.