473,406 Members | 2,633 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,406 software developers and data experts.

AJAX postback question

I have a simple page - 2 dropdowns, 2 textboxes. 1 set of dropdown/textbox
is in the updatepanel. 1 set of dropdown/textbox is not. When I select a
dropdown the textbox is updated with teh value.

Why is it that the updatepanel one still seems to "flicker" on postback? I
would think that because I have it in an updatepanel taht it wouldn't.
(Yes, I have scriptmanager before it.)

Thanks.
Jun 27 '08 #1
3 1710
the update panel replaces all the html in the panel with what is sent back
from the server. The browser makes an attempt to compare and reduce the
flicker, but is not always sucessful.

I would not use an update panel for something as trival as reloading a
dropdown. use a simple ajax callback. you shoudl also disable the dropdown
while waiting for the async return. to see why, in the dropdown hit the
up/down arrows, you site will probably error out.
-- bruce (sqlwork.com)
"Cirene" wrote:
I have a simple page - 2 dropdowns, 2 textboxes. 1 set of dropdown/textbox
is in the updatepanel. 1 set of dropdown/textbox is not. When I select a
dropdown the textbox is updated with teh value.

Why is it that the updatepanel one still seems to "flicker" on postback? I
would think that because I have it in an updatepanel taht it wouldn't.
(Yes, I have scriptmanager before it.)

Thanks.
Jun 27 '08 #2
Thanks. What do you mean by a "simple ajax callback"? :)

"bruce barker" <br*********@discussions.microsoft.comwrote in message
news:13**********************************@microsof t.com...
the update panel replaces all the html in the panel with what is sent back
from the server. The browser makes an attempt to compare and reduce the
flicker, but is not always sucessful.

I would not use an update panel for something as trival as reloading a
dropdown. use a simple ajax callback. you shoudl also disable the dropdown
while waiting for the async return. to see why, in the dropdown hit the
up/down arrows, you site will probably error out.
-- bruce (sqlwork.com)
"Cirene" wrote:
>I have a simple page - 2 dropdowns, 2 textboxes. 1 set of
dropdown/textbox
is in the updatepanel. 1 set of dropdown/textbox is not. When I select
a
dropdown the textbox is updated with teh value.

Why is it that the updatepanel one still seems to "flicker" on postback?
I
would think that because I have it in an updatepanel taht it wouldn't.
(Yes, I have scriptmanager before it.)

Thanks.

Jun 27 '08 #3
you can make a webservice call from javascript. if you are just setting a
value in the textbox based on the dropdrown, you might be able to just use
javascript and no ajax.

-- bruce (sqlwork.com)
"Cirene" wrote:
Thanks. What do you mean by a "simple ajax callback"? :)

"bruce barker" <br*********@discussions.microsoft.comwrote in message
news:13**********************************@microsof t.com...
the update panel replaces all the html in the panel with what is sent back
from the server. The browser makes an attempt to compare and reduce the
flicker, but is not always sucessful.

I would not use an update panel for something as trival as reloading a
dropdown. use a simple ajax callback. you shoudl also disable the dropdown
while waiting for the async return. to see why, in the dropdown hit the
up/down arrows, you site will probably error out.
-- bruce (sqlwork.com)
"Cirene" wrote:
I have a simple page - 2 dropdowns, 2 textboxes. 1 set of
dropdown/textbox
is in the updatepanel. 1 set of dropdown/textbox is not. When I select
a
dropdown the textbox is updated with teh value.

Why is it that the updatepanel one still seems to "flicker" on postback?
I
would think that because I have it in an updatepanel taht it wouldn't.
(Yes, I have scriptmanager before it.)

Thanks.


Jun 27 '08 #4

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

Similar topics

8
by: needin4mation | last post by:
I understand this is a asp.net group, but thought I would post this here for comments. I admit I have used this post in another group, but it has less traffic. Here's to hoping I'm just blind to...
1
by: Mihir | last post by:
Hi There, I've problem while I submit a button where I used AJAX, I created simple page which will search the customer name from database using AJAX. Once I search customer ID i need to search...
5
by: C Watson | last post by:
Hi, I'm wondering if anyone can help me with AJAX in ASP.NET 1.1. I have a very specific feature that I would like to use it for. I have a rather long form that the users use to enter data...
1
by: codefragment | last post by:
Hi I have asked this on the official asp.net forums but no luck so thought I'd try here Assume you have a page with a filter control and a grid view and many other controls on it. When the...
9
by: =?Utf-8?B?SGFyZHkgV2FuZw==?= | last post by:
Hi all, I followed first walk through sample from http://ajax.asp.net/docs/tutorials/IntroductionUpdatePanel.aspx to create my first testing page, The problem is after I clicked that botton, it...
6
by: HockeyFan | last post by:
I'd like to have an AJAX textbox that after the user fills in, will auto-fill another textbox on the page without having a postback occur. It doesn't have to do any filtering or any other thing...
2
by: =?Utf-8?B?Q2hyaXMgRmluaw==?= | last post by:
I have a general question regarding VS2008 and Ajax Toolkit 3.5. Currently I have a dropdownlist populated from the database. When the user selects and item, the OnSelectedIndexChanged event...
5
by: BM | last post by:
I have a question that seems like it should have a simple answer, but I can't seem to find it by searching... Anyway, I'm trying to capture the IsPostBack event when I select an item within an...
4
by: Peter | last post by:
ASP.NET I have an application which use ASP.NET Autocomplete extender which works great. But I have a question how to update all the fields on the screen using Ajax. Users starts typing in a...
2
by: Mike Gleason jr Couturier | last post by:
Hi guys, I know that the page is reconstructed every time whenever an asynch postback is occuring... I've put a breakpoint in the page render method and the function still gets called when the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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,...
0
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...

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.