473,790 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Smart navigation and js setTimeout

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
Nov 17 '05 #1
1 1710
I couldn't find a way around this - but I found a different approach. Check
out http://www.devhood.com/messages/mess...read_id=104625 -
uses javascript to set the scroll position of the page.

"Andy Pickering" <no**@shall.pas s> wrote in message
news:Ox******** ******@tk2msftn gp13.phx.gbl...
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

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2018
by: anon | last post by:
How *EXACTLY* does Smart Navigation work? (I would really really really like for this Smart Navigation to work in Mozilla.) The inner workings and the code is what I am looking for. Does it use JavaScript? If so, is there any code that someone can point to. And can the ASP.NET 2.0 team get this work in Mozilla....sort of targeting multiple browser like they do with other stuff already....It would be a really big boost to them,...
0
1866
by: Jason Rodman | last post by:
I have been working on a web app that uses IFrames for our edit screens. A main window contains static information, while an IFrame contains the editable page. I use javascript from the outer page to cause the inner page to post back, but when I turn on smart navigation, it locks up IE. I tracked it down to the actual .submit() call in javascript, then its locked up. I set a couple of hidden form elements that I use for tracking, then...
1
1662
by: Sal | last post by:
Greetings to all... I have a simple asp.net app. It consists of three aspx pages. I have enabled smart navigation on the pages. The app runs smoothly on the developer machine, but when I upload it to our webserver the pages that have smart navigation do not show up... I have even copied aspnet_client folder to the root of the website and it still does not work. I am still working in 1.0 version.
10
1718
by: RodBillett | last post by:
Using SmartNavigation. Windows2003 Server Framework 1.0 (3705) IIS6 and I have IIS configured to utilize the 1.0 framework. Any Ideas why I would be getting the following jscript error within Smartnav.js? htmlfile: Invalid pointer. it is occuring on line 79 hdm.appendChild(k);
1
314
by: Devin | last post by:
I am having a problem of SmartNavigation, wher eit works fine on the test server, but not on the server that I load it up to. I tried placing "page.smartnavigation=false" right before I redirect, but now smart navigation doesn't even "turn on". So I was wondering if there were any examples of other methods out there to recieve the same effect of smart navigation. Can anyone possibly provide sample source code in VB.NET? THank Devin
1
1343
by: thomson | last post by:
Hi all, i have enabled Smart Navigation in the Page attribute, My Webform has several Webform controls, all applied with style sheets from an external file. Problem --------- When a postback event is occured due to a dropdownlist, all my styles applied to the entire form is dissappeared, this occured only after enabling the Smart Navigation,
3
1520
by: ajfish | last post by:
Hi, I have a web form with smart navigation turned on. the html has an onload event which calls a javascript function and the contents of this function are dynamically generated on the server like this: function onload() { <% if (some_condition) { %> do_some_javascript(); <% } %>
0
1211
by: keeper | last post by:
Recently a new windows update for internet explorer was released which seems to have broken stylesheets with smart navigation. The first request for the page works fine, but any subsequent postbacks when smart navigation is applied results in internet explorer not applying the style sheet. Has anyone else had this problem and found a solution as at the moment I've had to disable smart navigation on the page.
54
12022
by: Boris | last post by:
I had a 3 hours meeting today with some fellow programmers that are partly not convinced about using smart pointers in C++. Their main concern is a possible performance impact. I've been explaining the advantages of smart pointers endlessly (which are currently used in all our C++ software; we use the Boost smart pointers) as I'm seriously concerned that there is a shift to raw pointers. We are not developing system software but rather...
0
9512
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10413
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9986
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9021
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7530
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4094
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.