Doug Reilly's Weblog

Embedded Reporting of the Information Age...

AutoPostback and SmartNavigation Together Clears Form

So, I am doing a moderately complicated ASP.NET form in an Intranet environment, and for the first time I am making extensive use of SmartNavigation as well as AutoPostback.  When it works, it is cool, and allows this overly complex form (over which I have no design say) to work correctly.  Almost.

The problem is this: Sometimes, when the form is first loaded, the first AutoPostback sometimes clears the form, as if the Reset button was pressed.  I cannot currently reproduce it on my machine, but others are able to reliably, and I did see it once or twice on my machine.

Is this a known problem?  Does anyone know of a workaround?

Update: Werner posted a comment about a control, SmartScroller by Strength Technologies.  Amazing.  Why this company can create what at first glance appears to be the perfect scroll handler, and Microsoft cannot is just beyond me.

Posted: Sep 14 2004, 11:55 AM by douglas.reilly | with 6 comment(s)
Filed under:

Comments

Alan Yeung said:

SmartNavigation is buggy, I don't recommend using it for critical applications. Intranet may be ok if your end-users don't complain.
# September 14, 2004 1:50 PM

Douglas Reilly said:

I concur that it would not be my choice for an application, but this application requires that, or some other JavaScript magic to make it work. Sigh.
# September 14, 2004 2:48 PM

Sacha said:

We've had so many problems with smart navigation causing this (and other annoying) errors that we've made it a development policy not to use it. It's a nice idea, hopefully they'll get it working better in future versions.
# September 14, 2004 4:09 PM

Werner said:

Look at SmartScroller from Strength Technologies http://www.strengthtechnologies.com/scroll/
# September 14, 2004 7:27 PM

Douglas Reilly said:

Smart Scroller is AMAZING. Not only does it actually work, it works EXACTLY as it should with no wackyness as far as the values being cleared or focus being lost.
# September 14, 2004 8:26 PM

Cory Allison said:

SmartScroller breaks if you have a document declaration of: anyone else run into this?
# August 31, 2006 9:00 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)