473,462 Members | 1,399 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to handle events fired on one page on another aspx-page

Hi folks!

I'am trying to figure out a way on how to keep my scolling position of the
page AND all of it's scrollable divs during postbacks.
Sadly it seems that div-scrolling can only be done in conjunction with
absolute positioning of the divs which is definitely not what I want. But
when using iframes i get multiple aspx-pages and i don't have a clue how to
handle events that occur on the page in the iframe on my mainpage.

I thought that perhaps I could introduce a kind of event-supernode-object
stored in the session which listens on all events from the pages and on
which my pages could register as eventlistener. Do you think this is worth a
try or would you recommend another approach? Perhaps anybody has had a
similiar problem already...
Greetings, Ralf
Nov 19 '05 #1
2 1226
Have you set SmartNavigation to true ?
"Ralf Müller" wrote:
Hi folks!

I'am trying to figure out a way on how to keep my scolling position of the
page AND all of it's scrollable divs during postbacks.
Sadly it seems that div-scrolling can only be done in conjunction with
absolute positioning of the divs which is definitely not what I want. But
when using iframes i get multiple aspx-pages and i don't have a clue how to
handle events that occur on the page in the iframe on my mainpage.

I thought that perhaps I could introduce a kind of event-supernode-object
stored in the session which listens on all events from the pages and on
which my pages could register as eventlistener. Do you think this is worth a
try or would you recommend another approach? Perhaps anybody has had a
similiar problem already...
Greetings, Ralf

Nov 19 '05 #2
Sorry! I forgot to say that I don't want to use SmartNavigation because I
need this to work on Firefox, too.

"Joël Descombes" <Jo**********@discussions.microsoft.com> schrieb im
Newsbeitrag news:DB**********************************@microsof t.com...
Have you set SmartNavigation to true ?
"Ralf Müller" wrote:
Hi folks!

I'am trying to figure out a way on how to keep my scolling position of the page AND all of it's scrollable divs during postbacks.
Sadly it seems that div-scrolling can only be done in conjunction with
absolute positioning of the divs which is definitely not what I want. But when using iframes i get multiple aspx-pages and i don't have a clue how to handle events that occur on the page in the iframe on my mainpage.

I thought that perhaps I could introduce a kind of event-supernode-object stored in the session which listens on all events from the pages and on
which my pages could register as eventlistener. Do you think this is worth a try or would you recommend another approach? Perhaps anybody has had a
similiar problem already...
Greetings, Ralf

Nov 19 '05 #3

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

Similar topics

4
by: Bren | last post by:
I am having problems with custom events raised by an object, if an aspx form is the event sink - I had posted earlier about this and found I was having problems changes in the UI not reflected...
4
by: Bardo | last post by:
Hi, I have a situation where I am capturing both a WMI event utilising the "ManagementEventWatcher" in the "System.Management" namespace, and a corresponding event ("EntryWritten") raised from...
14
by: JPRoot | last post by:
Hi I use the following syntax to have events inherited from base to child classes which works nicely (virtual and override keyword on events). But I am wondering if it is a "supported" way of using...
3
by: michael_vanommeren | last post by:
I have two web applications that I am working with and I am trying to do a Response.Redirect from one to the other. They are setup as separate web applications on the same IIS server. If I go...
15
by: Adam J. Schaff | last post by:
I have noticed that if a user closes a form via pressing return (either while the OK button has focus or if AcceptButton is set to OK for the form) then the "ENTER" keypress event fires ON THE...
4
by: ThunderMusic | last post by:
Hi, I have a class let's say class1 that raises an event, let's say OnEvent. In another class, let's say class2, I have an array of Class1. I want to be able to trap the events fired by class1...
13
by: goodoldave | last post by:
Hey everyone, I need some advice concerning Interfaces and delegates. I would like to define a delegate inside of an interface (I know a delegate is a class but hear me out) Here is a...
2
by: =?Utf-8?B?TWljaGVsIFNjaGF3YW5u?= | last post by:
Hi all, I try to create a service witch handle the session switch events: Lock, unlocked etc... I can do this with a standard executable like this (it's just an example):...
2
by: Boki | last post by:
Hi All, We can process the mouse/keyboard events by handling, however, how to create a event on a target form ( ex: webbrowser ) ? Thanks! Best regards, Boki.
11
by: nadeem_far | last post by:
Hello, I am working on a c# project using framework 1.1. Since its a console application,no windows forms are being used. I am trying to implement event driven classes that just want to raise...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
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...
0
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,...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.