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

.NET 1.1 SmartNavigation problem

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.
Mar 8 '06 #1
3 1318
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.

"Elliot Rodriguez" <elliotrodriguezatgeemaildotcom> wrote in message news:%2***************@TK2MSFTNGP12.phx.gbl...
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.

Mar 9 '06 #2
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.

"Adrian Parker" <ap******@nospam.nospam> wrote in message
news:Oc**************@TK2MSFTNGP11.phx.gbl...
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.

"Elliot Rodriguez" <elliotrodriguezatgeemaildotcom> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
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.


Mar 9 '06 #3
Hi Elliot, does that control deal with setting focus too ?
"Elliot Rodriguez" <elliotrodriguezatgeemaildotcom> wrote in message news:OE**************@TK2MSFTNGP14.phx.gbl...
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.

"Adrian Parker" <ap******@nospam.nospam> wrote in message news:Oc**************@TK2MSFTNGP11.phx.gbl...
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.

"Elliot Rodriguez" <elliotrodriguezatgeemaildotcom> wrote in message news:%2***************@TK2MSFTNGP12.phx.gbl...
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.



Mar 10 '06 #4

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

Similar topics

2
by: kevin | last post by:
hi, all it seems that smartnavigation has problem with the hide/show panel in the aspx page, I have three panel wih back/next buttons, the first two page works fine, but at the last page,...
5
by: Shawn Mehaffie | last post by:
I have a secure site that has aspx pages and the content is all generate for the site using ascx controls that are loaded dynamically as needed. similar to dotNetNuke. When I am at the office...
0
by: Yonny | last post by:
I have a site, that uses on all the pages the directive Smartnavigation="true", all the pages have buttons that have codebehind in VB.NET that loads another page but in some cases the first page...
2
by: Enrico Palazo | last post by:
Hi, smartnavigation works great locally buts fails completly after being uploaded to the isp's server. Where could the problem be? Thanks!!
1
by: datta_ak | last post by:
Hi, Adding Smartnavigation=true attribute to page directive Of sample.aspx is causing erratic behavior to the page. All links and buttons on clicking is opening popup of the same...
2
by: Mark Goldin | last post by:
I am trying to use SmartNavigation="true" in my Page directive. My page has two radiobuttons. Both buttons have AutoPostBack enabled. When I am clicking on the buttons they are changing data source...
3
by: Nestus | last post by:
Hi, im developing a solution in ASP.Net, i have a page that i need to use the smartnavigation in true, the problem occurs when i put in the directive @Page SmartNavigation = true my page trhows a...
0
by: Alfonso Alvarez | last post by:
Hi all: I have a problem with my webpage when I try to make a response.redirect and i have de smartnavigation option set true. If I put smartnavigation to false it works fine, but if I have...
7
by: morrisdn13 | last post by:
I have encountered a very strange problem that makes it look like the page is not recreated in entirety after a postback when I turn on smartnavigation. If I click on a server control, the page...
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
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
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.