Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 5th, 2007, 03:38 AM
Authorized User
 
Join Date: Jul 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to avoid a frame from getting submitted

Hi,
   I have an .aspx page,in which I have a frameset
which contains two frames.
First frame has a .html page.
Second frame is not loaded with any page.
In the html page there are radio button, textbox and
an image button.
we have to select the radio button and enter value in the textbox
and click the image button. on onclick attribute of the image button I have written a javascript that loads the Second frame
based on the radiobutton selected and the value typed.
I could able to load the desired page in the second page.
My problem is that when the image button is clicked the frames are getting submitted and
the values in the textbox and selected radiobutton options are lost.
The frame should not get submitted. I have to retain the values.
In the first frame the selected values should get displayed.
And in the second frame the concerned page should get displayed.
Kindly give me your valuable suggestions.


 
Old November 5th, 2007, 08:24 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Hi there.. I don't know about your particular problem, but this sounds easy to do with ajax.. did you considered it??

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I clear a form after it has been submitted? u2clone ASP.NET 2.0 Basics 7 February 12th, 2008 04:00 PM
Avoid .net frame work installation with setup inst kalyanRavula .NET Framework 2.0 4 May 4th, 2007 06:45 AM
How to set one frame src from other frame akumarp2p ASP.NET 1.x and 2.0 Application Design 2 March 13th, 2007 04:13 AM
parsing form data from frame to other frame audio-catalyst Classic ASP Basics 5 January 3rd, 2006 02:57 PM
Call right frame Page_Load event from left frame. ochanarachel Classic ASP Basics 0 January 28th, 2005 05:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.