473,387 Members | 1,678 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.

Atlas Postback Problems

I have a webpage that I've wrapped in an Atlas UpdatePanel. This page
contains four textboxes, each with AutoPostBack set to true. The problem
comes when someone edits the first box and tabs to the second box. They have
enough time to make a quick edit to the second box before the postback
completes and then the value in the second textbox is reset to the original
value. Is there anything I can do about this? It's really causing problems
with incorrect data being entered.
Nov 6 '06 #1
1 1354
Hi Jason,

As for the ASP.NET AJAX update panel TextBox autopostback issue, I've
performed some test on my local environment. It seems this is a environment
specific problem. When you use AJAX updatepanel to do partial update in
page, the postback in panel is actually marshed through xml request sent by
the ajax background components(use xmlhttp...), therefore, if the postback
data is large, whether the postback event code logic is long-run or the
network condition is not quite good, it may takes sometime for the partial
postback to finish and you'll encounter a delay. In my local test, when the
panel partial postback, it refresh the panel immediately so that I haven't
a chance to input any other data in other textboxes. BTW, have you checked
the client-side rendered html source to see whether the postback script is
set to execute immdediately as below:

=========
<input name="txt3" type="text"
onchange="javascript:setTimeout('__doPostBack(\'tx t3\',\'\')', 0)"
............. id="txt3" />
=============

If the rendered source doesn't get wrong, the problem is due to the ajax
postback which rely on the network condition and the server processing
time. If possible you can use clientScript to display a message in a label
indicate that the data is submit for processing. Or you can even make the
other textbox readonly when one of them is postback, e.g.

========
txt1.Attributes["onchange"] = "document.getElementById('txt2').readOnly =
true;";
===========
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 7 '06 #2

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

Similar topics

2
by: Justin Lemkul | last post by:
Hello all, I am hoping someone out there will be able to help me. I am trying to install a program that utilizes NumPy. In installing NumPy, I realized that I was lacking Atlas. I ran into...
1
by: Ronde | last post by:
Hi all, I am in a such situation that requires before Atlas do the Partical/Atlas postback, a Client-Side JavaScript has to be executed first, once the JavaScript execute successfully, the...
0
by: ian | last post by:
Hi, I have installed the June CTP of Atlas and am trying to add some basic Atlas functionality to an existing ASP.NET 2.0 website. I have made all of the necessary changes to the web.config,...
2
by: A.Wussow | last post by:
Hi Everybody, i want to load dynamically content from some user controls (with forms, or some data-controls) using atlas. So i use an UpdatePanel for loading the user control into a placeholder....
4
by: Diane Yocom | last post by:
I'm trying to use an Atlas UpdatePanel to just update a label when a text box has changed. The problem is that my textbox is in a user control and I'm using Master Pages - with the combination of...
3
by: mkr04 | last post by:
Hi Friends I am facing also Unk 8) nown error problem. In have page where I am using a User Control when I am using ATLAS to this page I have same problem, I have tried it by debugging but there...
2
by: GaryDean | last post by:
I have an asp.net app using Atlas (july ctp) written from an example I found at the 4guysfromrolla.com site. It's very much like the examples I find at this site. I have pasted the body of the...
5
by: igotyourdotnet | last post by:
I have a treeview menu on my master page, When I click a menu option the page "flickers" and loads the content section. is it possible to add atlas somehow to stop the flickering when I make a...
1
by: jmdolinger | last post by:
Hi all, I'm a newbie to Atlas (and recently ASP.NET) after coming from a long Java background, also have done quite a bit with an Ajax.NET/ASP.NET 1.1 project, but it was basically all...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.