473,386 Members | 1,721 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,386 software developers and data experts.

SmartNavigation and Panels causing debug error

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
Nov 17 '05 #1
4 1494
Smart navigation is known to be problematic. The concensus from the
discussions on this newsgroup has been to stay away from it.

"Chris Ruegsegger" <cr**************@heery.com> wrote in message
news:02****************************@phx.gbl...
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

Nov 17 '05 #2
Is there any alternative?

Chris
-----Original Message-----
Smart navigation is known to be problematic. The concensus from thediscussions on this newsgroup has been to stay away from

it.

Nov 17 '05 #3
There is no other alternative.

"Chris Ruegsegger" <cr**************@heery.com> wrote in message
news:0c****************************@phx.gbl...
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.

Nov 17 '05 #4
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/de...=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" <cr**************@heery.com>
!Sender: "Chris Ruegsegger" <cr**************@heery.com>
!Subject: SmartNavigation and Panels causing debug error
!Date: Wed, 6 Aug 2003 12:10:04 -0700
!Lines: 20
!Message-ID: <02****************************@phx.gbl>
!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
!
Nov 17 '05 #5

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

Similar topics

3
by: Lewis Edward Moten III | last post by:
I am using smart navigation. I have a form with multiple panels. These panels are displayed and hidden, depending on links that a user may press at the top of the page. One panel has validation...
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...
3
by: Carl Mercier | last post by:
Hi, I have a long form that post back to itself at different places. At the very end, I have a button called "Next" that post back to itself again but some panels are hidden and some others are...
4
by: Bobby | last post by:
Hi all... I rather confuse using smartnavigation in my web application because if I set the "smartnavigation = true" then If I run my app, then after I post page that page, using event...
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...
3
by: Steve Peterson | last post by:
Hi I have a rather lengthy webform I'm working on in which I need the user to be able to scroll to the same place between postbacks. I tried turning on SmartNavigation and it seemed to work...
1
by: Martz | last post by:
Hello everyone I just use a MsgBox component for ASP.NET using Methods such as Render and OnPreRender and JavaScript involved to get a simple Confirmation Box in client side, but the funny thing...
5
by: Mogens Nielsen - Elbek & Vejrup A/S | last post by:
Hi, I can see from the msdn-docs that SmartNavigation is now obsolete. Why is that? The SmartNavigation feature has been replaced by MaintainScrollPosition, but the scoll position is not why...
2
by: John Brock | last post by:
At work we are using a virtual desktop manager called AltDesk (http://www.astonshell.com/), and it is causing a weird and extremely annoying problem with the VB.NET application I am developing. ...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.