SmartNavigation Problem/Bug

D

Doug Salomon

I've come across a weird problem with the smart navigation directive.

It seems that, in some (many? most?) cases using the asp.net 2.0 menu
control with smartnavigation emabled is causing some trouble.

I've found that (at least in my pages and those of a colleague), performing
a post back to a page with a menu at the top and smartnavigation enabled will
often introduce an extra (empty) line into the menu object.

If I remove the smartnavigation directive (or set it to false), the extra
line is not added to the menu on postback.

FWIW, the "MaintainScrollPositionOnPostback" directive (which I often see
mentioned along with smart navigation) does not exhibit this behaviour.
 
D

Doug Salomon

I've been looking around a bit, regarding my previous post, and it looks like
I'm not alone in my SmartNavigation woes. (I didn't even notice that, altough
it still "works", it no longer comes up in the visual studio intellisense
list.)
 
C

clintonG

I was getting stack overflow errors. It took me weeks to figure out why. I
had smartNavigation="true" in web.config and discovered it was supported in
the beta but not for 2.0 which was RTM.

search term: smartnavigation deprecated
search term: smartnavigation obsolete

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
 
D

Doug Salomon

Hi Clinton,

Thanks for the corroboration.

Its true that misery loves company. :)

Doug
 

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
474,416
Messages
2,571,562
Members
48,797
Latest member
shadowoftheunknown

Latest Threads

Top