Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking 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 Basics 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 May 11th, 2007, 05:23 PM
Authorized User
Join Date: Dec 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default RadioListButton inside iFrame need help

Hello all!

 I will try to make some sense of this as best as possible. I have a page that contains a form and a few asp controls. I also have an iFrame that points to a simple aspx page with a RadioListButton, which loads images from the server dynamically. what I would like to do is have the RadioListButton postback to the main page with the selectedvalue, (so I can set it to a hidden value field) if an image is selected. Is that possible?

 I am truely stumped at this

Old May 11th, 2007, 06:42 PM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

In .NET you can't. You need to use JavaScript.

Also you may get this undesired effect by doing this: since your Iframe is hosted inside of the page you want to refresh, when you refresh the outer page, the page in your IFRAME will not maintain viewstate because the parent page is reloading and making a new call to your frame.aspx page.

Something along the lines of this javascript would work:


This *should* work but I have only ever had to do this kind of manipulatation once on a :shudders: frame based design and, as such, i was using: parent.frames[x].location.href='value';


================================================== =========
Read this if you want to know how to get a correct reply for your question:
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
================================================== =========
Why can't Programmers, program??
================================================== =========

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display an html file inside Iframe --need u vishnu108mishra BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 November 16th, 2007 04:52 AM
frame inside Iframe Dj Kat HTML Code Clinic 4 August 29th, 2007 03:53 AM
values from one iframe to another iframe URGENT raaj Beginning PHP 2 February 27th, 2007 12:19 PM
close main window inside iframe crmpicco Javascript How-To 1 December 1st, 2005 12:54 PM
iframe rockon HTML Code Clinic 1 March 2nd, 2005 06:00 AM

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