SmartNavigation Issues

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default SmartNavigation Issues

    Hi All

    I wanted to enable "SmartNavigation" 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.


    Snig Guest

  2. Similar Questions and Discussions

    1. SSL & Certificates with Smartnavigation
      Hi All, I have an ASP.NET app,that uses a certificate for some transactions, the problem that i have is that in the same server i have other...
    2. smartNavigation not working
      I want to set focus on the row I am editing on a long data grid. Even though I have set smartNavigation to true for the document both at design...
    3. SmartNavigation
      Hi Can anyone explain when to use SmartNagivation, and when not to?? Why not have it enabled for all pages? I have tried it on a test page,...
    4. SmartNavigation Error ...
      When I set SmartNavigation="true", and run my asp.net project I get "page not found error" and browser is being redirected to: ...
    5. SmartNavigation.
      Hi Can anyone explain when to use SmartNagivation, and when not to?? Why not have it enabled for all pages? I have tried it on a test page,...
  3. #2

    Default 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.co.in> wrote in message
    news:%239a$%230WXDHA.1644@TK2MSFTNGP10.phx.gbl...
    > Hi All
    >
    > I wanted to enable "SmartNavigation" 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 Guest

  4. #3

    Default 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
    "smartnavigation" ? as without smartnav the page works fine !


    "DWinter" <dwinter@attbi.com> wrote in message
    news:OOaUbQYXDHA.2576@TK2MSFTNGP09.phx.gbl...
    > 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.co.in> wrote in message
    > news:%239a$%230WXDHA.1644@TK2MSFTNGP10.phx.gbl...
    > > Hi All
    > >
    > > I wanted to enable "SmartNavigation" 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.
    > >
    > >
    >
    >

    Snig Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139