.NET 1.1 SmartNavigation problem

  • Thread starter Elliot Rodriguez
  • Start date
E

Elliot Rodriguez

I am sure I'm not the only person whos experienced this :)

In using SmartNavigation I notice that every few times my page posts back,
attempts to read from the Request.Form collection bomb with Object Reference
Not Set to an Object errors.

My page contains a number of controls that obviously postback. It is not a
reliably reproductable error. If I reload AFTER the error all my page state
is lost; its as if the user visited the page the first time.

Since its pretty obvious in my web research that SmartNavigation is bugged,
anyone have a better workaround? I've seen a couple, but I'm not entirely
happy with them.

IE6 fully patched, BTW.

Thanks.
 
A

Adrian Parker

I'm just looking at this as well, mostly because smartnav can interfere with response.redirect. I think the best approach I've
seen is where you create a hidden field and store the current scroll position on formsubmit, and then in your code, output some
javascript to restore that scroll position on postback.
 
E

Elliot Rodriguez

Thanks for the reply Adrian. I ended up using a control from 4GuysFromRolla
that seems to do the trick. Thankfully this is an IE only application.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top