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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...how to popup a page in dnnModalhow to popup a page in dnnModal
Previous
 
Next
New Post
1/6/2012 7:31 AM
 

Hi

I have a created a page in my dnn6 portal, which has the site's default skin and 1 module of HTML. The page name is moreInfo.apsx. 
Now I want this page to popup in a dnnModal window, so I put this code in the skin:

<a onclick="return dnnModal.show('moreInfo.aspx?popUp=true',/*showReturn*/true,600,950)" href="moreInfo.aspx
" class="CommandButton">More Info</a>


But, For some reason, I get a short dnnModal page, and immediately I am being transfered to the page itself, as aregular page, not a modal.

What am I missing here?

Please answer this time...

Eden

 
New Post
1/7/2012 4:06 PM
 
the modal popup is designed to load controls (ascx) and not aspx - if you want to -something such as the radwindow control (which you can use via it's dnnwindow wrapper) is probably a better choice - you can code either against the API or invoke via javascript
http://www.telerik.com/community/forums/aspnet/window/want-to-pop-up-one-aspx-page-through-radwindow.aspx

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/8/2012 3:03 AM
 
ok...
Thanks for the answer.

I still would like to know:

1. How can I popup only a text/module in the standard dnnModal.show tag?
2. Can you show an example of how to do it with the radWindow too?

Thanx again
Eden
 
New Post
11/1/2013 7:02 AM
 
don't put both page calls into your a tag. this onClick opens the modal and the href opens the page again.
either have the onClick as you have and in href="#" or just use the href=" dnnModal.show(..."
 
New Post
11/1/2013 8:14 AM
 

This may not be what you're looking for, but I know that ManDeeps "LiveContent" makes it easy to call a DNN Module into a pop-up as well as several other content items. You can find more info about that on the store at this link:  http://store.dnnsoftware.com/home/pro...

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...how to popup a page in dnnModalhow to popup a page in dnnModal


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