Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameQUERY: does IFrame handle target names from form posts?QUERY: does IFrame handle target names from form posts?
Previous
 
Next
New Post
3/31/2006 4:26 AM
 
IFrame is cool. Is it possible to have multiple IFrames that can interact with each other, just like classic frames?

eg. two classic frames

<frame name="tree" scrolling="auto" src="blank.html"/>
<frame name="main" scrolling="auto" src="login.aspx"/>

the login.aspx page would submit a form:

<form action="/TreeOpen.aspx" method="post" target="tree">

that has a target="tree".

Is this possible with IFrame? If not, maybe it could easily be implemented? Take the IFrame's name as the target name?

 
New Post
3/31/2006 8:40 AM
 
Interesting... Nobody's ever asked for something like this before. Odd, considering it's the natural way for iframes to work. Actually, you can get this to work with the current setup. It may seem a little odd, tho. First, set the Title of the target IFrame. Then, simply use that value as the target for your links (and whatever else) and it'll work. I really like this idea and will try to make it more apparent for the next release. I'm glad you brought it up, because I think I may have inadvertantly disabled that with my last updates.

Thanks for the good idea! Keep 'em comin'!

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post
3/31/2006 11:32 AM
 
I tried this and it didn't work... in DNN2.1.2. Was it implemented in DNN3?

So just to recap, a HTML or Web Form post to IFrame and that IFrame module will refresh with new page?


 
New Post
3/31/2006 12:07 PM
 
Ah, that's the problem. I'm using DNN3/4. I don't have DNN2 installed anywhere, so I can't test that. My assumption would be that it works, tho, but I can't guarrantee that.

View the source of the page with the IFrame and look for the <iframe> tag. See what the name property has in it. This is the target you will use for links and what-not.

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post
4/1/2006 6:26 PM
 
I am currently developing modules for DNN 2.1.2. I want one module to be a like a Windows Explorer-type interface, listing folders & files, while other . When user clicks on a file, then it posts the filename to a specific module (view). Hopefully I could use IFrame as the container/view of my other pages/modules? So I have a main view (using IFrame), and it dynamically loads different modules by user file-loading clicks.

1. Can IFrame show a DNN module? As a self-contained page in an IFrame? And support drag'n'drop from-&-to the IFrame?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameQUERY: does IFrame handle target names from form posts?QUERY: does IFrame handle target names from form posts?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out