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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesModule development with TelerikModule development with Telerik
Previous
 
Next
New Post
2/6/2014 1:44 PM
 
Good day.
I have a DNNGrid (RadGrid). 
I would like to Edit / Add records in a pop-up type window. Was thinking of using the DnnWindowManager. 

So my question. 
window.radopen("/DesktopModules/Module/AddModPage.aspx", "AddRecord"); 

The above code opens the rad window, but it shows the current page in the new window instead of AddModPage.aspx. 
I have added the aspx page to the module controls in the .dnn file. 
Can DNN handle aspx pages? Any ideas? 
This is why I was looking for samples on integrating Telerik... a little lost here. 

Thanks
Mike
 
New Post
2/7/2014 12:43 PM
 
typically to do a popup you simply configure the module to use popups (http://www.dnnsoftware.com/wiki/page/...) - you then ensure that the links are generated with core navigateurl methods and it will detect this and generate the popup details i.e. have a module control set to edit and then use editurl etc. see http://www.dnnsoftware.com/wiki/page/... for more details. Take a look at DesktopModules\Admin\Tabs\Tabs.ascx and DesktopModules\Admin\Tabs\Tabs.ascx.ascx for a sample templated implementation

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/15/2014 9:27 AM
 

Thank you Cathal!

Apologies for the delay. With your help I managed to find my way.... 
I would like to develop a module similar in interface to the www.interactivewebs.com bulk emailer, not the functionality.

It opens a aspx page with its own menu... I have been struggling with that concept.
Do you have any ideas where I can start?

Thanks
Mike

 
New Post
2/15/2014 6:09 PM
 
I#m not sure what you mean (DNN uses ascx's as module controls, not aspx - though you can use aspx as long as you use the correct inheritance i.e. http://stackoverflow.com/questions/13... ), is there a public demo somewhere?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/16/2014 6:10 AM
 

The interactive webs module you are talking about is basically opening a aspx page that is all but completely disconnected from the dnn core - it performs all its own actions,menus,etc - entirely separate from dnn.

If you want your module to consume dnn services then you need to run inside the dnn module context - the moment you open an aspx page of any sort - you potentially loose access to a lot of dnn core functionality.

One way around this is to create your aspx page as a child of DotNetNuke.Framework.PageBase  instead of from the normal .Page code base - if your page is based on the dnn PageBase then you may have access to the dnn context.  But rest of things in terms of layout and the like you need to control directly in your page.

As for how to get the actual popup to work - the easiest way is to leverage jQuery = pretty much any of the more popular lightbox extensions for jQuery include options to handle the popup of an iframe.  You would need to use an iframe style lightbox popup so as to be able to open an .aspx page inside your existing page.

Westa

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesModule development with TelerikModule development with Telerik


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out