Groups | Blog | Home
all groups > asp.net > march 2006 >

asp.net : method to avoid the "screen-flicker-refresh" of postbacks?


simon
3/22/2006 11:52:45 PM
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.
Spam Catcher
3/23/2006 12:00:00 AM
simon <me@here.com> wrote in news:m3a422dpm9i9fgamoe6cdq33cgn2bo3f4p@
4ax.com:

[quoted text, click to view]

AJAX or client side callbacks.

--
Stan Kee (spamhoneypot@rogers.com)

Boycott StarForce!
clickon
3/23/2006 1:06:30 AM
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.

[quoted text, click to view]
Gozirra
3/23/2006 6:09:10 AM
You could also enable SmartNavigation. I'm not sure how much
cross-browser support there is for it but it works in IE.
dkode
3/23/2006 6:43:39 AM
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
simon
3/23/2006 8:31:12 AM
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
[quoted text, click to view]
AddThis Social Bookmark Button