473,802 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamically setting the target frame

I have a simple ASP page with two buttons. When the first button is pressed
I want to update a label on the same page, but when the other button is
pressed I want to display a new page, and show it in a different frame.

I can't find a way of setting the target frame dynamically - any ideas?

Thanks, Steve
Nov 19 '05 #1
1 1474
Use a hyperlink for the page that u would like to show in another page. And
Set is target Property at design time...

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"Steve Harrison" <ma**@steve.har rison.name> wrote in message
news:42******** *************** @ptn-nntp-reader01.plus.n et...
I have a simple ASP page with two buttons. When the first button is pressed
I want to update a label on the same page, but when the other button is
pressed I want to display a new page, and show it in a different frame.

I can't find a way of setting the target frame dynamically - any ideas?

Thanks, Steve

Nov 19 '05 #2

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

Similar topics

2
5307
by: RWD | last post by:
I am trying to figure out how to change the target frame in my hyperlink on a DHTML menu. The menu is in one frame and the target frame is called "main" The code is below: Thanks in advance RWD <script type='text/javascript'>
5
1506
by: J | last post by:
Hi, I'm using the following code snippet to show popup menus (in a header frame) and target the menu options to another frame. This works fine for a single hard-coded frame (e.g. "2" below, in doClick) but I need to pass in the target frame ID when the user clicks, the reason being that different options will target different frames depending on who the user is. the target frame name is in the target attribute of the link tag, i.e. <a...
4
13865
by: DaveO | last post by:
Hi all I have done lots of VB programming, but am not familiar with JavaScript. Can anyone tell me how to do this ....? I have a JS file for a menu system called menu.js It contains the following function :
2
9105
by: David Elliott | last post by:
I can create this: ?xml version="1.0" standalone="yes" ?> <ConfigOpt> <record> <Field_1>Text # 1</Field_1> <Field_2>Text # 2</Field_2> </record> </ConfigOpt>
3
1296
by: Justnew | last post by:
I have a web application and a frameset. The fameset have left and righ frame. What I want to archieve is that when I click on a button on th left frame I want the link that is placed on the button to be displaye on the right frame. on the button i have this code: Response.Redirect("http://localhost/ValutaKalVer2/Valutakurs.aspx").whe I clicked on this button this page only show on the same frame. This i where I am having problem, can...
0
1419
by: SAL | last post by:
Hello, I'm working with, C#, Framework 1.1, and Visual Studio 2003. I built a Webform that uses Frameset which has 4 frames (Header, Footer, Main, and Contents) and I set the NavigationUrl property for each frame to the .aspx I want shown in each frame. I'm using the Contents frame as a menu that contains Hyperlinks to the page I want displayed. However, if I don't set the Target property for my Hyperlink control, then when it is...
1
1515
by: Rik | last post by:
Hi guys, First of all: no, frames are not evil in a backend application that should not be bookmarked or indexed, and is not reliant on browser history :-) The question: I made a tabbed invironment, where I can add tabs + corresponding iframes. On a button-click in one of the iframes, a new iframe + tab are made, and the form is posted to that frame by target. This works perfectly in Firefox & Opera, but MSIE stubbornly opens a new...
1
7554
Merlin1857
by: Merlin1857 | last post by:
How to search multiple fields using ASP A major issue for me when I first started writing in VB Script was constructing the ability to search a table using multiple field input from a form and having the sql statement dynamically built according to the input provided by the user. I have used the method described here hundreds of times it is quick and adaptive. I generally use a frames page for the search, in this way the search is maintained...
4
10122
Dököll
by: Dököll | last post by:
Hey Gang! I thought I had a good idea but then I realized JSF doesn't play that... I am trying to mimick what HTML can do in JSF when using target tags to related to inner HTML pages. In orther to get to a links going smoothly in JSF, on would do: <%@ page contentType="text/html" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
0
9699
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
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
10538
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
10063
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
9115
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...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4270
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
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2966
bsmnconsultancy
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.