473,320 Members | 1,580 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Response.Redirect

Hallo!

Ich habe ein Frameset mit 3 Frames.
Im 1. Frame wird eine ASPX-Seite geöffnet. In dieser werden einige
Steuerelemente angezeigt.
Nun soll bei bestimmten Benutzeraktivitäten eine andere ASPX-Seite geöffnet
werden, und zwar in einem der beiden anderen Frames. Mein Problem ist, dass
die Seite, die geöffnet werden soll, manchmal im 2. und manchmal im 3. Frame
angezeigt werden soll (je nach Benutzeraktivität).

Also nochmal ein Beispiel zur Verdeutlichung:

Im 1. Frame wird die Seite page1.aspx angezeigt, auf der es 2 Buttons gibt.
Button 1 soll die Seite page2.aspx im 2. Frame anzeigen, Button 3 hingegen
die Seite page3.aspx im 3. Frame.

Da die 2. Buttons Redirect() verwenden, aber unterschiedliche Targets haben,
kann ich das Default-Target nicht dazu verwenden, um das Ziel anzugeben.
Dummerweise gibt es aber bei der Funktion Response.Redirect() auch keinen
Parameter, der das Target angeben würde.

Als Sprache verwende ich VB .NET.

Hat jemand eine Idee wie ich das Problem dennoch lösen könnte?

Danke schonmal im Voraus!

mfg
Nov 19 '05 #1
2 5888
Kuil hefa uys enugl fths

I mean

"Can anyone translate it in english plz..." ;-)

Happy Coding

"news://news.microsoft.com/microsoft.public.de.german"
<ch************@utanet.at> wrote in message
news:#h**************@TK2MSFTNGP09.phx.gbl...
Hallo!

Ich habe ein Frameset mit 3 Frames.
Im 1. Frame wird eine ASPX-Seite geöffnet. In dieser werden einige
Steuerelemente angezeigt.
Nun soll bei bestimmten Benutzeraktivitäten eine andere ASPX-Seite geöffnet werden, und zwar in einem der beiden anderen Frames. Mein Problem ist, dass die Seite, die geöffnet werden soll, manchmal im 2. und manchmal im 3. Frame angezeigt werden soll (je nach Benutzeraktivität).

Also nochmal ein Beispiel zur Verdeutlichung:

Im 1. Frame wird die Seite page1.aspx angezeigt, auf der es 2 Buttons gibt. Button 1 soll die Seite page2.aspx im 2. Frame anzeigen, Button 3 hingegen
die Seite page3.aspx im 3. Frame.

Da die 2. Buttons Redirect() verwenden, aber unterschiedliche Targets haben, kann ich das Default-Target nicht dazu verwenden, um das Ziel anzugeben.
Dummerweise gibt es aber bei der Funktion Response.Redirect() auch keinen
Parameter, der das Target angeben würde.

Als Sprache verwende ich VB .NET.

Hat jemand eine Idee wie ich das Problem dennoch lösen könnte?

Danke schonmal im Voraus!

mfg

Nov 19 '05 #2
Sure, courtesy of Google's language tools:

"I have a Frameset with 3 Frames. In the 1. Frame is opened a ASPX side.
In this some control members are indicated. Now another ASPX side is to be
opened, in one of the two other Frames with certain user activities. My
problem is that the side, which is to be opened sometimes in 2. and
sometimes in the 3. Frame to be indicated is (depending upon user
activity). Thus again an example for the elucidation: In the 1. Frame is
indicated the side to page1.aspx, on which there are 2 Buttons. Button 1 is
the side page2.aspx in 2. Frame indicate, Button 3 however the side
page3.aspx in the 3. Frame. There the 2. Buttons Redirect() use, but
different targets have, can I the default target not use in order to
indicate the goal. Stupid way gives it however with the function to
Response.Redirect() also no parameter, which would indicate the target. As
language I use VB NET. Does someone have an idea as I the problem
nevertheless to solve could? Thanks already times in advance!"

And now, my reply, in English and German, again, courtesy of Google's
language tools:

I do not really understand your question. It may be due to the translation.
However, I can tell you this much:

A Frameset is an HTML document which contains references to several Frames,
each of which is an instance of a browser window object, and each of which
should contain an HTML document. Each window in the Frameset is a separate
instance of the browser, connected by the parent Frameset. When you use
Response.Redirect, it is specific to the browser instance which made the
initial Request. If this is an HTML document in a frame, it will replace the
document in that frame. Response.Redirect can NEVER change the contents of a
different frame. However, on the client-side, you can change the contents of
a different frame in the same frameset using JavaScript. Example:

window.parent.frameName.location = "some.url";

Ein Frameset ist ein HTML-Dokument, das Hinweise auf einigen Feldern
enthält, von denen jedes ein Fall eines Browser Window Gegenstandes ist und
von dem jedes sollte ein HTML-Dokument enthalten. Jedes Fenster im Frameset
ist ein unterschiedlicher Fall der Datenbanksuchroutine, angeschlossen vom
Elternteil Frameset. Wenn Sie Response.Redirect verwenden, ist es zum
Datenbanksuchroutinefall spezifisch, der den Ausgangsantrag bildete. Wenn
dieses ein HTML-Dokument in einem Rahmen ist, ersetzt es das Dokument in
diesem Rahmen. Response.Redirect kann den Inhalt eines anderen Rahmens NIE
ändern. Jedoch auf der Klient-Seite, können Sie den Inhalt eines anderen
Rahmens im gleichen frameset mit Javascript ändern. Beispiel:

window.parent.frameName.location = "some.url";
--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Vishnu-Chivukula" <cv***********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Kuil hefa uys enugl fths

I mean

"Can anyone translate it in english plz..." ;-)

Happy Coding

"news://news.microsoft.com/microsoft.public.de.german"
<ch************@utanet.at> wrote in message
news:#h**************@TK2MSFTNGP09.phx.gbl...
Hallo!

Ich habe ein Frameset mit 3 Frames.
Im 1. Frame wird eine ASPX-Seite geöffnet. In dieser werden einige
Steuerelemente angezeigt.
Nun soll bei bestimmten Benutzeraktivitäten eine andere ASPX-Seite

geöffnet
werden, und zwar in einem der beiden anderen Frames. Mein Problem ist,

dass
die Seite, die geöffnet werden soll, manchmal im 2. und manchmal im 3.

Frame
angezeigt werden soll (je nach Benutzeraktivität).

Also nochmal ein Beispiel zur Verdeutlichung:

Im 1. Frame wird die Seite page1.aspx angezeigt, auf der es 2 Buttons

gibt.
Button 1 soll die Seite page2.aspx im 2. Frame anzeigen, Button 3
hingegen
die Seite page3.aspx im 3. Frame.

Da die 2. Buttons Redirect() verwenden, aber unterschiedliche Targets

haben,
kann ich das Default-Target nicht dazu verwenden, um das Ziel anzugeben.
Dummerweise gibt es aber bei der Funktion Response.Redirect() auch keinen
Parameter, der das Target angeben würde.

Als Sprache verwende ich VB .NET.

Hat jemand eine Idee wie ich das Problem dennoch lösen könnte?

Danke schonmal im Voraus!

mfg


Nov 19 '05 #3

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

Similar topics

3
by: Paul | last post by:
I'm not getting the results I want when I use Response.Redirct in a ASP page. I enter this line of code in a asp page from domain1.com. Response.Redirect...
4
by: JC | last post by:
Hi, I have a simple question regarding the Response.Redirect method. Does the server stop processing the ASP code as soon as it encounters the Redirect command? Or does it ever continue to...
4
by: TomT | last post by:
Hi.. I'm redirecting users to another page using: response.redirect("newpage.asp") this works... But I need to add a variable to the page specified.. IE: newpage.asp?id=JobID
6
by: Sam | last post by:
I have some issues with HTTP Headers and I was hoping for some pointers or references to good articles. Here is the problem. I have 6 .aspx pages, each page contains a common .ascx. This ascx...
3
by: Sehboo | last post by:
On my ASP page, when I click a button, I want to do three things: 1. Check for some values. 2. Open a new window and pass some values as query string. 3. Redirect to some other page Here...
13
by: Tim | last post by:
Hello, Is there a way to "cancel" a response.Redirect? For example, in the code below, could I insert anything in the Catch statement that would cancel the redirect and resume flow after the...
10
by: Niggy | last post by:
I get an error - any help appreciated. System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object...
5
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks...
4
by: mike.biang | last post by:
I have an ASP page that is using an XMLHTTP object to request various pages from my server. I keep a single session throughout the XMLHTTP requests by bassing the ASPSESSIONID cookie through the...
9
by: RN1 | last post by:
When a server encounters the line Response.Redirect("abcd.asp") in a ASP script, the server tells the browser that it has to be redirected to another page (which is abcd.asp, in this case)....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.