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

sending form variables to a different frame

my page is split into 2 frames. my upper frame contains a data entry
form consisting of asp.net textbox server controls. my lower frame
displays rows of data.

when a user clicks the submit button in the upper frame I want the
textfield contents to be validated then I want to send the form
variables to the page in my lower frame forcing it to refresh. my
lower frame will then get these variables, use them to insert a new
row then will redisplay showing the newly inserted rows.

can anyone help me out with the best most efficient way to transfer my
form variables from my upper frame to my lower frame refreshing the
lower frame page

thanks

Nov 18 '05 #1
2 1420
Complications like this are why you should try to avoid frames.
Usually you can structure your program better by segmenting sections of your
page into user controls.
If you must keep the frames you can use some client side javascript to
handle the situation. Here are some examples:

parent.FRAMENAME.document.form1.myhiddentextbox.va lue='test';
parent.FRAMENAME.location.reload(true);

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Wee Bubba" <ma***********@yahoo-dot-com.no-spam.invalid> wrote in message
news:40********@127.0.0.1...
my page is split into 2 frames. my upper frame contains a data entry
form consisting of asp.net textbox server controls. my lower frame
displays rows of data.

when a user clicks the submit button in the upper frame I want the
textfield contents to be validated then I want to send the form
variables to the page in my lower frame forcing it to refresh. my
lower frame will then get these variables, use them to insert a new
row then will redisplay showing the newly inserted rows.

can anyone help me out with the best most efficient way to transfer my
form variables from my upper frame to my lower frame refreshing the
lower frame page

thanks

Nov 18 '05 #2
> Usually you can structure your program better by segmenting sections
of your page into user controls

i want my users to do data entry without having to wait whilst the
data is redisplayed each time. this is why i thought of using frames.
if i use user controls instead would there be a sacrifice in terms of
speed over the web.
i.e. i do not wanty my users to have to wait after submitting each
form as they will have lots of data entry to do

thanks for any more advice

Nov 18 '05 #3

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

Similar topics

4
by: Kathryn | last post by:
I hope you can help as this is driving me crazy! I have an asp which has 3 frames on it as follows: <FRAMESET rows="50%,*,10%"> <FRAME src="rundetailstop.asp" name="rundetailstop"...
0
by: John Wood | last post by:
I have an ASP script in which I want to control the screen as two frames If I use a FRAMESET this works fine but the frame geometry is fixed the script uses POST and hidden fields to transfer the...
4
by: Arvin Portlock | last post by:
I can't make this work! I have two frames, a table of contents frame on the left and a frame with lots of form elements in it on the right. <frameset rows="100%,*" cols="140,*"> <frame...
8
by: Radu Colceriu | last post by:
HI, I've an asp.net app like this: login.aspx (no frame) :- save in session the user and pass -> framedoc.html :- frameset 2 content 1. menu.aspx...
7
by: D. Patrick | last post by:
I need to duplicate the functionality of a java applet, and how it connects to a remote server. But, I don't have the protocol information or the java source code which was written years ago. ...
3
by: misra.manisha | last post by:
Hi, I am using frames (I know that its not a good practice, but I have to). Each of these frames have separate form variables, all of which are needed in the parent frame. Now, the problem is...
20
by: tshad | last post by:
Using VS 2003, I am trying to take a class that I created to create new variable types to handle nulls and track changes to standard variable types. This is for use with database variables. This...
0
bmallett
by: bmallett | last post by:
First off, i would like to thank everyone for any and all help with this. That being said, I am having a problem retrieving/posting my dynamic form data. I have a form that has multiple options...
0
by: joshuajnoble | last post by:
Hi all, I'm having a strange problem where I need to build out form variables in an HTTPWebRequest and send them to an aspx page for processing. The page isn't recognizing the form variables at...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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: 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:
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
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,...
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...

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.