Home All Groups Group Topic Archive Search About
Author
19 Jan 2006 2:01 PM
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.

Author
19 Jan 2006 3:10 PM
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.)


Show quoteHide quote
"Doug Salomon" wrote:

> 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.
>
>
Author
19 Jan 2006 6:04 PM
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/


Show quoteHide quote
"Doug Salomon" <DougSalo***@discussions.microsoft.com> wrote in message
news:0084CF52-5D9D-492F-88D5-1F20DF46C4F0@microsoft.com...
> 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.)
>
>
> "Doug Salomon" wrote:
>
>> 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.
>>
>>
Author
19 Jan 2006 6:47 PM
Doug Salomon
Hi Clinton,

Thanks for the corroboration.

Its true that misery loves company. :)

Doug

Show quoteHide quote
"clintonG" wrote:

> 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/
>
>
> "Doug Salomon" <DougSalo***@discussions.microsoft.com> wrote in message
> news:0084CF52-5D9D-492F-88D5-1F20DF46C4F0@microsoft.com...
> > 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.)
> >
> >
> > "Doug Salomon" wrote:
> >
> >> 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.
> >>
> >>
>
>
>
Author
19 Jan 2006 10:24 PM
clintonG
Yes, it certainly is.

<%= Clinton Gallagher

Show quoteHide quote
"Doug Salomon" <DougSalo***@discussions.microsoft.com> wrote in message
news:50DE1D60-AE91-4301-9D6B-A0728C772BEE@microsoft.com...
> Hi Clinton,
>
> Thanks for the corroboration.
>
> Its true that misery loves company. :)
>
> Doug
>
> "clintonG" wrote:
>
>> 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/
>>
>>
>> "Doug Salomon" <DougSalo***@discussions.microsoft.com> wrote in message
>> news:0084CF52-5D9D-492F-88D5-1F20DF46C4F0@microsoft.com...
>> > 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.)
>> >
>> >
>> > "Doug Salomon" wrote:
>> >
>> >> 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.
>> >>
>> >>
>>
>>
>>