SmartNavigation and Panels causing debug error

  • Thread starter Thread starter Chris Ruegsegger
  • Start date Start date
C

Chris Ruegsegger

I have a registration type page that asks a series of
questions but does so using Panels to display only a
couple at a time. I have a Next and Back button on each
panel for navigation purposes. Some of the next buttons
have Validation enabled for input checking.
SmartNavigation is set to True.

If I proceed a few Panels in to the registration and try
to backup using a Back button I get a script debug error
from IE stating a value is null or undefined. This only
happens on pages where the Next buttons cause validation.
Turning off SmartNavigation fixes the problem, no more
debug errors.

I would really like to use SmartNavigation, but as it
stands right now, I have to disable it for this page or
tell all my users to disable script debugging in Internet
Explorer. Anyone got a suggested fix?

Chris
 
Smart navigation is known to be problematic. The concensus from the
discussions on this newsgroup has been to stay away from it.
 
Is there any alternative?

Chris
-----Original Message-----
Smart navigation is known to be problematic. The concensus from the
discussions on this newsgroup has been to stay away from
it.
 
Hello Chris,

Based on MSDN documentation, smart navigation is best used with ASP.NET pages that require frequent postbacks but
with visual content that does not change dramatically on return. Consider this carefully when deciding whether to set this
property to true.

In most circumstances, do not set this property in code.

For your question, is it possible for you to use a IE tabstrip web control and perform validation after the user fills in all the
information? (http://www.asp.net/ControlGallery/default.aspx?Category=38&tabindex=2)

Thanks.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!Content-Class: urn:content-classes:message
!From: "Chris Ruegsegger" <[email protected]>
!Sender: "Chris Ruegsegger" <[email protected]>
!Subject: SmartNavigation and Panels causing debug error
!Date: Wed, 6 Aug 2003 12:10:04 -0700
!Lines: 20
!Message-ID: <[email protected]>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcNcTlejJrPsk+gzQqOGHL/8hwbObg==
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:165480
!NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!I have a registration type page that asks a series of
!questions but does so using Panels to display only a
!couple at a time. I have a Next and Back button on each
!panel for navigation purposes. Some of the next buttons
!have Validation enabled for input checking.
!SmartNavigation is set to True.
!
!If I proceed a few Panels in to the registration and try
!to backup using a Back button I get a script debug error
!from IE stating a value is null or undefined. This only
!happens on pages where the Next buttons cause validation.
!Turning off SmartNavigation fixes the problem, no more
!debug errors.
!
!I would really like to use SmartNavigation, but as it
!stands right now, I have to disable it for this page or
!tell all my users to disable script debugging in Internet
!Explorer. Anyone got a suggested fix?
!
!Chris
!
 
Back
Top