Smart navigation and js setTimeout

Discussion in 'ASP .Net' started by Andy Pickering, Oct 24, 2003.

  1. I'm having a major problem with smart navigation. My page uses the
    javascript 'setTimeout' function to automatically refresh the page after n
    seconds (it calls __doPostBack). When I turn on smart navigation for the
    page, the whole thing seems to go haywire after a few refreshes, apparently
    refreshing whenever it likes! Looking at the client side page source, only
    one instance of the setTimeout function has been rendered.

    Any ideas gratefully appreciated.

    Cheers,
    Andy
     
    Andy Pickering, Oct 24, 2003
    #1
    1. Advertising

  2. I couldn't find a way around this - but I found a different approach. Check
    out http://www.devhood.com/messages/message_view-2.aspx?thread_id=104625 -
    uses javascript to set the scroll position of the page.

    "Andy Pickering" <> wrote in message
    news:Ox$...
    > I'm having a major problem with smart navigation. My page uses the
    > javascript 'setTimeout' function to automatically refresh the page after n
    > seconds (it calls __doPostBack). When I turn on smart navigation for the
    > page, the whole thing seems to go haywire after a few refreshes,

    apparently
    > refreshing whenever it likes! Looking at the client side page source,

    only
    > one instance of the setTimeout function has been rendered.
    >
    > Any ideas gratefully appreciated.
    >
    > Cheers,
    > Andy
    >
    >
     
    Andy Pickering, Oct 27, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simone

    Smart Navigation Problem

    Simone, Jun 30, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    404
  2. vrushal

    smart navigation

    vrushal, Jul 5, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    610
    vrushal
    Jul 7, 2003
  3. Enrico Palazo

    smart navigation and hosting

    Enrico Palazo, Jan 16, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    293
    Enrico Palazo
    Jan 16, 2004
  4. Replies:
    0
    Views:
    394
  5. MotoK
    Replies:
    59
    Views:
    1,819
    Keith Thompson
    Sep 15, 2006
Loading...

Share This Page