473,748 Members | 5,232 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Framesets - Event in frame 'A' triggering update of frame 'B' -How ?

JAW
I have posted this in a couple of the other newsgropus but have not recieved any responses. Thought I would try it here.
I have a frameset that contains frames (top and bottom). In the bottopm frame I have a datagrid, with a command button
on the first column of the grid. When I click on the button for the appropiate row of data, I retreive information from
the row of the datagrid and place this information into session variables for the other frame to retrieve. No problem so
far. What I want to do is then trigger a update (repost ?) of the data in frame 'B', but I can not figure out how I tell
the server to update this frame. I do not want to update frame 'A'. So far this is all written in VB.NET, with the asp
files (the two frames) having no code/script in them, just basic HTML information.

Thanks in advance for any suggestions.

Jerry
Nov 18 '05 #1
2 1491
You tell the server to update the frame in the same way you tell the server
to update the current page: you make a Request. In this case, to update
another frame in the frameset, you would probably use javascript:

window.parent.f rameName.docume nt.location = "URL";

- or -

window.parent.f rames[index].document.locat ion = "URL";

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"JAW" <yo*****@noserv er.com> wrote in message
news:k7******** ************@fe 2.columbus.rr.c om...
I have posted this in a couple of the other newsgropus but have not recieved any responses. Thought I would try it here.

I have a frameset that contains frames (top and bottom). In the bottopm frame I have a datagrid, with a command button on the first column of the grid. When I click on the button for the appropiate row of data, I retreive information from the row of the datagrid and place this information into session variables for the other frame to retrieve. No problem so far. What I want to do is then trigger a update (repost ?) of the data in frame 'B', but I can not figure out how I tell the server to update this frame. I do not want to update frame 'A'. So far this is all written in VB.NET, with the asp files (the two frames) having no code/script in them, just basic HTML information.
Thanks in advance for any suggestions.

Jerry

Nov 18 '05 #2
JAW


Kevin Spencer wrote:
You tell the server to update the frame in the same way you tell the server
to update the current page: you make a Request. In this case, to update
another frame in the frameset, you would probably use javascript:

window.parent.f rameName.docume nt.location = "URL";

- or -

window.parent.f rames[index].document.locat ion = "URL";


Thanks Kevin. Now My question is how to simulate this in VB.NET ?
Nov 18 '05 #3

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

Similar topics

0
1857
by: gustavo_randich | last post by:
Hello, I'm looking for a DB2 workaround on a topic already solved in Oracle: the problem of mutating tables (which states that a trigger action cannot read the triggering table's data). Yes, I know the trivial answer: "just pass the triggering table's data as parameters to the stored procedures called in the triggers, etc."; but it's a long story to tell why I can't. Below is the mentioned workaround's template I'm using for an UPDATE
1
2965
by: Jason | last post by:
I have a main form with a sub form. All the fields in the subform are mandatory. I had some code on the main form Before Update Event to check if all the fields in the sub form have data. If not, I want to cancel update event and allow user to enter the sub form to fill in all mandatory fields. I tried many code and don't have any solution to work around. It never allows me to go into the sub form again after triggering the before update...
1
3907
by: Wavemaker | last post by:
I was wondering if there is a way to change the value of a control without triggering an event. The ComboBox control, for example, will trigger the SelectedIndexChanged event when its SelectedIndex property is changed. I would like to change the SelectedIndex property without triggering an event. The reason I ask is that in the application I'm writing, I have many controls that manipulate the program data. The data is encapsulated into...
5
2276
by: terry | last post by:
Hi, Question: When using Framesets and Server.Transfer in the Application_Error event handler is there a mechanism to get the error page to display in the total view of the browser not just in the offending frame? Overview: I have an application in which I am using framesets. When an Unhandled exception occurs I try to handle it
1
4605
by: David A. Beck | last post by:
I have a frameset with an index frame and a main frame. The aspx pages in the main frame are loaded based on the hyperlinks clicked in the index frame. In any aspx page in the main frame I want to save the information in the various controls before the new aspx page is loaded. I thought I could use the Page event Unload, but it does not seem to be triggering when the aspx page is replaced in the frame by another aspx page.
4
1769
by: Pete | last post by:
Hello- I am have a real trying time finding information on this subject. I would like to create a web page that utilizes framesets (top & bottom) and a navigation control I created from a datalist that gets data from a sql datasource (sort of like a tabstrip). I'm getting pretty comforatable on the asp.net side of things, but I'm lacking in the javascript department. I understand that I need to add javascript to make the frames work...
3
1745
by: Robin | last post by:
Hi, I have a question: If I have a frameset, frame1 and frame2. On frame2 I have a datagrid, on which I can add/update/delete rows. If I submit that page, I catch these changes in events and update my objects with it. Now do I want a button in frame1, which does save. The problem is that I first want to submit the page in frame2 to update my objects, before
4
1782
by: lashnjo | last post by:
hello, is it possible to click on one frameset, (ex. an image) and then for it to load a new frame in two different framesets and a new one in itself
1
9028
by: Mark Rae | last post by:
Hi, Firstly, I have not the slightest intention of using framesets - the reason for this post is merely to ask for assistance in furthering my understanding of XHTML. I was under the impression that XHTML fully supports framesets, hence the Frameset document type. Therefore, can anyone please tell me why the following markup doesn't validate correctly in VS.NET 2005?
13
8639
by: mirandacascade | last post by:
I want to set things up such that a section of code will have been executed by the time one clicks on the drop down arrow on a combo box control. Currently, that section of code resides in the OnGetFocus event of the combo box control, and this appears to work...I'm guessing because one cannot click on the drop down arrow of a combo box control without first having the combo box control receive focus. But I noticed that the code gets...
0
8991
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
8831
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,...
1
9325
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8244
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
6076
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
4607
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4876
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3315
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
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.