473,790 Members | 3,265 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1434
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.FRAMENAM E.document.form 1.myhiddentextb ox.value='test' ;
parent.FRAMENAM E.location.relo ad(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
9257
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" scrolling="no"> <FRAME src="rundetails.asp" name="rundetails" scrolling="auto"> <FRAME src="rundetailsbottom.asp" name="rundetailsbottom" scrolling="no"> </FRAMESET>
0
1257
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 data from step to step, what I would like is to be able to change the sizes of the frames or even go from two frames to one and back to two as I go through the dialogue. So I thought to use IFRAMES instead of a frameset, but now I have two ASP...
4
11066
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 name="toc" src="toc.html"> <frame name="eadInput" src="form.html"> </frameset> I want to click on a table of contents link on the right,
8
2291
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 2.docviewver.aspx
7
2687
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. So, I used a packet sniffer and saw the protocol (TCP), the port, IP address, etc. All is good. I tried 2 different versions of .NET code to duplicate the requests to the remote server. Again, I used the packet sniffer and my packets seemed...
3
1411
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 that only one frame in the parent frame has a submit button. Is there any way in which I can submit the forms of other frames on click of the submit of this particular frame? I mean, is there any way in which I can access the forms in JSPs of...
20
4044
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 tells me if a variable has changed, give me the original and current value, and whether the current value and original value is/was null or not. This one works fine but is recreating the same methods over and over for each variable type. ...
0
3396
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 within options. I have everything being dynamically named from the previously dynamically named element. (I hope this makes sense.) I am not able to retrieve any of the dynamically created values. I can view them on the source page but can't pull them...
0
1230
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 all, and the only thing I can attribute it to is that when the call works, the aspx page doesn't send a HTTP/1.1, Status Code = 100 response, i.e. the calls go like this: 29 1109.853516 192.168.1.108 206.71.164.82 HTTP HTTP: Request, POST /...
0
9512
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
10419
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
10201
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10147
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
9987
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...
1
7531
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5552
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4100
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
3
2910
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.