Hi there.
I am using SmartNavigation="True" in one of my pages and it is working
except for one instance. If I hit the browser refresh, or a button on my
form smart nav works just fine. I also have the page auto refreshing every
60 seconds. When this is fired the page scrolls back to the top. Is there
anyway around this? Thanks for your help.
Joe 4 1152
Perhaps instead of a refresh done with META tags, you could start a
JavaScript timer and do a post back every 60 seconds. With SmartNav
this should preserve the position of the form. Take a look at the
Page.GetPostBackClientEvent to help build the JavaScript.
HTH,
--
Scott http://www.OdeToCode.com
On Tue, 27 Apr 2004 09:37:20 -0700, "vbGansta" <js***@cassocorp.com>
wrote: Hi there.
I am using SmartNavigation="True" in one of my pages and it is working except for one instance. If I hit the browser refresh, or a button on my form smart nav works just fine. I also have the page auto refreshing every 60 seconds. When this is fired the page scrolls back to the top. Is there anyway around this? Thanks for your help.
Joe
hey Scott.
I really appreciate your help. I tried to look up the
GetPostBackClientEvent stuff, but I am new to this and I really don't
understand how the JavaScript stuff works yet. Is there anyway you can give
me some more info?
Joe
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:fn********************************@4ax.com... Perhaps instead of a refresh done with META tags, you could start a JavaScript timer and do a post back every 60 seconds. With SmartNav this should preserve the position of the form. Take a look at the Page.GetPostBackClientEvent to help build the JavaScript.
HTH,
-- Scott http://www.OdeToCode.com
On Tue, 27 Apr 2004 09:37:20 -0700, "vbGansta" <js***@cassocorp.com> wrote:
Hi there.
I am using SmartNavigation="True" in one of my pages and it is working except for one instance. If I hit the browser refresh, or a button on my form smart nav works just fine. I also have the page auto refreshing
every60 seconds. When this is fired the page scrolls back to the top. Is
thereanyway around this? Thanks for your help.
Joe
Here are a couple articles that do this, let me know if you get
something working from these: http://www.codeproject.com/aspnet/tcdoom_webtimer.asp http://www.eggheadcafe.com/articles/20021006.asp
--s
On Tue, 27 Apr 2004 12:13:13 -0700, "vbGansta" <js***@cassocorp.com>
wrote: hey Scott.
I really appreciate your help. I tried to look up the GetPostBackClientEvent stuff, but I am new to this and I really don't understand how the JavaScript stuff works yet. Is there anyway you can give me some more info?
Joe
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:fn********************************@4ax.com.. . Perhaps instead of a refresh done with META tags, you could start a JavaScript timer and do a post back every 60 seconds. With SmartNav this should preserve the position of the form. Take a look at the Page.GetPostBackClientEvent to help build the JavaScript.
HTH,
-- Scott http://www.OdeToCode.com
On Tue, 27 Apr 2004 09:37:20 -0700, "vbGansta" <js***@cassocorp.com> wrote:
>Hi there. > >I am using SmartNavigation="True" in one of my pages and it is working >except for one instance. If I hit the browser refresh, or a button on my >form smart nav works just fine. I also have the page auto refreshingevery >60 seconds. When this is fired the page scrolls back to the top. Isthere >anyway around this? Thanks for your help. > >Joe >
--
Scott http://www.OdeToCode.com
Scott,
Those articles pointed me in the right direction. This is all I needed to
accomplish my task:
<script language ="javascript">
window.setTimeout("__doPostBack('btnFetch', ' ')", 60000);
</script>
Thanks for putting up with my ignorance :)
Joe
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:i5********************************@4ax.com... Here are a couple articles that do this, let me know if you get something working from these:
http://www.codeproject.com/aspnet/tcdoom_webtimer.asp http://www.eggheadcafe.com/articles/20021006.asp
--s
On Tue, 27 Apr 2004 12:13:13 -0700, "vbGansta" <js***@cassocorp.com> wrote:
hey Scott.
I really appreciate your help. I tried to look up the GetPostBackClientEvent stuff, but I am new to this and I really don't understand how the JavaScript stuff works yet. Is there anyway you can
giveme some more info?
Joe
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:fn********************************@4ax.com.. . Perhaps instead of a refresh done with META tags, you could start a JavaScript timer and do a post back every 60 seconds. With SmartNav this should preserve the position of the form. Take a look at the Page.GetPostBackClientEvent to help build the JavaScript.
HTH,
-- Scott http://www.OdeToCode.com
On Tue, 27 Apr 2004 09:37:20 -0700, "vbGansta" <js***@cassocorp.com> wrote:
>Hi there. > >I am using SmartNavigation="True" in one of my pages and it is working >except for one instance. If I hit the browser refresh, or a button on
my >form smart nav works just fine. I also have the page auto refreshing every >60 seconds. When this is fired the page scrolls back to the top. Is there >anyway around this? Thanks for your help. > >Joe >
-- Scott http://www.OdeToCode.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ariel |
last post by:
Hi, I have this problem:
In my intranet I use a hidden frame that autorefresh every 30 seconds.
That page records a hit into SQL Server thats indicates to me the user
still on-line.
I use this:...
|
by: gregoryenelson |
last post by:
I have a system where a user views info on a screen, then optionally
goes into other screens where the database is altered -- user the
returns to original screen.
The original screen is...
|
by: Susan Baker |
last post by:
Hi,
I'm just reading about smart pointers..
I have some existing C code that I would like to provide wrapper classes
for. Specifically, I would like to provide wrappers for two stucts
defined...
|
by: Dan |
last post by:
I'd like to have a set of more-or-less common code which I want to use for
both desktop and smart device projects. I have two questions:
1. How can I set up conditional compile directives for...
|
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...
| |
by: Ney André de Mello Zunino |
last post by:
Hello.
I have written a simple reference-counting smart pointer class template
called RefCountPtr<T>. It works in conjunction with another class,
ReferenceCountable, which is responsible for the...
|
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...
|
by: sip.address |
last post by:
I'm using reference counted smart pointers in a small project and it's
a breeze, but I'm running into a problem which I don't know how to
approach.
Consider something like this:
class A {...
|
by: paulrajj |
last post by:
How To Autorefresh div Every Two Minutes using php and ajax
thanks in advance
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
| |
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |