Learn More






Permalink : IFrame Scroll to Top

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 ForumsIFrameIFrameIFrame Scroll to TopIFrame Scroll to Top
New Post
11/1/2006 7:38 PM
I pay for an MLS service that I want to appear as if it comes from my site, so I load the MLS service in an IFrame.

All of the MLS pages are very long. The problem is that if I scroll down a bit on the MLS pages and click a link, when the link that was clicked loads instead of loading the page back up at the top of the IFRAME I'm loading the page and having it appear on my screen at the exact same point on the iframe scroll bar as where I clicked.

I need the clicked links to load the page back up at the top of the IFrame, not at the bottom of the page/scrollbar or wherever on the page it was clicked to being with.....

Any ideas? I've seen this issue reported on many other forums. So I know I'm not the only one who has experienced this problem, but no one ever seems to have a solution for it. Any help would be greatly appreciated.
New Post
11/20/2006 12:17 PM
I have the same need.... anyone have any ideas.   Will the dnnspired AutoSizeFrame allow a scroll to top ?

New Post
11/20/2006 1:25 PM
you need to add an appropriate javascript function to the link n order to get this working - the IFrame does not get notified about content changes.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
New Post
11/20/2006 3:21 PM


do u know the name of the function


New Post
11/22/2006 4:28 PM
A better solution may be at hand.....   I found an item called open-smartmodule which converts a user control to a dnn module.  So I installed open-smartmodule,  converted my datagrid page to a user control, dropped an open-smartmodule  on a page, followed the wizard and bang - The grid works in a dnn page as expected.  This little app has a grid with links to detail pages.  I will work out the links later tonight and let you know how it came out.... I am confident that everything will work fine.  I found the control on snowcovred but i lives at

More Later....
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameIFrame Scroll to TopIFrame Scroll to Top

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?