|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SmartNavigation Problem/BugI'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. 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. > > 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. >> >> 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. > >> > >> > > > 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. >> >> >> >> >> >> >>
"Protect" or Disable Editing of A Webcontrol
ViewState properties and mapped properties don't work well togethe cache and detailsview, all data controls problem How do I create a custom webcontrol that can have xml inside it's tag? Custom TreeNode for asp.net 2.0 treeview control Multiple onclick Events Menu Control - Templates What is the code for file upload? 2.0 DatagridView and Buttons Updating component attributes |
|||||||||||||||||||||||