Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / May 2008

Tip: Looking for answers? Try searching our database.

AJAX postback question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cirene - 21 May 2008 15:45 GMT
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.
bruce barker - 21 May 2008 16:36 GMT
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)

> 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
[quoted text clipped - 5 lines]
>
> Thanks.
Cirene - 21 May 2008 19:05 GMT
Thanks.  What do you mean by a "simple ajax callback"?  :)

> 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
[quoted text clipped - 19 lines]
>>
>> Thanks.
bruce barker - 21 May 2008 19:49 GMT
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)

> Thanks.  What do you mean by a "simple ajax callback"?  :)
>
[quoted text clipped - 21 lines]
> >>
> >> Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.