SmartNavigation Issues

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Snig

    #1

    SmartNavigation Issues

    Hi All

    I wanted to enable "SmartNavigatio n" in my site.
    For this I put <pages smartNavigation ="true" /> in web.config file. So far
    so good. But it causes the link from the aspx pages to the css files be
    broken.

    When an aspx page opens up for the first time, it displayed everything fine
    as per the linked css file. But after postback the page is displayed without
    any formatting, i.e. as if it could not find the css file.

    If I remove the corresponding line from web.config file, it works fine. Even
    I observed the same behaviour if I add smartnavigation ="true" in the page
    directive instead of the web.config file.

    Any clues ?

    Thanx a lot.


  • DWinter

    #2
    Re: SmartNavigation Issues

    enable the smart nav. After the post back, view source. Check the href for
    the css file, does it contain the entire URL?

    "Snig" <snigbb@yahoo.c o.in> wrote in message
    news:%239a$%230 WXDHA.1644@TK2M SFTNGP10.phx.gb l...[color=blue]
    > Hi All
    >
    > I wanted to enable "SmartNavigatio n" in my site.
    > For this I put <pages smartNavigation ="true" /> in web.config file. So far
    > so good. But it causes the link from the aspx pages to the css files be
    > broken.
    >
    > When an aspx page opens up for the first time, it displayed everything[/color]
    fine[color=blue]
    > as per the linked css file. But after postback the page is displayed[/color]
    without[color=blue]
    > any formatting, i.e. as if it could not find the css file.
    >
    > If I remove the corresponding line from web.config file, it works fine.[/color]
    Even[color=blue]
    > I observed the same behaviour if I add smartnavigation ="true" in the page
    > directive instead of the web.config file.
    >
    > Any clues ?
    >
    > Thanx a lot.
    >
    >[/color]


    Comment

    • Snig

      #3
      Re: SmartNavigation Issues

      the URL of the css seems to be same before and after postback.
      still before postback it is applying the css and after postback not.

      but how come this kind of behaviour originates as a result of
      "smartnavigatio n" ? as without smartnav the page works fine !


      "DWinter" <dwinter@attbi. com> wrote in message
      news:OOaUbQYXDH A.2576@TK2MSFTN GP09.phx.gbl...[color=blue]
      > enable the smart nav. After the post back, view source. Check the href for
      > the css file, does it contain the entire URL?
      >
      > "Snig" <snigbb@yahoo.c o.in> wrote in message
      > news:%239a$%230 WXDHA.1644@TK2M SFTNGP10.phx.gb l...[color=green]
      > > Hi All
      > >
      > > I wanted to enable "SmartNavigatio n" in my site.
      > > For this I put <pages smartNavigation ="true" /> in web.config file. So[/color][/color]
      far[color=blue][color=green]
      > > so good. But it causes the link from the aspx pages to the css files be
      > > broken.
      > >
      > > When an aspx page opens up for the first time, it displayed everything[/color]
      > fine[color=green]
      > > as per the linked css file. But after postback the page is displayed[/color]
      > without[color=green]
      > > any formatting, i.e. as if it could not find the css file.
      > >
      > > If I remove the corresponding line from web.config file, it works fine.[/color]
      > Even[color=green]
      > > I observed the same behaviour if I add smartnavigation ="true" in the[/color][/color]
      page[color=blue][color=green]
      > > directive instead of the web.config file.
      > >
      > > Any clues ?
      > >
      > > Thanx a lot.
      > >
      > >[/color]
      >
      >[/color]


      Comment

      Working...