473,385 Members | 1,898 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,385 software developers and data experts.

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 1476
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.frameName.document.location = "URL";

- or -

window.parent.frames[index].document.location = "URL";

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

"JAW" <yo*****@noserver.com> wrote in message
news:k7********************@fe2.columbus.rr.com...
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.frameName.document.location = "URL";

- or -

window.parent.frames[index].document.location = "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
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...
1
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...
1
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...
5
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...
1
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...
4
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...
3
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...
4
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
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...
13
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...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.